Hello,
I am trying to run the PMOD AD2 ADC with Basys3 FPGA, I made it work at 100khz and 400khz, but I want to use it in HIGH SPEED MODE as described in its manual, but I am having trouble with it,
in the timing diagram, to begin the communication
1.the first data 0x08 is sent in fast mode to all slaves, does this mean that the frequency of SCL should be 400khz?
2. the second data, after the repeated start condition, is address i.e., 0x28 with write bit(0101000) in HIGH SPEED MODE, does it require to send the write bit, does HIGH SPEED here mean that the SCL frequency changed to 1.7Mhz (my intended HIGH SPEED FREQ)?
3. with no repeated start or stop condition(as per diagram, I could be wrong!), the 3rd data is address again with read bit, at 1.7 Mhz SCL ?
4. right after the ACK from slave, the master stretches the SCL signal (HIGH) for 2us, then the 1st byte of data is received from the slave
5. ACK from master then 2nd byte of data from slave, then NACK from master, then stop.
one transaction complete.
should i repeated this whole cycle every time i try to get data? or can we issue a repeated start condition after 2nd byte of data?
Thanks