Hardware and code diagram

I’ve thrown up a PDF that shows the basic hardware setup.

It also shows the flow of my software, which is very simple. I didn’t put the clock details on there such as how often the clock rolls etc because although this is very important, it’s somewhat complicated in that there are lots of missing cycles between an edge event, and the actual triggering of the ISR as a result. This is due to overhead in SX/B, and isn’t a problem — and has been compensated for by rolling over quicker than you might expect. I will throw up a scope trace of the hardware flags later.


Amateur Electronics Design Engineer and Hacker

Add comment