Arduino Nano 33 BLE Sense Pin Config and External PDM Clock

Hello Arduino!
I need help with my small project. I was successfully able to run the PicovoiceExample on my arduino nano 33 BLE sense. Now I want to reassign the pins to an external pdm audio stream. So bascially instead of using a PDM input from the builtin microphone on the Arduino Nano 33 BLE Sense board, I want to input an audio stream (PDM) from an external source (a microcontroller). The clock will also be refenced from the external source. How can I reassign the pins and also make my clock line to be input to the Arduino nano 33 BLE Sense?

Thanks a lot for any help!

Welcome to the forum.

The pins seem to be set in the following files.

  • variant.cpp
  • pins_arduino.h

Both files are in the following location on my system. I have not updated it for quite a while and use the old IDE, so you will check the path on your system.

C:\Users\UserName\AppData\Local\Arduino15\packages\arduino\hardware\mbed\1.3.2\variants\ARDUINO_NANO33BLE

There may be restrictions caused by other pin configuration code. You will have to try and use the nRF52840 datasheet as reference. Start in chapter: 6.15 PDM — Pulse density modulation interface.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.