2020-09-18 03:22 AM
Hello,
I've a smal implementation for the STM32L073 without using of the HAL. For the configuration of the LCD peripheral the flags FCSRF and RDY not set.
I see that the flag FCSRF is reset during writing new values in the register FCR. The MCU have the following configuration:
RCC->CSR: RTCSEL=1 RTCEN=1 LSEON=1 LSERDY=1
RCC->APB1RSTR: LCDRST=0
RCC->APB1ENR: LCDEN=1
The follwoing resiter shall configure:
LCD->FCR = 0x0100b420
LCD->CR = 0x000000cd
The LCD->SR ENS flag is set. But the FCRSF and RDY not.
Have everyone a idee of this failure?
Thanks, Bernd