I want to add functionality to the SJA1110 firmware so that the RJ45 LED blinks whenever data is transmitted or received. However, I've tried several methods, and none seem to work. Where would be the most suitable place to add this functionality?
When using management packets to detect ARP for LED blinking, it works with a breakpoint in RAM during testing, but once the breakpoint is removed, it stops working again.
I enabled the interrupt with "INT_SYS_InstallHandler(NT1SS_100BASETX_IRQn, &PHY_SJA1110_100BASETX_IRQHandler, (isr_t *)0); "but there is still no response.
Please assist me, thank you.
Hello @iverson3ya ,
a demo project has been shared with you in a private email.
It is simply checking for RX and TX counters for any changes and if there is a new value, the LEDS lit up.
Best regards,
Pavel