Skip to main content

Basic Flow

This page shows the initial processing flow required first for both CAN/CAN FD and LIN.

Procedure

  1. MPXOpen (device recognition)
  2. MPXCANSetParam or MPXLINSetParam (communication parameter setup)
  3. MPXSetGetLogMode (log acquisition mode setup)
  4. MPXSetLogCallBack (callback setup, when needed)
  5. MPXMonitorStart (start monitoring)
  6. MPXGetLog (acquire logs, when needed)
  7. MPXMonitorStop (stop monitoring)
  8. MPXClose (release device recognition)

Notes

  • MPXCANSetParam / MPXLINSetParam are protocol-specific APIs, but they are mandatory in the initialization flow.
  • Whether MPXSetLogCallBack and MPXGetLog are used depends on the log acquisition mode setting.

References