LPI2C EXAMPLE non SDK

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

LPI2C EXAMPLE non SDK

Jump to solution
2,184 Views
adrianwenger
Contributor III

Hi,

can someone provide a LPI2C example without SDK?

Thanks

Regards,

Adrian

Labels (1)
0 Kudos
Reply
1 Solution
1,815 Views
Daniel_Popa
NXP Employee
NXP Employee

I see - you need a bare metal example. Unfortunately i do not have such and example.

Sorry!

Best regards,

Daniel 

View solution in original post

0 Kudos
Reply
5 Replies
1,815 Views
Daniel_Popa
NXP Employee
NXP Employee

Adrian, 

Does it matter the S32K MCU HW revision? I might be able to provide you such a project (one for master and one for slave) generated with Model Based Design Toolbox - but it's also based on SDKAPI. The project is self contain - no need to install the SDK and the source file can be imported in S32DS.

Will this help ?

Best regards,
Daniel

0 Kudos
Reply
1,815 Views
adrianwenger
Contributor III

Hello Daniel,

thanks for your supply.

I want to setup the LPI2C module with 1MBit/s baudrate, then just send a command to a slave

and wait till it sends data back...

No SDK example

something like this example about the LPSPI module:

CUsersWengerADropboxControllerWorkspacewsS32K_LPSPIsrcLPSPI.png

Regards,

Adrian

0 Kudos
Reply
1,816 Views
Daniel_Popa
NXP Employee
NXP Employee

I see - you need a bare metal example. Unfortunately i do not have such and example.

Sorry!

Best regards,

Daniel 

0 Kudos
Reply
1,815 Views
adrianwenger
Contributor III

yes that's what I Need :smileyhappy:

Hopefully NXP can provide such an example

0 Kudos
Reply
1,815 Views
adrianwenger
Contributor III

I need an example where a master sends request to a slave.

And the slave responds with data.

0 Kudos
Reply