RT1024 is a slave node on a 9-bit RS485 network. As usual in these networks, 9-bit flags an address byte, messages are variable length, and master sends messages without gaps (no idle during transmission). When the slave receives a message, its necessary to reply promptly. For acceptable performance, ideally the driver:
Ideally, only one interrupt (on completion of message reception); everything else handled via DMA.
Thanks in advance!
Best Regards, Dave
PS: @Omar_Anguiano ?
Hello,
I hope you are well
1. Yes, it is possible to implement this, on the AN you referenced there is a similar example that can be adapted to your needs:
2. Unfortunately, there is no specific example of a 9-bit Uart with DMA however you can make these changes to the DMA example:
Solved: mx rt 1020 send 9bit over DMA - NXP Community
Best regards,
Omar
@Omar_Anguiano- I have studied application note AN12679, but there are very serious problems with the code provided.
A few of the important ones:
It would be great if NXP could clean up this application note's software!
This kind of stuff wastes a great deal of customer time.
Thanks!
Best Regards, Dave