Problems of the code generated by lin stack configuration tool(NCFTool)
‎09-18-2020
09:38 PM
1,283 Views

jeffcharles
Contributor III
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using the NCF tool to generate three configuration files. I found something wrong with the interface function in lin_cfg.h:
The signal size of 'S2M_Sig3' is 3 and the offset is 6, so bit 6 and bit 7 of byte 1 and bit 0 of byte 2 in the signal array 'lin_pFrameBuf' is occupied by it.
But the following macro only access the byte 1 about 'S2M_Sig3', why?
Please give me support. Thank you!
Jeff
2 Replies
‎09-21-2020
11:39 PM
1,266 Views

NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeff,
Could you, please, specify which MCU you use?
Thank you.
Best regards,
Diana
‎09-26-2020
06:01 PM
1,252 Views

jeffcharles
Contributor III
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Diana,
I am using the MC9S12ZVL32
Best Regards,
Jeff
