I2C HAL_I2C_ERROR_AF is set and the 2nd byte is not transmitted.
using CubeMX V4.18.0. and uV5, stole parts from the '091 examples
I can see the ACK from the slave device, on the Oscilloscope
but
trying to send 0x68, 0x0E,0x00,0x00 as a packet
it sends 1 byte the 0x68 and stops.
while(HAL_I2C_Master_Transmit(&hiic2_Rtc, (uint16_t)I2C_ADDRESS, (uint8_t*)data, TXBUFFERSIZE, 10) != HAL_OK)
exits with HAL_I2C_ERROR_AF , after just one byte
I am probably doing something wrong.
mbed works properly on the port.
what s the best advice for running the IIC port on a STM32F091 ?