This application note introduces a CAN to UART bridge. The document describes the structure and behavior of a CAN to UART bridge. This document details software implementation, hardware connection, and application usage. Users can configure the bridge by modifying the predefine. Relevant code is also provided.
All trademarks are the property of their respective owners.
Based on different applications, there are many communication methods between devices. MCUs today usually support more than one communication method. For example, MSPM0 can support UART, SPI, CAN, and so on for a specific device. When devices transfer data over different communication interfaces, a bridge is constructed.
For CAN and UART, a CAN-UART bridge acts as a translator between the two interfaces. CAN-UART bridge allows a device to send and receive information on one interface and receive and send the information on the other interface.
This application note describes the software and hardware designs used in creating and using the CAN-UART bridge. The MSPM0G3507 microcontroller (MCU) can be used as a solution by providing CAN and UART communication interfaces. The accompanying demo uses the MSPM0G3507 with 2Mbps CANFD and 9600 baud rate UART to demonstrate transceiving data between channels.