electro-smith / libDaisy

Hardware Library for the Daisy Audio Platform
https://www.electro-smith.com/daisy
MIT License
341 stars 146 forks source link

Feature - TDM SAI/Codec Support #499

Open stephenhensley opened 2 years ago

stephenhensley commented 2 years ago

This has become requested both on slack and the forum.

The SAI2 peripheral exposed on the pinout of the Daisy Seed is capable of working with TDM, but the current sai module does not support it yet.

The HAL Reference, and STM32H750 Reference Manual can be used to determine the specific configurations needed, and what needs to be done.

heartwerker commented 1 year ago

Hi @stephenhensley,

i created a working implementation:

https://github.com/heartwerker/daisy_seed_tdm_eurorack_pmod https://github.com/heartwerker/libDaisy/tree/feature/audio-tdm-codec-ak4619

open to do a proper PR for that!

:)