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
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.
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
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.
Thanks a lot