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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

827 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

810 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Jeff,

 

Could you, please, specify which MCU you use?

Thank you.

Best regards,

Diana

0 Kudos

796 Views
jeffcharles
Contributor III

Hi Diana,

I am using the MC9S12ZVL32

 

Best Regards,

Jeff

0 Kudos