Problems of the code generated by lin stack configuration tool(NCFTool)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems of the code generated by lin stack configuration tool(NCFTool)

283 Views
jeffcharles
Contributor III

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.pic2.JPG

But the following macro only access the byte 1 about 'S2M_Sig3', why?

pic3.jpg

Please give me support. Thank you!

Jeff

0 Kudos
2 Replies

266 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Jeff,

 

Could you, please, specify which MCU you use?

Thank you.

Best regards,

Diana

0 Kudos

252 Views
jeffcharles
Contributor III

Hi Diana,

I am using the MC9S12ZVL32

 

Best Regards,

Jeff

0 Kudos