2011-12-13 04:23 AM
Hello,
Pardon by my english. I need two USART work at the same time. One USART is all the time sending bytes and the other USART is receiving bytes.I work with USART configures in Half Duplex mode. I work in baudrate of 7200bps. I have changed the priority of the NVIC, first both USART with the same priority and next one with higest priority. In the attach file, I put the code with which I configure both USART. My problem is that I lose bytes. Is my configuration wrong?2011-12-13 08:18 AM
2011-12-13 08:45 AM
Not sure of the merits of half-duplex in unidirection flow.
Your problems, at a guess, are a failure to adequately buffer the channels, and blocking on USART status, rather than some perceived priority issue.