Download Print this page

Infineon ASCLIN LIN Master 1 Manual page 6

Lin master communication via asclin module

Advertisement

Implementation
Transmission of header and response by the master:
Sending the string "Hello World!" is implemented inside the function
send_ASCLIN_message() which is called once after initialization of the
ASCLIN module:
1.
The ID byte is set to send a response after the header.
The frame "Hello World!" is defined.
2.
3.
The correct header is sent with the function IfxAsclin_Lin_sendHeader().
4.
The transmission of header is checked by using the parameter
txHeaderEnd of the structure acknowledgmentFlags.
5.
The frame is sent with the function IfxAsclin_Lin_sendResponse().
The functions above are provided by the iLLD header IfxAsclin_Lin.h.
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.
6

Advertisement

loading