Continue to Site

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.

  • 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.

Interfacing problem with 74HC166

Status
Not open for further replies.

Greatbuddy

New Member
Dear Dudes/Dudies,
Iam back with another problem here, Actually iam trying to interface PISO (74HC166) with microcontroller (C8051F120). But iam unable to do that. Is there anything to attach i mean a piece of code or anything else? Waiting for ur suggestions. I have tried by giving clock from external. But no response from it.


Hope to see your valuable suggestions.

Please dont hesitate to ask if further classification needed.
 
1) Assert /PE and /CE low
2) Present parallel data at inputs
3) Toggle the clock input

Now your data byte is in register. To clock it out serially:

4) Assert /PE high
5) Toggle the clock input

With each rising edge of the clock, you get a bit out of the register. You may wish to assert /MR first to clear all bits to zero.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top