2024-07-30 11:57 AM
FDA903D : I'm facing issue with I2C write procedure. I'm writing to the slave device (FDA903D) from my custom designed board with Infineon controller being the master device . The datasheet of FDA903D is not clearly mentioning how to do I2C transfer . I would like to look into an example to do a proper I2C data transfer(or sequence of transfer) in-order to configure appropriate amplifier registers for enabling proper audio transfer to the output pin.
2024-07-30 02:12 PM
The write procedure is given in the datasheet.
This is a simple 2-byte write to the slave address. Any I2C library can handle this. On the STM32, it could be a single call to HAL_I2C_Master_Transmit() with the two bytes as the payload.