- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using MiniProg3 and using Bridge Control Panel to do USB-to-I2C.
I know how to do a "read" continuously from first register on-wards. This is the syntax explained in the Bridge Control Panel help file (for example to read from Slave Address=0x09, and read 3 bytes):
"R 09 x x x P".
This works fine, and it returns correctly the contents of the 1st, 2nd and 3rd register from my Slave IC.
But what about if I want to read starting from a specific register (and not from the 1st register).
For example I want to only read the data in the 3rd register.
How do I do a "Register Read"? What is the syntax in Bridge Control Panel for this?
Your assistance is much appreciated. Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually somebody I asked gave me the answer to my question, and it works. Below is his explanation.
The syntax: "w slvadd regadd r slvadd x x x p"
Just close the w part with an r and the tool will do a restart followed by a read
The p at the end will do the stop
X is for a byte you want to read, so put as many x as the number of bytes you want to read
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually somebody I asked gave me the answer to my question, and it works. Below is his explanation.
The syntax: "w slvadd regadd r slvadd x x x p"
Just close the w part with an r and the tool will do a restart followed by a read
The p at the end will do the stop
X is for a byte you want to read, so put as many x as the number of bytes you want to read