I've been making progress with my little game device project, recently redesigning it to use an ATmega1284p and a colour OLED display.
I made a few errors with my pin assignments and am writing the display data by bit-banging.
Another error in my design meant the MCU is running at 8MHz. (Didn't realise it can't run >8MHz without a crystal)
This is giving me a frame rate of about 2fps
My old ATTiny85-based project, running at 16MHz PLL using a monochrome OLED could manage >100fps.
The MONO OLED is 128x64 pixels, each byte sent sets 8 pixels at a time.
The COLOUR OLED is 128x128, 2 bytes required for EACH pixel, so obviously a LOT more data needs to be sent.
I've never really used hardware SPI since most of my work has been with the tiny85 which doesn't really have it?
If I were to rework my board to use the hardware SPI pins, can I expect much of an improvement in speed?
My limited understanding of how it works is that I can feed it whole bytes at a time and do other stuff in between?
How much of an improvement am I likely to see? I'm struggling to believe I'm going to get the nearly 50+ times that I need to match the MONO version, even 15 times seems unlikely to get a usable 30fps.
I need to revise the board anyway, so I'm trying to decide if I should just go back to a monochrome display :)