The reason for prototypes.
Today me and my son sat down to verify the functionality of our designed IRQ handler, a small prototype board we connect to the prototype header on the Stage 1 board. We connected it, wrote some small test code and… Failure! We got an interrupt but when after we read it the circuit would not behave as we intended.
Back to the drawing board!
We realized that after an interrupt had been clocked into the IRQ register there were nothing that would reset that register. So we needed to rethink how we were clocking the status in the register.
So, after some intensive discussions and a bit drawing of logic truth tables we got to the conclusion that finally would the Q clock be handy. So on every rising Q we will clock the latest status of IRQ’s in to the register. That will leave them available at next read operation (We hope!)
So now we can rewire the old prototype board and fix the schematics of Stage 2. After that… Off to the races!
PS. I have some interesting news by the way. I was contacted by PCBWay that found our project and thought it was interesting and wanted to support it. So I look forward to what the future holds for µLind! DS.