Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello,
I have an issue with getting interrupts on C7x processors for J784S4 EVM (PROC141E4). I have configured the MAIN domain GPIO_11 as input which is connected to SW3 on the board. The PADCONFIG_11 register is set to 0x00240007 as referenced from the register map excel file. (j784s4_public_combined_july2023.xlsx) My SDK version is 9.1.0.6. I don' t have any issue when running the same program on MAIN domain MCUs. (R5F) and GPIO callback function is successfully executed when I push the SW3 button. However, in case of C7x,
In GPIO_socConfigIntrPath function located in <ti/drv/gpio/soc/j784s4/GPIO_soc.c>
retVal = GPIO_socGetIrqRange(ir_id, dst_id, &irq_range_start, &irq_range_num);
returns -1. When I debug it, I observe that,
retVal = Sciclient_rmGetResourceRange(
&req,
&res,
SCICLIENT_SERVICE_WAIT_FOREVER);
returns CSL_PASS at line 707 in the same file GPIO_soc.c. However, res.range_num is 0 and GPIO_socGetIrqRange returns with CSL_EFAIL
I guess Sciclient sends request to sciserver which is a part of SYSFW running on WKUP domain MCU and then gets the response from it.
So, what is the reason of getting number of range 0 from sciserver? Am I missing something to configure for C7x case since it works on R5F?
Note that the board is on "No boot mode" and only the slave core and SYSFW is running.
Any help would be appreciated.
Thanks.