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.
Tool/software: TI-RTOS
Hi,
Am trying to create GPIO interrupt based program using PRU on AM572x-EVM. But getting trouble to build project using PRU .
Am using CSL library for GPIO interrupt. Am able to run program if am using CSL_xbarDspIrqConfigure or CSL_xbarIrqConfigure. But my requirement is to generate interrupt based on PRU so am using CSL_xbarPrussIrqConfigure to configure PRU interrupt for GPIO.
Am getting below error while build my project:
undefined first referenced
symbol in file
--------- ----------------
CSL_xbarPrussIrqConfigure ./main.obj
GPIOPinIntEnable ./main.obj
GPIO_config ./GPIO_drv.obj
Intc_Init ./main.obj
Intc_IntEnable ./main.obj
Intc_IntPrioritySet ./main.obj
Intc_IntRegister ./main.obj
Intc_SystemEnable ./main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "TestPRU.out" not built
gmake[1]: *** [TestPRU.out] Error 1
gmake: *** [all] Error 2
>> Compilation failure
makefile:140: recipe for target 'TestPRU.out' failed
makefile:136: recipe for target 'all' failed
Can i know how to achieve this. PRU example i found on SDK are without interrupt & also using GPIO which are directly attach to PRU unit.
My main aim is to generate Interrupt on GPIO for DSP1 core using PRU.
Thanks
geek13
Hi Garrett,
Thanks for your suggestions.
Kindly see the below thread we open on TI forum for more detail:
https://e2e.ti.com/support/processors/f/791/t/796814?tisearch=e2e-sitesearch&keymatch=%20user:294338
And am not able to open a link you provided above for PRU_ARMtoPRU_Interrupt ==> git.ti.com/.../PRU_ARMtoPRU_Interrupt
And trying to apply as you suggested, let you know soon.
Thanks
Geek13
Hi Garrett,
Thanks for you valuable suggestion, will try this soon, right now am able to interact between PRU & DSP using Mailbox.
Regards,
Geek13