ESP32 - S2 Micropython allocate internal ram

mbruegel
Posts: 1
Joined: Fri Nov 18, 2022 1:45 pm

ESP32 - S2 Micropython allocate internal ram

Postby mbruegel » Fri Dec 29, 2023 1:02 pm

We work on a project to untilize SPI2 in i8080 parallel mode.
The objective is to develop a driver in Micropython.
Basically we get it working by programming the internal registers and stream data out o SPI2.
However, to get better performance, we would like to use DMA mode.
This requires us to setup the DMA descriptor. As per technical reference manual, the desciptor needs to be in internal RAM. Data can be accessed from external RAM.

Is there any way in Micropython to allocate a few bytes in internal RAM to put the descriptor into it. We nees 12 bytes at least.

Any suggestions ?

regards
Michael

Who is online

Users browsing this forum: No registered users and 98 guests