Hi every one, I developed a embedded system with lpc17xx (Cortex m3) equipted with interface ic KS87Bl for Ethernet communication.there are two LEDs in RJ45 which indicate that the CAT5 cable is inserted into RJ45 or no. Does any one know how can i find if Cat5 cable is inserted to the RJ45 of my board or no ?in other word i search for a method for checking connection between my board and the modem router with is linked together with cat5 cable. which register in lpc17xx i must to check? Is there any function in RL-ARM which can help me?
I found the solution:
int_stat = (LPC_EMAC->IntStatus & LPC_EMAC->IntEnable)
if(int_stat&0x08)//if true means that the cable is inserted
Thank you