MSPM0G3519: Collision Detection on LIN Bus

Part Number: MSPM0G3519


Hello.  I am working on writing software to interface with a LIN bus via the UART Extend peripheral found on the MSPM0G3519 processor.  By following the LIN reception section of 23.2.3.7 Local Interconnect Network (LIN) Support in the Technical Reference Manual, I was able to detect break fields and sync bytes as well as the Protected Identifier (PID) of the frame.  For frames that require data to be transmitted after the PID, I am able to transmit the necessary data.  I went to the reference manual to see if the UART Extend peripheral includes any collision detection ensuring data that is sent on the TX line of the LIN bus is the same as the data received on the RX line of the LIN bus.  I did not see any configuration in the M0's UART peripheral to do this.  On UART peripherals for other processors (e.g. SiLabs EFM32PG22), there is a specific interrupt dedicated to detect collision (CCF); I was looking for something similar for the M0.  How would I go about detecting this collision?  Thank you!

  • Hi Aaron,
    The EFM32PG22 it's an M33 core device, which means it most likely has a wider support for this kinds of operation. However, the MSPM0 family doesn't offer this collision detection. I don't think there is a good workaround for this specific functionality. 

    Best Regards,

    Diego Abad