Basic Flow
This page shows the initial processing flow required first for both CAN/CAN FD and LIN.
Procedure
MPXOpen(device recognition)MPXCANSetParamorMPXLINSetParam(communication parameter setup)MPXSetGetLogMode(log acquisition mode setup)MPXSetLogCallBack(callback setup, when needed)MPXMonitorStart(start monitoring)MPXGetLog(acquire logs, when needed)MPXMonitorStop(stop monitoring)MPXClose(release device recognition)
Notes
MPXCANSetParam/MPXLINSetParamare protocol-specific APIs, but they are mandatory in the initialization flow.- Whether
MPXSetLogCallBackandMPXGetLogare used depends on the log acquisition mode setting.
References
- Multi-device Control Start Guide: Multi-device Control Start Guide
- Common API Details: API Details (Common)
- CAN/CAN FD API Details: API Details (CAN)
- LIN API Details: API Details (LIN)
- Status Transition: MicroPeckerX Status Transition Diagram
- Troubleshooting: Common Issues and Troubleshooting