Skip to main content
Graduate
August 19, 2024
Solved

Parallel RGB interface in STM32-F411RE

  • August 19, 2024
  • 1 reply
  • 933 views

For my project, I need to use a parallel RGB interface (8 bits) to control a display using Nucleo-F411RE. The PCLK for the RGB interface is required to be a minimum of 1MHz.

However, the STM32-F411RE does not have any LTDC peripherals. So I implemented the parallel RGB interface using a timer interrupt at a 1MHz frequency and GPIO pins for sending data, but it does not work. For lower timer interrupt frequencies like 10 KHz, it can send data but for 1 MHz nothing of this code works, including UART transmit-receive and others.

So, is it possible to implement a parallel RGB interface in SMT32-F411RE (Or similar where there is no LDTC peripheral)? If possible then how? 

Or, do I need to use another STM32 that has LTDC peripherals on it? 

    This topic has been closed for replies.
    Best answer by waclawek.jan

    You are probably flooding the mcu with interrupts.

    Use timer-triggered DMA transferring from memory to GPIO. Note, that in 'F4, only DMA2 (thus only timers on APB2 - TIM1/TIM8, whatever is available in 'F411) is usable for such transfer.

    JW

    1 reply

    Super User
    August 19, 2024

    You are probably flooding the mcu with interrupts.

    Use timer-triggered DMA transferring from memory to GPIO. Note, that in 'F4, only DMA2 (thus only timers on APB2 - TIM1/TIM8, whatever is available in 'F411) is usable for such transfer.

    JW