Posted on May 17, 2011 at 09:47Reference Manual http://www.st.com/stonline/products/literature/um/12126.pdf page 98 Current Vector Address Register (VICx_VAR) ''– At the end of the ISR, write to the VIC0_VAR register (or VIC1_VAR if the interrupt so...
Posted on May 17, 2011 at 09:47>>RX_CURR_DONE to see if it is more than one descr ready, maybe this is not necessary ? I think so. >>How can I counting dropped packets on easy way, shall I use RX_NEXT interrupt ? There is a ''PACKET_LOST_EN: PACKET_...
Posted on May 17, 2011 at 09:47you should have NPOL_EN=1 loaded from descriptor (ENET_RXNDAR) but also NXT_EN=1 in ENET_RXCR loaded from DMA_CONTROL part of descripor (where DMA_XFERCOUNT = size is) NPOL_EN is for polling only, if you can guarantee ...
Posted on May 17, 2011 at 09:47What are you trying to achieve? Counting the dropped packets? I don't now the KEIL driver, but the VALID bit should be set after you processed the packet. Until that packets are dropped automatically. Andras