Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] Re: Capture pin inconsistencies

2006-02-14 by Joel Winarske

>  I am assuming that this is also using a serial polling routine and
> with numbers and space that you are sending out at 9600 baud (1ms per
> character) you take about 11ms per string. Change it to an interrupt
> type so you do not have to wait for the Txd. An alternative is to
> boost the baud rate to like 57.6K or even 115.2K.
> 
> You should also change the capture to an interrupt to collect the time
> and save it into a simple stack in case you get locked up waiting for
> communications if you need to keep the baud rate at 9600.

Indeed.  I didn't look at that while loop, that's not so good.

Be sure to check the errata sheet when implementing interrupt capture code.

Joel

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.