Skip to content

IS2 transfers using 32-bit data to and from AIC #87

@chipaudette

Description

@chipaudette

Currently, the Tympan library uses 16-bit resolution for audio samples as they're transfered between the audio codec and the main processor. This behavior was inherited from the Teensy Audio library.

With good PDM mics and with good AICs, we might be limited by the 96dB dynamic range inherent with 16-bit transfers.

Is it time to upgrade our code to support 32-bit data transfers?

Work to do:

  • Alter the I2S configuration for the I2S input and output classes
  • Alter the DMA configuration in those same classes
  • Alter the ISR() and update() methods in those same classes

Considerations:

  • Do we enable the classes to be configured for either 16-bit or 32 but? Or do we fully transition to 32-bit and exclude 16-bit
  • Do we also enable this functionality for older Tympans (Teensy 3.6 based Tympan Rev D) or just the newer Tympans (Teensy 4.1 based Tympan Rev E and F)?
  • Do we do all variants of the I2S classes (stereo, quad, hex) or just a subset?

Tag: @cab-creare-com , @eyuan-creare

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions