Hello,
I am attempting to test interrupts using the CSL (no OS) on a C66 core of an AM5728 using the example program given in the PDK (pdk_am57xx_1_0_17). I have created an empty CCS project and added the PDK search path to this and copied the two files (cpintc_test.c and test_lnk.cmd) from packages/ti/csl/example/cpintc into the project.
When I try to build this it tells me a number of symbols are undefined:
CSL_CGEM0_5_REG_BASE_ADDRESS_REGS
CSL_CP_INTC_0_REGS
CSL_CP_INTC_1_REGS
I can only find these defined in a C6657 specific file: packages/ti/csl/soc/c6657/src/cslr_device.h. The symbols do not appear to be defined anywhere in packages/ti/csl/soc/am572x but I can find this symbol defined in packages/ti/csl/soc/am572x/src/cslr_soc_dsp_baseaddress.h
I think this is the equivalent of CSL_CGEM0_5_REG_BASE_ADDRESS_REGS? As far as I can tell, CSL_CP_INTC_0_REGS and CSL_CP_INTC_1_REGS have no equivalent in AM572x.
Can you confirm the steps I need to take to get the cpintc_test.c program to work on a C66 of the AM5728 device?
Thank you very much.
John Wilkes