-
Notifications
You must be signed in to change notification settings - Fork 15
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
DMA Mode not working #2
Comments
Hi cider101, Bye |
Thx for your quick response. |
Hi Cider101
Thank you |
Good Morning Mauro I'm using a ILI9488 Display with an FT6236 touch controller this is my configuration for the display in the z_displ_ILI9XXX.h
and that's my main.c
thx again for your help! have a nice weekend |
Hi Cider101, test 1: test 2: Do not enter in CubeMX, saving configuration after the above changes. Just change the order in your main.c file as above and run the project. And let me know what happens? |
That worked - both of your suggested changes!! thx a lot! And hell, what a performance-difference :) looks like the DMA needs to be initialized before the SPI is initialized. Seems this is a bug/issue with the Stm32CubeIDE since that code is generated by the IDE. btw:did you ever figure out, what the difference between board version 1.0 and 2.0 is ? Maybe a different chip or firmware version/revision of the Ili9488 ? thx again end enjoy the weekend |
Yes, STM guys know this problem, but it seems thay aren't able to find a stable solution: About your project: from now on, if you make any changing in configuration, CubeMX will set back the wrong order. The only way (I found) avoiding it, is to create a new project Bye |
This is a great little library/driver - thx for your great work!
I'm having trouble to get the DMA mode to work. It "hangs" in the Displ_Transmit() function on line 77.
while (!Displ_SpiAvailable) {};
It looks like there there is never a transfer-complete interrupt received - though both, the global SPI1 and DMA2 TX interrupts are enabled. I'v never worked with DMA before - do I need to configure something "special" except enabling the DMA TX ?
Btw: it works in "normal" Interrupt-Mode - just not in DMA mode....
The text was updated successfully, but these errors were encountered: