Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable DMA on STM32F767zi? #15

Open
jc78 opened this issue Jul 18, 2020 · 0 comments
Open

How to enable DMA on STM32F767zi? #15

jc78 opened this issue Jul 18, 2020 · 0 comments

Comments

@jc78
Copy link

jc78 commented Jul 18, 2020

I'm using an ST Nucleo 144 (STM32F767zi) and ILI9488 display and want to enable DMA for faster drawing.

The only way I can see DMA working is if STM32F1 is defined. defining that value doesn't seem to turn on DMA. I looked for all of the places in ILI9488.cpp where DMA could be used and forced it to use those functions, like SPI.dmaSend();, but I'm receiving compile errors stating that the SPI library doesn't have dmaSend:

.pio\libdeps\nucleo_f767zi\ILI9488_ID4667\ILI9488.cpp: In member function 'void ILI9488::drawImage(const uint8_t*, uint16_t, uint16_t, uint16_t, uint16_t)':
.pio\libdeps\nucleo_f767zi\ILI9488_ID4667\ILI9488.cpp:542:9: error: 'class SPIClass' has no member named 'dmaSend'
  542 |     SPI.dmaSend(linebuff, w*3);

Am I possibly using the wrong SPI library? or have I encountered an untested board\situation?

The library works for me without DMA, but of course I'd like DMA turned on for a better user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant