cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel RGB interface in STM32-F411RE

Soad
Associate II

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? 

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

1 REPLY 1

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