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.

AM6548: I2C init crash

Part Number: AM6548

I am trying to use the below board library api to get the board MAC address, and i am running below code on A53

Board_STATUS status;
Board_IDInfo_v2 info = {0};

status = Board_getIDInfo_v2(&info, BOARD_ICSS_EMAC_APP_BOARDID_ADDR);

however the call to this api is crashing the arm and i see below on the console.

"CortexA53_0_0: Unhandled ADP_Stopped exception 0x700AE3B0"

Upon some investigation i found the Board_getIDInfo_v2() internally tries to init the I2C module and that's crashing.

I believe that may be due to wrong I2C_config but i am not sure how to fix it.

i am including I2C module in my .cfg file using below code:

var socType = "am65xx";
var I2c = xdc.loadPackage('ti.drv.i2c');

I2c.Settings.socType = socType;

kindly help me with the resolution of this issue.