# Update QUP serial engine firmware for I2C

Source: [https://docs.qualcomm.com/doc/80-88500-1/topic/48_Update_QUP_v3_serial_engine_firmware_for_I2C.html](https://docs.qualcomm.com/doc/80-88500-1/topic/48_Update_QUP_v3_serial_engine_firmware_for_I2C.html)

## About this task

The QUP v3 is a firmware-based target, where the QUP must be loaded with the firmware. Also, the GPI engine must be loaded with the appropriate firmware.

To update the QUP v3 firmware, configure the /slpi\_proc/core/settings/buses/qup\_fw/config/&lt;chipset&gt;/fw\_devcfg.c file as shown in the following example.

Following is an example defining SE0 as I^2^C in the fw\_devcfg.c file:

    #define SE0_PROTOCOL SE_PROTOCOL_I2C
        se_cfg se0_cfg =
         {
             .offset     = 0x80000,        // offset value no need to change
             .protocol   = SE0_PROTOCOL,  // Protocol could be I2C, SPI, UART,I3C
             .mode       = GSI,           // Mode Could be  GSI, FIFO,CPU_DMA  
             .load_fw    = TRUE,          // Should be true to load the FW
             .dfs_mode   = TRUE,          // Dynamic frequency scaling no need to modify
         };Copy to clipboard

**Parent Topic:** [I2C in QUP](https://docs.qualcomm.com/doc/80-88500-1/topic/41_I2C_in_QUP_v3.html)

Last Published: Aug 18, 2023

[Previous Topic
Enable I2C bus in sensor low-power island (SLPI)](https://docs.qualcomm.com/bundle/publicresource/80-88500-1/topics/47_Enable_I2C_bus_in_SLPI.md) [Next Topic
Configure GPI as I2C](https://docs.qualcomm.com/bundle/publicresource/80-88500-1/topics/49_Configure_GPI_as_I2C.md)