Re: BluePill as I²C slave with Roger's Core
Posted: Sat Dec 26, 2020 4:26 am
my thoughts are that it may be worth taking a closer look at
https://github.com/eprive/STM32Lvideo
https://github.com/eprive/STM32Lvideo/wiki
https://www.youtube.com/watch?v=Bg80o8y ... e=youtu.be
based on that description, basically hardware timers and i2s (spi) along with dma are used to drive video out, and the cpu is free to simply update the frame buffer in sram.
this is quite a 'big deal' as it implies all you need to do is to 'draw' your screen in sram, and the hardware timer and i2s with dma takes care of making the composite video. frame buffers use quite a lot of (s)ram (at least w x h / 8), so you may want to get a stm32 with more sram or use external sram/sdram.
of course right here we'd also have the blue pill vga project:
viewtopic.php?f=10&t=347
so you have options
this may make it considerably easier as you could possibly get a board with big chip like stm32f407 or even the board like STM32F429IDISCOVERY, that one has 8MB sdram on board plus a 2.4 inch lcd on board thrown in ! accordingly it is a ili9341 i read somewhere.
some of the spi and hardware timers are used to drive video, the rest of unused io such as spi, uart, i2c, gpio etc can then be purposed for applications.
it could become a 'single chip' solution and much of that implementation become simply software.
https://github.com/eprive/STM32Lvideo
https://github.com/eprive/STM32Lvideo/wiki
https://www.youtube.com/watch?v=Bg80o8y ... e=youtu.be
based on that description, basically hardware timers and i2s (spi) along with dma are used to drive video out, and the cpu is free to simply update the frame buffer in sram.
this is quite a 'big deal' as it implies all you need to do is to 'draw' your screen in sram, and the hardware timer and i2s with dma takes care of making the composite video. frame buffers use quite a lot of (s)ram (at least w x h / 8), so you may want to get a stm32 with more sram or use external sram/sdram.
of course right here we'd also have the blue pill vga project:
viewtopic.php?f=10&t=347
so you have options

this may make it considerably easier as you could possibly get a board with big chip like stm32f407 or even the board like STM32F429IDISCOVERY, that one has 8MB sdram on board plus a 2.4 inch lcd on board thrown in ! accordingly it is a ili9341 i read somewhere.
some of the spi and hardware timers are used to drive video, the rest of unused io such as spi, uart, i2c, gpio etc can then be purposed for applications.
it could become a 'single chip' solution and much of that implementation become simply software.