Part Number: AM4376
Other Parts Discussed in Thread: AMIC110
Hello,
I have ported the PRU-ICSS-EthernetIP-Adapter and the ICSS_EMAC to our existing product platform (CPU: AM4376, RTOS: Nucleus-Plus). Now, I try to adapt the NIMU_ICSS to our networking stack (Nucleus-NET). Initialization of the PRUs, EIP-Adapter and ICSS_EMAC is done, link can be established and I get link interrupts (ICSS_EmacLinkISR) for both Ethernet ports. But Rx interrupts are completely missing.
The interrupt mapping is used from the EIP example (tiswitch_pruss_intc_mapping.h):
PRU EVENT => CHANNEL => HOST INT => INT NUM (ISR)
42 => 0 => PRU0 internal
54 => 1 => PRU1 internal
20 => 2 => PRU_ICSS_EVTOUT0 => 52 (ICSS_EmacRxInterruptHandler)
Having a look at the INTC registers of ICSS_1 I can see that HIPIRX set as follows:
HIPIR0 = 0x0000002A (PRU event 42)
HIPIR1 = 0x00000036 (PRU event 54)
HIPIR2 = 0x80000000 (no event pending)
All host interrupts are enabled (HIER = 0x000003FF).
I would expect that the value of HIPIR2 should be 0x00000014 and interrupt number 52 is being issued.
What might be the reason for this behavior?
Thank you in advance.
Best regards
Stefan Pape


