Hi, how do you change between reading data on rising or falling edges for I2S?
The ICS‐43432 is rising edge but looking at the, slightly confusing, SPH0645LM4H-B datasheet, it appears the data is transitioning on the rising edge and should be read on the falling edge (actually, just found some discussions on this on other forums and it does indeed seem to be the case).
Thanks, Joe
Change edge for I2S
Re: Change edge for I2S
Is this an academic question? Because the SPH0645LM4H works fine with the IDF SPI functions.joewright wrote:The ICS‐43432 is rising edge but looking at the, slightly confusing, SPH0645LM4H-B datasheet, it appears the data is transitioning on the rising edge and should be read on the falling edge (actually, just found some discussions on this on other forums and it does indeed seem to be the case).
John A
Re: Change edge for I2S
Not academic. Getting a somewhat different bit pattern recorded by the esp32 than my logic analyser. The data transition is happening just after the clock rise which means it is unsafe to read on the rising edge. The falling edge is happening when the data bit is stable so it would be good to read then.
Who is online
Users browsing this forum: No registered users and 61 guests