Skip to content

v2.0.0-alpha.4

Pre-release
Pre-release

Choose a tag to compare

@remcom remcom released this 24 Oct 09:36
· 44 commits to develop since this release
00de12e

Fix: microphone pin mapping

The Satellite1 board config had the microphones on PDM pin 0 and pin 1 swapped. Every mic was labelled as the one opposite it, so every direction the firmware reported was off by 180°.

What changes for you

Before Now
DOA azimuth (AUDIO_SERVICER_CMD_DOA) A talker at the North mic read ~180° A talker at the North mic reads ~0°, at East ~90°
LED ring DOA indicator Lit the LED opposite the talker Lights the LED facing the talker
Active mic masks (MIC_PAIR) Named the opposite mics Name the mics that are actually in use

MIC_MODE_AUTO_PAIR and MIC_MODE_AVERAGE already chose the right mics, because the labels were wrong in the same way everywhere. They behave as before. In the default MIC_MODE_PAIR_EW, the two channels going into the processing pipeline trade places.

Action for host integrations

If your host code adds 180° to the DOA reading, or reverses the mic masks, to make up for this bug, remove that correction when you update to this release.

Details

  • MIC_MAPPING in bsp_config/SATELLITE1/SATELLITE1.cmake changed from "0, 1, 4, 5" to "1, 0, 5, 4". The order is still North, South, East, West.
  • The SPI protocol and the LED ring settings are unchanged.

How to check

Enable the DOA indicator and talk from each side of the device. The lit LED should point at you, and the DOA reading should be about 0° at the North mic and about 90° at the East mic.