Mike Chambers
Well-known member
I'm trying to switch my current project to use a larger RA8875 LCD display. I need to use DMA mode, but it hasn't been working. After looking at the library code, I can see why:
The framebuffer address that gets sent is only 24 bits wide!
I tried uncommenting that last line, but it didn't change anything.
Is DMA from an arbitrary memory location not possible with this controller?
Code:
void RA8875::DMA_startAddress(unsigned long adrs)
{
_writeRegister(RA8875_SSAR0,adrs & 0xFF);
_writeRegister(RA8875_SSAR0+1,adrs >> 8);
_writeRegister(RA8875_SSAR0+2,adrs >> 16);
//_writeRegister(0xB3,adrs >> 24);// not more in datasheet!
}
The framebuffer address that gets sent is only 24 bits wide!
I tried uncommenting that last line, but it didn't change anything.
Is DMA from an arbitrary memory location not possible with this controller?