Skip to main content
Visitor II
July 30, 2024
Question

FDA903D : I2c Write procedure

  • July 30, 2024
  • 1 reply
  • 668 views

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. 

    This topic has been closed for replies.

    1 reply

    Super User
    July 30, 2024

    The write procedure is given in the datasheet.

    TDK_0-1722373843275.png

     

    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.