Hello I wander "fdc1004" about Write and Read Freame. This datsheet suggest Device Usage.
1. Configure measurements (for details, refer to Measurement Configuration).
2. Trigger a measurement set (for details, refer to Triggering Measurements).
3. Wait for measurement completion (for details, refer to Wait for Measurement Completion).
4. Read measurement data (for details, refer to Read of Measurement Result).
So, I think like that as below.
-----------------------------------------------------------------------------------------
1. Configure measurements(I think that this step is "Write Frame")
(1) i2c start bit
(2) serial bus address+write bit --Frame1
0xa0
(3) pointer register --Frame2
0x08 (CONF_MEAS1)
(4) data msb from slave --Frame3
0x10
(5) data lsb from slave --Frame4
0x00
(6) i2c stop bit
2. Trigger a measurement set(I think that this step is "Write Frame")
(1) i2c start bit.
(2) serial bus address+write bit --Frame1
0xa0
(3) pointer register --Frame2
0x0c (FDC_CONF)
(4) data msb from slave --Frame3
0x04
(5) data lsb from slave --Frame4
0x00
(6) i2c stop bit
3. Wait for Measurement Completion I don't know which is proper frame.
I also wander how to make steps.
4. Read measurement data
In my opinion, this step need "two Read Frame" because of Meas1_MSB and Meas1_LSB, That is to say the measurement results span 2 register address.
4.1 about MEAS1_MSB
(1) i2c start bit
(2) serial bus address+write bit --Frame1
0xa0
(3) pointer register --Frame2
0x00 (MEAS1_MSB)
(4) serial bus address+read bit --Frame3
0xa1
(5) data msb from slave --Frame4
I don't konw how to configure
(6) data lsb from slave --Frame5
I don't konw how to configure
(7) i2c stop bit --Frame6
4.2 about MEAS1_LSB
(1) i2c start bit
(2) serial bus address+write bit --Frame1
0xa0
(3) pointer register --Frame2 0x00 (MEAS1_MSB)
(4) serial bus address+read bit --Frame3
0xa1
(5) data msb from slave --Frame4
I don't konw how to configure
(6) data lsb from slave --Frame5
I don't konw how to configure
(7) i2c stop bit --Frame6
-----------------------------------------------------------------------------------------
even if I read datasheet, some information is confused. So, I guess it. I want to konw that my thiking is correct or not. And I want more detail steps using
example like that my opinion.