parallel use of I2C and I2S

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

parallel use of I2C and I2S

1,081 Views
MohitManvar
Contributor III

Hello Experts,

 I'm using S32K142 controller for POC purpose of our upcoming project.

I want to development some quite general requirement for our design. which is following :

step1: GPIO high --> DONE

step2: enable clocks of I2S.  --> pending

step3: send data via I2C. --> pending (I2S clocks needs on parallely)

step4: send actual data on i2S.  -> pending

when I checked with SDK, I got to know that I2S clocks are only visible during sending data else they are not enabled. but to fulfill step2 and step3 only clocks of i2S is required.

kindly share your suggestion how can I make sure to complete this requirement.

Regards,
Mohit M

Tags (1)
0 Kudos
Reply
2 Replies

1,054 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

If you are just starting your development we recommend you to use our latest SW. You could follow the Get Software section of GS-S32M24XEVB, which uses the same RTD as the S32K1xx.

Such RTD provides you various examples, including for I2C and I2S for the main derivatives like K144, K118 and K144W.

_Leo__0-1733333803697.png

For K142 you will need to create a New S32DS Application Project and refer to available examples.

_Leo__1-1733333815426.png

Hope it helps you.

Have a nice day!

0 Kudos
Reply

1,035 Views
MohitManvar
Contributor III

Hello,

Sorry I forgot to mention that I have used this tool earlier and for now we want to use specific Version only (specified by management team). eg. S32 design studio 3.4 with rtm4.0.3 .

Also I go through examples of FlexIO_I2S and LPI2C. but I2S clock frames are only visible during executing of SendData function call from the code flow.

I need BCLK and LRCK continuously ON even there are some other peripherals are executing code flow.

Hope you understand my concern.

Mohit M


0 Kudos
Reply