Hi all,
I am currently working on a RZ/A1L (R7S72102) and I have issues with the use of the DMAC with RSPI.
I have first configured and used the RSPI1 without using DMAC. This is working. My RZ communicates with a serial dataflash.
Now I want to use DMAC1 for RSPI Tx and DMAC2 for RSPI Rx and I face the following issue:
If the source data for DMAC1 is at an address located in internal RAM0 (0x2004xxxx), correct data is sent on MOSI RSPI1 line. But, if the source data is at an address located in internal RAM1 (0x2008xxxx), zeros are sent.
I have tried several workarounds like forcing the data to be put in RAM0, but this leads to other bad results (data sent is not the expected one).
Note that as a first simple test, I am just trying here to read the status of the serial dataflash (only 1 opcode Tx byte, and 1 status Rx byte).
Maybe my problem is somewhere else, but are there known issues about RAM memory addresses and DMAC?
Any other ideas?
Thanks