UART

JohnInTX

Joined Jun 26, 2012
4,787
Thanks for the reply JohnInTX. For such application, is there the need to enable TXIE and RCIE ?
Not if you are polling the comms as in your first post. Enabling the interrupts without interrupt handlers is a bad thing.

Eventually, you should use interrupts and FIFOs.
 

MaxHeadRoom

Joined Jul 18, 2013
28,702
I think much depends on what kind of data, expected size, frequency etc and responses needed etc.
But as as rule I use input interrupt at least as this avoids constant polling.
Max.
 
Top