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.

Linux/AM3358: CPSW interrupt not generating system event 49 to trigger PRU

Part Number: AM3358


Tool/software: Linux

Hello,

I am having an issue where I cannot get incoming Ethernet traffic to trigger system event 49 (c0_rx_pend).

I am using the TI processor SDK 3.00.00.04 with Linux kernel 4.4.12 on a beaglebone black with a AM3358 chip.

I have a working PRU application compiled with CCS 6.2 that sets up PRU0 to enable interrupts, enable system event 49, and map system event 49 to channel 0, host 0, and then poll for the system event in R31 bit 30. I have tested this application and can verify that it works if I manually force system event 49 by setting CT_INTC.SISR to 49 and observing bit 30 change in R31. I opened a case and worked with PRU engineer Jason Reeder to verify this as well. Here is a link to the case:

e2e.ti.com/.../2061974


We think that the CPSW driver may not be configured in the TI processor SDK to enable 49 (c0_rx_pend).

Can you help me check to see if there is a CPSW setting in the kernel driver that I need to change in order to trigger system event 49 on incoming ethernet traffic?

Thanks,

Adam