Timeline for How to setup SAM3x8e IRQ handler for USART?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 27, 2015 at 11:57 | comment | added | 4xy | No, I'm not asking about arduino libs. I would like to realize what those comonents (USARTx & UART) are. Is UART is the subset of USART0? What would be the right techinque to handle write port case in the context of IRQ. In SAM3x8e there are TXRDY, ENDTX, TXEMPTY, TXBUFE. If I enable either of them I get handler always called (in idle when no writes to port). Is this mean I should enable TXRDY e.g. only after first byte sent to THR and should it be disabled when the last byte is sent? | |
May 26, 2015 at 19:45 | comment | added | alex.forencich | If you are asking about the arduino libraries specifically, you should ask in the arduino stack exchange. I am not an expert on the internals of the arduino libraries. | |
May 26, 2015 at 19:16 | comment | added | 4xy | The names (like USART0) I talk about are defined in sam3xa.h header (from Atmel) via: #define USART0 ((reg_type*)(addr)). I interested in what exactly component corresponds to Arduino Due tx/rx pins? And why they (Arduino authors) use UART as serial0 and not USART0? | |
May 26, 2015 at 18:20 | history | answered | alex.forencich | CC BY-SA 3.0 |