This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: DS90UB954-Q1
using ds90ub953 / 954 with ON semi AP1302 ISP. Some registers are 32 bit address.
How could these writes be performed in ALP ?
Can do 16 bit address writes to 8/16/32 bit wide registers ok
First I show below 16-bit read/write examples of imager (i2c address 0xC4). .
a) First register address 0x3129 is written with a value of 0x80 using the command
board.WriteI2C(0xC4, 0x31, [0x29, 0x80])
b) Then register 0x3129 is read back using the command
board.ReadI2C(0xC4, 0x31, [0x29, 0x01])
c) Alternatively, you can also use the following command to read back a single byte
board.ReadI2C(0xC4, 0x31, [0x29])
Below I explain with an example how to extend above method for 32-bit address:
a) For 32bit address 0x31291304, writing a 16-bit value 0x8010, this can be extended as
>>> board.WriteI2C(0xC4, 0x31, [0x29, 0x13, 0x04, 0x80, 0x10])
b) Then 2 bytes of register 0x31291304 value can be read back using the command
board.ReadI2C(0xC4, 0x31, [0x29, 0x13, 0x04, 0x02])
Please try and let us know.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Vishy Viswanathan:
In reply to martin DONAGHY:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.