SLAAEK9 February 2025 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0C1105 , MSPM0C1106 , MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1518 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3518 , MSPM0G3518-Q1 , MSPM0G3519 , MSPM0G3519-Q1 , MSPM0H3216 , MSPM0L1105 , MSPM0L1106 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-Q1
In this case, MCU serves as commander, and PC with CAN/LIN analysis serves as responder. Baud rate is 19200.
When selecting the Button1 to make MCU send 0x39(PID), the results are shown in Figure 3-2. As shown from Figure 3-2, the host computer can successfully receive the data sent by the MCU, which can also be confirmed from the waveform diagram (Figure 3-3).
Figure 3-2 MCU as Commander Transmitting
Data Results
Figure 3-3 MCU as Commander Transmitting
Data WaveformWhen press the button2 to make MCU send 0x08(PID), the responder can send data to MCU. As shown from Figure 3-4, the responder transmit 0x11,0x22,0x33 and 0x44 and MCU succeeds to receive this data. But in this case, the check mode in PC is normal, so the checksum can not match the MCU and then the callback function can not work. However, the receive data can still be stored in the array.
Figure 3-4 MCU as Commander Receiving
Data Results
Figure 3-5 MCU as Commander Receiving
Data Waveform
Figure 3-6 gCommanderRXBuffer
Results