- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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());
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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