Search found 2 matches

by sysobln
Thu Nov 05, 2020 9:17 pm
Forum: Hardware
Topic: Trouble with ESP32 and LJ/RJ I2S Audio MSB/LSB
Replies: 0
Views: 2260

Trouble with ESP32 and LJ/RJ I2S Audio MSB/LSB

I'm trying to bring up a AK4552 https://datasheetspdf.com/pdf-file/137058/AsahiKaseiMicrosystems/AK4552/1 Audio Codec, which works so far, but I'm getting distortion on low signal levels. The ADC is 24-bit MSB justified, while the DAC is 24-bit LSB justified. int mclk_rate = fs * 384; // FIXME: fact...
by sysobln
Mon Sep 28, 2020 7:02 am
Forum: Hardware
Topic: I2S Peripheral in parallel mode (or RMT?) to send data to multiple (bitbang) SPI DACs
Replies: 0
Views: 2055

I2S Peripheral in parallel mode (or RMT?) to send data to multiple (bitbang) SPI DACs

I'm working on a project where besides a I2S audio DAC on I2S0, I will need to update (using I2S1) 4 or more 2-ch MCP4822 DACs with DC outputs at audio rate and all in-sync from an ISR filling in the data. I've seen hacks using the I2S parallel mode to shift out data and bit-bang various protocol, s...