Hi,
I was testing the overhead_3d_people_count_68xx_mss and want to have a simple output pin toggle.
I had a look at the code snipped in mss_main, Pcount3DDemo_platformInit() function, and created my own function to init a test pin.
I selected pin RADAR_GPIO_0, pin 56 on the J4 connectro of the MMWAVEICEBOOST board. As far as I can see it should connect to MMWAVEICEBOOST J5 pin 15 and comes from IWR6843ISK-ODS, WR6843QAGABL pin H13 GPIO[0].
I wrote:
uint32_t TestStatusGPIO;
Pinmux_Set_OverrideCtrl(SOC_XWR68XX_PINH13_PADAB, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
Pinmux_Set_FuncSel(SOC_XWR68XX_PINH13_PADAB, SOC_XWR68XX_PINH13_PADAB_GPIO_0);
TestStatusGPIO = SOC_XWR68XX_GPIO_0;
GPIO_setConfig (TestStatusGPIO, GPIO_CFG_OUTPUT);
And a function
void setTestPintMode(int mode)
{
GPIO_write (TestStatusGPIO, mode);
}
When calling this function from within a task, an error is generated.
{module#9}: "src/gpio.c", line 927: error {id:0x10000, args:[0x1e8cc, 0x1e8cc]}
xdc.runtime.Error.raise: terminating execution
What did I do wrong here?