2013-01-03 10:37 PM
Hi
I am attempting to interface the aptina mt9d111 with the stm3240g-eval board.To initialize all the cam registers, I have to make use of I2C. As far as I know I2C sends only 8-bit data. But some of the registers are 16-bit wide. How am I supposed to initialize them?Any help will be really appreciated. Thanks in advance.2013-01-04 12:28 AM
This has nothing to do with STM32, not even with the I2C specification.
You simply transfer 8-bit bytes through I2C; their interpretation is entirely up to the slave. Thus, refer to the chip's documentation to find out how to write it's registers. JW2013-01-04 07:50 PM
Hi
As far as I know the initial device address that has to be sent can be 7-bits wide. But in my case, the device address is itself 1519. I cant be sending 15 and then 19 as it will be overwritten. So, I am not really sure what to do.2013-01-05 11:33 AM
I agree with what JW is trying to tell you. A vast majority of devices use an 8-bit interface. This does not limit the amount of data that can be transferred. Read the operational manual for that device.
2013-01-08 04:21 AM
No, it is not. Read the manual carefully.
JW > But in my case, the device address is itself 1519.