ESP32C3 - SPI Mode 1

stevend
Posts: 1
Joined: Thu May 12, 2022 5:26 pm

ESP32C3 - SPI Mode 1

Postby stevend » Thu May 12, 2022 5:34 pm

Hi,

I have a PDM microphone, which I trying to read via SPI.

There are two microphones in the system, setup so that each sends its data on a different clock polarity (one for clock rising, one for clock falling).

The microphone that is setup for clock rising (SPI Mode 0), works well, and I'm getting the data as expected.

However, I'm struggling to get the ESP32C3 to receive the data when using SPI Mode 1 (data latched on falling clock).

Does anyone know of any issues with the IDF on the ESP32C3, related to Mode 1 SPI? I can see the data using a scope, but it's not being read correctly for the SPI module.

Thanks,
Steven

Who is online

Users browsing this forum: Bing [Bot], Jonathan2892 and 90 guests