AnsweredAssumed Answered

SE050 always NACKS on i2c command

Question asked by Badhri Narayanan Radhakrishnan on Feb 17, 2020
Latest reply on Feb 23, 2020 by Kan_Li

Hi Good day, I'm using SE050 as a I2C slave to my I2C Master STM32 board. Every time when i try to initiate a Soft Reset Request, I always get a nack. 


#define SLAVE_ADDR 0x48<<1

uint8_t packet[5] = {  //for soft reset request
            0x5A,             // NAD
            0xCF,             // PCB for reset
            0x00,            // LEN is 0 no INF
            0x37,            // CRC 1
            0x7F             // CRC 2

while (ret = (HAL_I2C_Master_Transmit(&hi2c1, SLAVE_ADDR, packet, sizeof(packet), 100)) != HAL_OK);

/* code */


Please help me with if I'm sending the wrong values. The packet values are calculated as per the I2C specs datasheet. As for the CRC I'm using the SE050 Plug Trust's library function.