Jump to content

Recommended Posts

Posted

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.

  • 2 weeks later...
Posted

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.h

an then everything works

ciao

Alberto

Posted

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

Posted

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 3

Thank you for the prompt response

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...