Part Number: AM6442
CCS 21.0.0
MCU plus sdk 12.01.00.33
syscfg 1.27.0
I have an AM6442 that I am trying to get a basic gpio interrupt working. I have linux running on the A53s and FreeRTOS running on the R5F0_0. I setup syscfg in the following manner:
I am calling the Board_gpioInit function after system and board init. I've called it before and after starting the scheduler. I went into the device tree and added the following lines:
&main_gpio0 {
status = "reserved";
};
&main_gpio1 {
status = "reserved";
};
&mcu_gpio0 {
status = "reserved";
};
&main_gpio_intr {
status = "reserved";
};
&mcu_gpio_intr {
status = "reserved";
};
I have also added libgpiod to my build and can confirm no gpios are detected. Even so, in Board_gpioInit the program hangs on a DebugP_assert as the call to Sciclient_rmIrqSet alwasy returns -1 (I am doing this before setting up my HwiP parameters). Below is the following sciclient setup for rmIrqSet:
Any ideas what I might be doing wrong? I am new to this architecture and still working out some of the details.