I am trying to configure the "aws_iot" example to work with an external crypto chip (ATECC608A by Microchip). This chip stores the private key and can perform the required ECDSA signature operations for mutual authentication. I have already configured the chip to communicate over I2C, and I am now currently trying to overwrite the mbedtls_ecdsa_sign function to offload the signature process to the external chip. However, any kind of traffic over the I2C bus produces the following error:
Code: Select all
E (8363) i2c: /home/bryan/esp/esp-idf/components/driver/i2c.c:1243 (i2c_master_cmd_begin):i2c number error
Thanks in advance for the help.