|
Page 1 of 1
|
[ 3 posts ] |
|
Clarification on I2C memory address vs register
Author |
Message |
elizabeth.mabrey
Expert
Joined: Sun Aug 19, 2007 2:43 pm Posts: 156 Location: New Jersey
|
 Clarification on I2C memory address vs register
Hi,
I just want to make sure I understand the terminology here.
With my little understanding about "a register", it is indeed memory address; has 2 kinds of memory data register and memory address register. However, it is not something user level code can modify like these I2C unique address, command address, etc. However, I kept reading they were referenced as registers. Thus, I am bit confused here. Could someone clarify that for me?
_________________ ==Elizabeth Mabrey
|
Sun Jul 27, 2014 12:22 pm |
|
 |
mightor
Site Admin
Joined: Wed Mar 05, 2008 8:14 am Posts: 3654 Location: Rotterdam, The Netherlands
|
 Re: Clarification on I2C memory address vs register
Register and memory address are often used fairly interchangeably. I would use register for I2C, since I would consider memory address something in the RAM of the chip. The register is what you access through the I2C command and might not really be a memory address at all, but rather a trigger to do perform an action, like "start calibration".
Regards, Xander
_________________| Professional Conduit of Reasonableness| (Title bestowed upon on the 8th day of November, 2013) | My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
Sun Jul 27, 2014 1:59 pm |
|
 |
skatefriday
Novice
Joined: Tue Dec 11, 2012 9:19 pm Posts: 58
|
 Re: Clarification on I2C memory address vs register
Xander is correct, and in fact, PMBus, a specification for power supply management over I2C, specifically avoids the term "register" in favor of "command" to avoid just this kind of confusion.
When you perform an I2C transaction you are really just sending a number over to a slave device, and then writing or reading some data. That number may be an offset in a device's memory, or it may be something to be interpreted by a slave device that's running software itself.
|
Mon Aug 04, 2014 5:13 pm |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|