I tried to generate VGA signal on stm32f103
I used two timers, the TIMER 2 generate the horizontal sync and then the second timer TIMER 3 is configured in gated slave mode which generates the vertical sync.
Then I used HAL_SPI_TRANSMIT_DMA function inside the timer 2 interrupt handler.
I in a hurried manner connected the video signal to the monitor directly. And that has burned the image onto the monitor.
I connected the green video signal directly from the stm32f103 to the VGA connector.
image is now burned in the monitor.
Leave a Reply