lpcware

Ccan fails to tranmit buffer correctly

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by rmilne on Wed Jul 10 10:17:31 MST 2013

<span style="text-decoration: line-through;">I'm unable to consistantly send multiple messages asynchronously via ISR without some going missing.  I am using the eob bit to keep things in order (the data spans multiple messages} but intermediate or final messages often go missing (I have a bus analyzer).  The UM10503 (rev1.4) document provides no usage examples for my case and is worse than useless because of incorrect info (compare description of RXIE and TXIE bits on page 1085).  I've tried using both the TXIE and TXOK bits inside my ISR to initiate the transmission of buffered messages but I've seen no difference in behavior.  Has anyone seen an example of ccan async buffered message transmission?</span>


 


I got it working.

Outcomes