i2s library

Please do not post requests
victor_pv
Posts: 1237
Joined: Mon Apr 27, 2015 12:12 pm

i2s library

Postby victor_pv » Sun Feb 12, 2017 11:55 pm

I am writing an i2s library for the high and XL density MCUs (xCT6 to xGT6).

Those MCUs have 3 SPI ports. Ports 2 and 3 can work on i2s mode.

I am posting here the first working version so anyone willing to, can test and help debug it.
At the moment I have tested with with a logic analyzer and seems to work fine.

I have some pt8211 DACs but still need to wire them to an amplifier and speaker, and I am going to call it a day for now.

There is 1 sketch included, that's the one I have used for testing.
If anyone can test and provide feedback, would be helpful.

Ideally should be tested together with other i2s modes, and with other peripherals at the same time, such as a display, sdcard, serial.

Thanks to Madias and Grumpyoldpizza for pointing me in the right direction, and I have borrowed heavily from Grumpyoldpizza (Thomas Roel) from his L4 implementation.

EDIT: I changed the attached file since I noticed I had edited some function name wrong on that. Should work now.
Attachments
i2s_test.zip
(7.85 KiB) Downloaded 45 times

Return to “Working / ported libraries”

Who is online

Users browsing this forum: No registered users and 2 guests