2022-07-26 10:58 PM
Hi, can i know how to solved this error?
2022-08-02 01:31 AM
Hello,
this SD1 is the first instance of serial driver corresponding to the first HW instance Linflex0 configured in serial:
if you chose another HW instance in your application, your code must use another Driver instance too.
Look at the begining of serial_lld.c:
#if (SPC5_LINFLEX0_SETTING == SPC5_LINFLEX_MODE_SERIAL) || defined(__DOXYGEN__)
SerialDriver SD1;
#endif
#if (SPC5_LINFLEX1_SETTING == SPC5_LINFLEX_MODE_SERIAL) || defined(__DOXYGEN__)
SerialDriver SD2;
#endif
Best regards