PSoC 4 BLE - Si1146 sensor I2C interface | Cypress Semiconductor
PSoC 4 BLE - Si1146 sensor I2C interface
Hi, I'm trying to interface my PSoC 4 BLE pioneer kit with Silicon Labs Si1146 sensor using I2C communication protocol.
I was wondering if the following sequence of functions would be sufficient.
I2CMaster_I2CMasterReadBuf(I2CSlaveAddress, (uint8 *) I2CReadBuffer, sizeof(I2CReadBuffer), I2C_I2C_MODE_COMPLETE_XFER);
Thanks in advance,