if(HAL_I2C_IsDeviceReady(&hi2c2,0xA0,10,100)==HAL_OK){ sprintf((char*)TxBuff,"\r\ni2c device ready");}else{ sprintf((char*)TxBuff,"\r\ni2c device fail");}if(HAL_I2C_Mem_Write(&hi2c2,0xA0,mem_add,32,&data_send,1,10)==HAL_OK){ sprintf((char*)TxBuff,"\r...