This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/66AK2G12: i2c driver is not working while accessing without calling bios start

Part Number: 66AK2G12

Tool/software: Code Composer Studio

we are using the below EVM board for our project,

Tool/software: Code Composer Studio

PDK:- pdk_k2g_1_0_14)

in our project we are trying to access eeprom memory before the bios start i.e we are calling the function before the bios start() in this case it is not working the code hangs while accessing the memory.

but in the same case when i call the same function in a task it works i can able to access the eeprom memory.

our question is, why we can't able to access the memory without using the task? is there any internal locking mechanism using in the i2c driver?

could you please give explanation?

thanks & Regards,

selvamuthukumaran. G

  • Is the I2C driver being used in interrupt mode or in polling mode. If used in interrupt mode, you will need BIOS start so the BIOS interrupt handler. can you please elaborate on the code used before BIOS_start to read EEPROM

    Can you please provide your application cfg file and linker setting for us to check the configuration.

    Regards,

    Rahul