Hello,
I am using S32K142 EVM for audio project. For audio transmission I am using I2S through Flexio. I am able to send the data at the falling edge of the Bit clock. I want to send the data at the rising edge.
Can you help me in this how to change from falling edge to rising edge?
Thank you
Thank you @lukaszadrapa for your suggestion.
1. The kind of amplifier we are using that supports the the rising edge only.(The data is presented in 2's-complement form (MSB-first and is valid on the rising edge of bit clock).
2. Could you please suggested which NXP controller will support to changed from falling to rising. Or which type of similar controller will support for rising edge.
Thank you.
Take a look at S32K148 which has SAI module supporting I2S. So, it's not emulation only via FlexIO.
I can see it supports configuration of rising/falling edge:
There's also an application note:
https://www.nxp.com/docs/en/application-note/AN12202.pdf
Regards,
Lukas
Hi @Prerna_Nibe
I can see in the SDK that FlexIO I2S driver does not have such configuration. It would be necessary to modify the source code which is not recommended and supported by us.
I2S also says:
Because I2S is only emulated by FlexIO, this could probably cause some issues. And that's the reason why the driver supports falling edge only.
Regards,
Lukas