KurtE
Senior Member+
I think I know what is going on... I believe we need to split up the transfer into at least two parts.the CS and RST were setup for another board. Fixed that and the 2D errors went away Correct me if I am wrong, but do we really need two example folders? I removed the examples folder in the Ra8876_t3 folder and I am able to run all examples in SPI and 8080 modes. Just have to define "USE_SPI" in the RA8876_Config.h file.
@KurtE - Just tried your DMS test from P#272. And it does not finish the transfer from SDRAM. Will have to check it out...
If I print out the DMA Channel data for the first two of our dma output examples, I see:
Code:
*** MulBeatWR_nPrm_DMA ***
20002940 400e9000: SA:8000004a SO:-2 AT:12a (SM:0 SS:1 DM:5 DS:2) NB:80010020 SL:-487536 DA:401b071c DO: -4 CI:3b84 DL:0 CS:4a BI:3b85
SDRAM Wrote 243800 bytes in 278ss
Press anykey to continue
activeWindowXY(1, 1)
activeWindowWH(575, 424)
setPixelCursor(1, 1)
*** MulBeatWR_nPrm_DMA ***
20002940 400e9000: SA:6004c6ae SO:-2 AT:12a (SM:0 SS:1 DM:5 DS:2) NB:80010020 SL:-487536 DA:401b071c DO: -4 CI:3b84 DL:0 CS:4a BI:3b85
Wrote 243800 bytes in 245ss
If I output it from my test output I see:
Code:
*** MulBeatWR_nPrm_DMA ***
20002940 400e9000: SA:8000004a SO:-2 AT:12a (SM:0 SS:1 DM:5 DS:2) NB:80010020 SL:-1228736 DA:401b071c DO: -4 CI:97ff DL:0 CS:4a BI:9600
Press anykey to continue
The interesting things are the
CI/BI fields: which in the failing case is: CI:97ff
So for 16 bits, the HIGH bit is on which is actually the CITER-ELINK, which then cuts down CITER to 9 bits or 512...
So probably need 2 DMASettings...