Hello, I recommend review the SDK example for the LPC54628, there is an example about the interrupt.
I reviewed the documentation and on chapter 25.7.9 Break generation and detection mention the next.
Both the beginning and end of a received break are noted by the DELTARXBRK status flag, which can be used as an interrupt.
And on chapter 25.7.10 LIN bus metioned the next.
When a break is requested by setting the TXBRKEN bit in the CTL register, then sending a dummy character, a 13 bit time break is sent.
Best regards,
Pavel
What I mean is that I currently use usart0 to perform the lin bus function, but I encounter difficulties when sending LIN packets. LIN packets start with a break signal (synchronization interval (Break Field)). How can this signal be successfully sent out? And how can USART0 interrupt be configured?
Hello, I recommend review the SDK example for the LPC54628, there is an example about the interrupt.
I reviewed the documentation and on chapter 25.7.9 Break generation and detection mention the next.
Both the beginning and end of a received break are noted by the DELTARXBRK status flag, which can be used as an interrupt.
And on chapter 25.7.10 LIN bus metioned the next.
When a break is requested by setting the TXBRKEN bit in the CTL register, then sending a dummy character, a 13 bit time break is sent.
Best regards,
Pavel