??? 02/06/07 19:20 Read: times |
#132157 - I'm not sure that's the issue Responding to: ???'s previous message |
I think my ISR is fast enough. I thought about the latency issue, but I did two things to disprove this in my mind. First, I lowered the baud rate to 19kbps and it still had the same issues though with less frequency than the higher baud rate. Second, I did some algebra. 10 bit uart @ 115.2kbps = ~87 uS per uart transmission. My micro clock speed is 24 MHz. In 87 uS that means I get about 2000 system clocks. If I over estimate and make the math easy and say that an average instruction takes 5 clocks, that means I can have about 400 instructions take place during a uart transmission. As it is, the longest possible path in my ISR is on the order of 20 instructions. I should, therefore, be well under the latency requirement. When I get home I'll look more closely with the scope at the output of realterm, but I'm pretty sure that the issue is on the terminal side. I'll be able to further prove this when I get a piece of hardware that streams 115.2kbps in a few weeks. I'll keep the forum updated....
D |
Topic | Author | Date |
better version of hyperterminal? | 01/01/70 00:00 | |
Teraterm | 01/01/70 00:00 | |
depends | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
the simplest case | 01/01/70 00:00 | |
true... | 01/01/70 00:00 | |
PuTTY is a (new!) option too | 01/01/70 00:00 | |
hex/decimal/ASCII? | 01/01/70 00:00 | |
Industrologic Term232 has some features... | 01/01/70 00:00 | |
Nice, thanks! | 01/01/70 00:00 | |
Can't close port? | 01/01/70 00:00 | |
hackaround | 01/01/70 00:00 | |
report | 01/01/70 00:00 | |
Nice tip | 01/01/70 00:00 | |
thanks! | 01/01/70 00:00 | |
thank you | 01/01/70 00:00 | |
RealTerm | 01/01/70 00:00 | |
realterm and 2 stop bits | 01/01/70 00:00 | |
2 stop bits... | 01/01/70 00:00 | |
UART ISR at high baud rates | 01/01/70 00:00 | |
I'm not sure that's the issue | 01/01/70 00:00 | |
what derivative? | 01/01/70 00:00 | |
SiLabs c8051f330 | 01/01/70 00:00 | |
yeah that fits | 01/01/70 00:00 | |
what UART | 01/01/70 00:00 | |
how can I find out? | 01/01/70 00:00 | |
Have a look! | 01/01/70 00:00 | |
ok...... | 01/01/70 00:00 | |
nonono | 01/01/70 00:00 | |
who cares | 01/01/70 00:00 | |
I know I am not normal | 01/01/70 00:00 | |
All SILabs processors are single clockers | 01/01/70 00:00 | |
there are differences.... | 01/01/70 00:00 | |
that's why | 01/01/70 00:00 | |
sure I know why | 01/01/70 00:00 | |
there are differences.... | 01/01/70 00:00 |