Close

SST26VF032B by Microchip, a tiny nightmare.

A project log for Tempo

An Ultra Small Temperature logger with USB charging, Built in flash and LCD

maor-malkaMaor Malka 06/18/2018 at 04:190 Comments

So one of the troubles of using a small flash size (32K on the stm32f042k6u6) is that quite quickly you run out of space for code.

Now I didn't want to waste room in my micro holding the Fonts for the SDD1306, thats room I can use.

So I modded a driver I found that was designed for the stm32f4 to use an external flash for the fonts.

I also had to write my own drivers for  the stm32 since the mxcube version is quite inefficient.

So thats an SPI driver, Flash Driver for the SST, and mod the SSD1306 driver.

I switched to the SST flash since micron likes to add another device to their EOL list every 5 minutes, so yeah, the previously selected SPI flash became obsolete.

Luckily the flash wasn't that complicated, and making a small flash burner was simple.

The drivers + the modded driver can be found in my github.

Discussions