Hello,
I'm sorry, but in your latest reply, I still don't understand clearly how to correctly set the switch-control-type:
Your latest reply is that: If you are developing firmware for SJA1110's internal M7, SWITCH_CONTROL_INTERNAL shall be set. If you are developing firmware for SJA1110's internal M7 to access external switchcore (cascaded SJA1110), SWITH_CONTROL_SPI shall be used.
How to correctly set the switch-control-type in SJA1110 SDK in the following scenarios:
S32G274A(role:master)---(SPI link)---SJA1110(role:slave; mode:SPI_AP)
|
(SWITCH_CONTROL_INTERNAL or SWITH_CONTROL_SPI )
Note: S32G274A is external microcontroller, SJA1110 is set SPI_HAP_SS0_N