Good morning
I'm making a slave device and I'm using LIN stack.
How can I check that a slave response has been phisically sent on LIN bus?
For instance, when I receive a reset diagnostic frame (11 01), I parse it with ld_receive_message() and I prepare the response with ld_send_message(); then I have to really reset the microprocessor, but only after I'm sure that the slave response was really sent on bus. How can I check that the response was sent on bus? ld_send_message() only prepares the response, but this does not mean that it was phisically sent on bus.
As regards normal frames (not diagnostic), what is the way to ensure the same thing? (I mean, be sure that the response to a frame was really sent on bus).
Thank you in advance and kind regards,
Francesco Solito
Best regards,
Dan
Thank you very much. I'll try both suggestiones.
Kind regards,
Francesco