Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me with address register issues in I2C and PIC18

Status
Not open for further replies.

Slayerza

Full Member level 5
Joined
Oct 22, 2005
Messages
295
Helped
27
Reputation
54
Reaction score
5
Trophy points
1,298
Location
South Africa
Activity points
3,462
Hi,
I have connected several MCU together on the I2C but, also I'm able to detect the srat and stop conditions so i know that the hardware is functional. However I can't seem to get an address match.

I know that in 7bit mode (currently using 7bit) the address is allowed to be 7bits with some reserved addresses. So 7bits can contain at a maximum 128 valid adresses. My question is this -

If the Adress register is 8bits and I write into it say 50 (0x32). If I then transmit the call to device 50 with a write (thus zero as bit 0) do i write 100 (0x64)?

Or have I got his completely wrong?

Cheers
Slayer
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top