NXP LPC43xx谈论群 208457913
Hi all,
I am wondeing if you would like to tell us which OS + diver and stack you are talking about.
I currently have a problem with my FreeRTOS driver for the ethernet chip on the 4350.The driver is working fine in polling mode but I can't use it interupt driven. When the first interrupt comes in it seems I don't get it acknowledged the correct way (the isr is called permanently).
I enabled the Interrupt using CMSIS:
NVIC_SetPrioity(ETHERNET_IRQn,configKERNEL_INTERRUPT_PRIORITY)
NVIC_ClearPendingIRQ(ETHERNET_IRQn)
NVIC_EnableIRQ(ETHERNET_IRQn)
LPC_ETHERNET->DMA_INT_EN = DMA_INT_NOR_SUM | DMA_INT_RECEIVE ;
ISR conent:
uint32_t status = LPC_ETHERNET->DMA_STAT;
LPC_ETHERNET->DMA_STAT= status & 0xFFFF;
--> trigger rx packet processing
Does somebody have an idea whats wrong or is there a sample code availble for the ethernet controller ?
best regards,
Very interesting. I'd be very interested in the following information:
Which PHY are you using ?
-And which mode; are you using RMII or MII ?
If you're using RMII, try and see if you can notch up the speed using MII...
If I understand it correctly, RMII should give a 100Mbits/sec, while MII should give 125Mbits/sec (please correct me if I'm wrong).
Hi,
This is a really interesting test! I'd like to mention it in our embedded systems newsletter, if that's ok? Would you mind telling me the clock speed of the M0 core and also the clock speed and OS of the PC, just to rub it in even further? :)
Cheers
Richard