DMA Synchronous Serial output
DMA Synchronous Serial output
I bought a esp32 dev board and am learning about the esp32 architecture. I have a LED matrix that is 8x12 and it accepts synchronous serial data: serial data, serial clock (and finally Latch). 96 bits that correspond to the 96 LEDs. The display has (6) cascaded TLC59281 16-output LED drivers. I have it working with bit banging to three gpio outputs. Now I’m wondering if there might be a way to DMA 96 on/off states from memory to a couple of serial outputs. I’m looking for ideas, things I can go research.
-
- Posts: 1954
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: DMA Synchronous Serial output
Sounds like you'd want to look into SPI. (MOSI->SIN, SCLK->SCLK, CS->LAT)
Though DMA isn't really a good fit for only 96-bit transactions - that's only 3 32-bit words, and the SPI peripheral already has an integral buffer of 16 words.
Though DMA isn't really a good fit for only 96-bit transactions - that's only 3 32-bit words, and the SPI peripheral already has an integral buffer of 16 words.
Who is online
Users browsing this forum: No registered users and 74 guests