in cpu/mpu architecture the memory can be used by two peripherals in the same time ?

in cpu/mpu architecture the memory can be used by two peripherals in the same time, one for reading and writing in the same time ?
4 Replies
Petr Dvořák
Petr Dvořák8mo ago
You need to check the Reference manual of your chip for the memory architecture. There is no general answer. There can be differences, especially between "normal" and "special" devices (Critical safety, etc.). Generally speaking, no. Each device has privileged access.
youcef_ali
youcef_ali8mo ago
I'm having a data coming with 400 kbit/s i would like to process and transfer this data with ethernet tcp server using lwip library at the same time while DMA is operating
Petr Dvořák
Petr Dvořák8mo ago
You said, "at the same time". Of course, you can access the memory from two peripherals. You need to implement a circular buffer or similar memory structure. Ask @Umesh Lokhande or others for the best implementation practices. The HW side is safe here.
youcef_ali
youcef_ali8mo ago
Thanks a lot
Want results from more Discord servers?
Add your server