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.

AM3358: PRU0 and PRU1 howto control __R30 status when firmware code will end control process.

Part Number: AM3358


Hi 

I want to know howto control __R30 every pins status when my code will end. 

I use pru-software-support-package version 5.6 and Linux Kernel version 4.19. The firmware issue are:

I use while(1) loop to check interrupt flag register to control my working flow. but when I reboot my Linux system. The pins of __R30 all keep hight level. But I want all __R30 pins keep low level after the Linux system reboot. My firmware use eCAP to create PWM and used interrupt on PRU0 and PRU1. 

I doubt the issue was creating by interrupt flag. I want to clarify howto init PRU __R30 all pins status. 

Thanks 

Best Regard

Felix Lee