Creating a VGA Signal in Hubris
a day ago
- #vga-generation
- #embedded-systems
- #stm32
- The author experimented with a ST Nucleo-H753ZI evaluation board and Hubris, an embedded OS.
- Initial project involved connecting a VGA monitor directly to GPIO pins to generate a signal.
- Concerns about overhead led to bypassing the sys task in Hubris for direct GPIO control.
- Used Peripheral Access Crate (PAC) to interact with chip registers, requiring memory region configuration in Hubris.
- Implemented PWM via timers to generate VGA sync signals, starting with a blinking LED test.
- Adjusted timer settings for horizontal and vertical sync signals based on VGA timing standards.
- Attempted to display a solid color using GPIO, but encountered issues with voltage baselines.
- Explored using the DAC with DMA for signal generation, facing challenges with memory regions and data integrity.
- Considered using SPI for sharper image output after observing DAC's limitations with sharp edges.
- Planned to use MDMA for 2D image display, requiring re-introduction of the sys task due to memory constraints.
- Project remains ongoing, with future goals including implementing a working framebuffer.