Away from my workshop bored me so I made this project for fun.
Feel free for discussion to improve it.
The main goal is to do 2 MCU comm using bitbang serial if all the peripheral are being used.
The master is controlling the slave but the slave can interrupt anytime.
In here I use a button as slave request simulation.
The master sending data periodically but the slave can request to be read immediately.
It's 8 bit but can be easily expanded to 32 bit.
Since I don't have all the hardware at the time, I use Proteus to do the work.
The hardware should be faster than Proteus.
The MCU clock is free to choose, the higher will faster the comm.
I used 1 Mhz.
Pardon me if there's a typo ;)