Page 1 of 1

74HC595 Bit angle modulation (BAM) on ESP32 IDF SDK

Posted: Thu Feb 23, 2023 4:15 am
by Bitscat
I'm working on ESP32 + 74HC595, i want to use BAM(Bit angle modulation) to control the brightness of each LED at output 74HC595.
I'm trying with SPI + LEDC, but LEDC is not "fast state change", so I still see the LED blinking. It also takes up a lot of CPU processing time.
So i think DMA + SPI is better idea, but I don't know how DMA can work with Linked Descriptor. (My code in image)