Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
My question is how do you read and write to and from the ds1302 rtc with a 68hc11. The ds1302 has 1 bi directional i/o pin, while the 68hc11 requires that when using the spi pd3 mosi to write, and pd2 miso to read.
My question is how do you read and write to and from the ds1302 rtc with a 68hc11. The ds1302 has 1 bi directional i/o pin, while the 68hc11 requires that when using the spi pd3 mosi to write, and pd2 miso to read. The HC11 PD4 would connect to the sclk pin of the rtc, and any available output pin on the h11 would connect to ce. But the hc11 requires pd3 to write to a slave devices mosi, and pd2 to read data from a slave device miso. having only 1 i/o pin on the ds1302 is confusing.
Thanks for the advice ill google on ds1302 interface.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.