I may be slightly ambitious taking on quite a large project such as the one I'm currently working on, but I think with a few explanations and some experiments, I'll be able to get it working eventually. I'm working on reading a microchip that requires a constant 1Mhz-5Mhz clock. It transfers data on a 1 bit bus (a single pin). The biggest problem I'm having problem with is making a clock pin using Arduino. 1Mhz is a 1 micro second interval, but Arduino has a 3 microsecond minimum to have an accurate delay, and mircos() is in 4 ?s intervals. I can't use the SPI library because it uses multiple lines and the microchip I'm trying to communicate is a single bi-directional pin used for sending/receiving bits.
Does anyone have any advice on how to get a constant 1Mhz clock so I can properly transfer bits across the connection? Is this even possible with Arduino? :roll_eyes:
Am I going to need an external 1Mhz Oscillator?