2023-01-07 03:02 AM
SPC58EC80E1 is used and only lin slave mode is used.
So, in the example code (SPC58ECxx_RLA LIN Test Application for Discovery), delete the lin_lld_start (&LIN_MASTER....) corresponding to the master and activate only lin_lld_start (&LIN_SLAVE...).
and then,
If i send data (id+8bytes: 0x3c, 0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18) from the external device (PEAK-LIN) to the board, slave_rx_callback is called, but idMessage (0x3C) is received, but buffer is received only 1byte (0x11) and after 2bytes is received 0x00, 0x00 .....)
I wonder if spc5xx_lin_rxi_interrupt should be modified or what settings should be set when initializing.
LIN Configuration Setting of SPC58ECxx Low Level Drivers Component RLA is set to Synchronous
and LIN_SLAVE set LD1
And.
Slave_tx_callback seems to be operated by the master function of the sample code.
I want to send the data to the master of the external device after slave_rx_callback.
I want to know how to call save_tx_callback.
thanks
2023-01-09 12:59 AM
Hello,
thank you for your findings, I will forward to R&D team.
Best regards.
2023-02-06 08:08 PM
problem solved