S32K118EVB flexio i2c master

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

S32K118EVB flexio i2c master

771 Views
jimmylee0407
Contributor I

Is anyone can help to check attached two projects?

They are almost the same, but the i2c output are different.

flexio_i2c_s32k118.7z works correctly. It will output "0x42, 0x51, 0x52, 0x53" every 3 seconds.

I export it's components and import to C120_TXBoard_20190805 project, and copy all .c .h files as well.

However, the output is "0x42, 0x43"....

flexio_i2c_s32k118 use linked resources for SDK or Project setting, I'm not sure if this causes the issue. I would like to use linked resources for C120_TXBoard_20190805 project, but I don't know how to do the change.

0 Kudos
1 Reply

656 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Jimmy,

Sorry for the late response. I imported your project C120_TXBoard to my workspace and when I compiled it I received the following warnings. 

pastedImage_1.png

These warnings are because you didn't add the following includes in your main.c file.

pastedImage_2.png

Could you please add this into your project to see if this solves the behavior you are facing?


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos