inmarket Posted July 11, 2015 Report Share Posted July 11, 2015 There is now a generic driver for the STM32 built-in LTDC controller.It currently uses the background layer for drawing operations and doesn't currently use the DMA2D controller available in some STM32 cpu's. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 11, 2015 Report Share Posted July 11, 2015 DMA2D support will be the first thing we will be working on.~ Tectu Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 12, 2015 Report Share Posted July 12, 2015 DMA2D done, see viewtopic.php?f=9&t=248~ Tectu Link to comment Share on other sites More sharing options...
Alba800 Posted July 24, 2015 Report Share Posted July 24, 2015 in file gdisp_lld_STM32LTDC.c (line 164) there is: // Enable the LTDC clock RCC->DCKCFGR1 = (RCC->DCKCFGR1 & ~RCC_DCKCFGR1_PLLSAIDIVR) | (1 << 16); /* /4 */the compiler gives error on DCKCFGR1 (not found)to make it working I have to modify the line using DCKCFGR (without 1) RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | (1 << 16); /* /4 */as declared in stm32f4xx.han then everything worksciaoAlberto Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 24, 2015 Report Share Posted July 24, 2015 Thank you for reporting this issue. We have pushed a fix to the repository: https://bitbucket.org/Tectu/ugfx/commit ... 4ba6d57909Can you please give it a try and let us know whether it is now working properly?~ Tectu Link to comment Share on other sites More sharing options...
Alba800 Posted July 24, 2015 Report Share Posted July 24, 2015 STM32F4 is a definition that I don't have, maybe STM32F429_439xx Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 24, 2015 Report Share Posted July 24, 2015 What libraries are you using? I downloaded the latest STM32CubeF4 and the file stm32f4xx.h from CMSIS has that define in there. It is the same for the F7 and there it works great for me.Are you using the old StdPeriph libraries?Line 67 in: stm32f4xx.h/** * @brief STM32 Family */#if !defined (STM32F4)#define STM32F4#endif /* STM32F4 */~ Tectu Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 24, 2015 Report Share Posted July 24, 2015 I just checked: In case of you are using ChibiOS/RT 2.x this might be an issue. However, we only checked for ChibiOS/RT 3.x. See here: http://forum.chibios.org/phpbb/viewtopi ... =16&t=2730What underlying system are you using?~ Tectu Link to comment Share on other sites More sharing options...
Alba800 Posted July 24, 2015 Report Share Posted July 24, 2015 Ok. i am with ChibiOS 2.6.8, that's the reason.I will put this new define in my main.c and then shortly I will move to chibios 3Thank you for the prompt response Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 24, 2015 Report Share Posted July 24, 2015 No problem. Thank you for testing!I hope that you understand that we will not add support for ChibiOS/RT 3.x for new features as ChibiOS/RT 3.x has officially been released and 2.x will no longer be developed actively.~ Tectu Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now