2015-05-13 04:26 AM
Hi everyone,
I want to interface an STM32F429IIT to a SI4735 radio chip using the I2C interface. The SI4735 programming manual says, the status bytes should be read after sending a command. My problem is, that the first status byte may be zero (or at least one certain bit may be zero) which indicates the remaining status bytes are not ready for reading. In this case, the system controller (in my case the STM32) should send a NACK after the reception of the first byte and end the transmission. How can I do this? To my understanding, the ACK bit in CR1 has to be cleared before reception of a byte in order to send a NACK when it is received. Best regards, Moritz N�ltner #stm32f4 #i2c #discovery2015-05-13 04:39 AM
And of course, if the first status byte is non-zero (or the specific bit is non-zero) the communication should continue, so I cannot just clear the ACK bit in CR1 before reception of the first byte...
2015-05-15 04:16 AM
Anybody?
2015-05-15 05:27 AM