Close

03/11/2019

A project log for T962A Controller with 5"/7" Touch TFT (*STM32*)

T962A Controller Drop-In (using *STM32H7*) This is a drop-in replacement controller board for the T962A reflow oven, using the STM32H7

phillyflyersPhillyFlyers 05/15/2019 at 20:550 Comments

Ok,  finished up the code for all the peripherals, so all the PWM and timers are working, SPI, I2C, LCD touch screen interrupts, etc.  cleaned up all the code so I got everything into nice working order.

Also, have to say after getting used to the STM32 code, and the Cubemx examples, finally really liking how they made the HAL so easy to use, saves so much time!  Was a pain at first with the jpeg and messed up code, but things are much better now with all the other sample code.

Now onto the main event, LCD & JPEG integration, I updated my board and re-routed, after digging into the LCD area, I realize I don't need the external flash, what I really need is external ram, plus add on a socket for a MicroSD (via SPI) so I can have an external file system for storing images, even profiles, etc.  SD's are so cheap now anyway! 

So I put all that onto the new board, and removed the flash, and added in the SRAM...

** only annoying part is I can't use SDRAM, as I don't have enough available pins to use the SDRAM setup with the FMC, unless I bump up to the larger 144-pin STM32H7 package, which I really don't want to do.. I'm already using the 100-pin package, and it takes up a nice footprint..

SRAM is a bit more expensive than SDRAM, but for now it is good.. about $20 for the 4MB SRAM chip... maybe down the road once this thing is all iron'd out we can weight using the larger STM32 chip, and drop in an SDRAM instead..

there is more than enought flash on-board the STM32, 2MB total, and at most the program will take 1MB, prob. more like 100kB or less, so at least we have 1MB of free internal flash...

external SRAM will add 4MB of ram, plus the external MicroSD which can be massive amount of storage...which we can use for all sorts of nice bmp/jpg images, so we can have our own custom displays,e tc..

Discussions