Forum Discussion

wangduoyu's avatar
wangduoyu
Icon for New Contributor rankNew Contributor
1 month ago
Solved

MSGDMA ST-to-MM: Linux Driver Necessity & F2SDRAM Path Feasibility

Hello everyone, I am currently working on an MSGDMA implementation. I have verified that I can read the MSGDMA CSR and Descriptor registers via the LWH2F bridge using devmem2. My setup is configured in Streaming-to-Memory-Mapped (ST-to-MM) mode.

I have two specific questions regarding this setup:

1、Is configuring the MSGDMA Linux kernel driver a mandatory condition for the hardware to function correctly? Is it possible to bypass the driver and configure the MSGDMA to start data transfer directly using devmem2 (user-space access)?

2、I noticed that some implementations write to the PS-side memory via the FPGA-to-HPS bridge. However, my design utilizes the F2SDRAM link, as indicated by the numbered sequence in the attached diagram. Could you please confirm if this architectural approach is feasible?

 

3 Replies