This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Ethernet interrupt not received

Hi,

I use keil MDk as well as RLARM. I use a new Cortex M3 microcontroller from ST32Fxx. The ethernet driver wasnt provided by Keil. Iam using ST ethernet driver. It doesnt provide interrupt based ethernet routine (it provides only polling based routine).

I dont know what iam missing since iam not getting receive ethernet interrupts.

I use the following functions with appropriate parameters. It doesnt work. (When i place breakpoint in the ISR, iam not getting stopped) .Iam continously pinging from a PC in the same subnet.

Ethernet_Configuration()to configure the interface (assign default values, select pins to appropriate functions, select MII,set clock to peripheral)

ETH_Start() to enable MAC, enable Tx and Rx

ETH_DMARxDescChainInit()for FIFO handling
ETH_DMAReceptionCmd() to enable DMA

ETH_ConfigDMARxDescReceiveITConfig()and
ETH_DMAITConfig() to enable interrupts

ive set up the MAC address for the device.

Apart from this ive also enabled NVIC and written an IRQ in the .s file

Ive used only drivers given by ST for these functions.

Pls help me finding the missing detail to make the ethernet interrupt working. (I havent tried polling mode yet. but it doesnt suit the project requirements).

Best Regards,
Vivek