I2S with SPH0645LM4H-B

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello there, I am interfacing PSOC4 I2S in master mode to receive data bytes from my SPH0645LM4H-B microphone but facing an issue while reading the bytes from microphone, it is getting zero. i haven't used DMA in this case. could anyone resolve this issue?

I2S_mic_EnableRx();

I2S_ReadRxStatus();

sprintf(buffer,"status = %d \r\n",I2S_RX_STATUS_REG);

sprintf(buffer,"byte = %d \r\n",I2S_ReadByte());

0 Likes
1 Solution
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Can you try using the code example (with DMA ) and check if that works. Also probe the line and  check if there is any data transfer on I2S line when this code is getting executed.

Thanks,

Hima

View solution in original post

0 Likes
1 Reply
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Can you try using the code example (with DMA ) and check if that works. Also probe the line and  check if there is any data transfer on I2S line when this code is getting executed.

Thanks,

Hima

0 Likes