Hello,
I am looking for some advice on how to construct an SPI master port using IC's.
I have an 8085 retro kit and I would like to create a SPI master port. My first attempt was simple bit banging
away and that works great, but I would like to read/write to an sd card, and bit banging is far too slow.
This is also a learning experience for me, my background is mostly software, I'd like to explore the hardware side.
I own a couple of HC299's which seem to fill the requirement, but I'm stuck on how to get the shift register to indicate it has finished shifting all 8 bits.
Ideally the processor would load an 8 bit value into the register, enable the clock and wait for an interrupt indicating the shift has finished.
Any ideas along this line is greatly appreciated.
thanks
I am looking for some advice on how to construct an SPI master port using IC's.
I have an 8085 retro kit and I would like to create a SPI master port. My first attempt was simple bit banging
away and that works great, but I would like to read/write to an sd card, and bit banging is far too slow.
This is also a learning experience for me, my background is mostly software, I'd like to explore the hardware side.
I own a couple of HC299's which seem to fill the requirement, but I'm stuck on how to get the shift register to indicate it has finished shifting all 8 bits.
Ideally the processor would load an 8 bit value into the register, enable the clock and wait for an interrupt indicating the shift has finished.
Any ideas along this line is greatly appreciated.
thanks