STM32F429I Disco and mIP Stack

Hello,

I want to run the mIP stack with the ENC module on my STM32F429 Disco. Can anybody help me with the pin assignments? I am not sure about which pins I can use for one of the five SPI…

This does not work:

 case InterfaceProfile.STM32F429I_DISCO:

                    Cpu.Pin SPI1_SCK  = (Cpu.Pin) 5; //Stm32F429IDisco.Pins.PA5; 
                    Cpu.Pin SPI1_MISO = (Cpu.Pin) 6; //Stm32F429IDisco.Pins.PA6;
                    Cpu.Pin SPI1_MOSI = (Cpu.Pin) 7; //Stm32F429IDisco.Pins.PA7;
                    
                    Cpu.Pin EXT_INT =  (Cpu.Pin) 9;//Stm32F429IDisco.Pins.PA9;
                    Cpu.Pin cs =  (Cpu.Pin) 10;//Stm32F429IDisco.Pins.PA10;
                    SPI.Configuration config = new SPI.Configuration(SPI1_SCK, false, 1, 1, false, true, 4000, (SPI.SPI_module)1);

                    Start(MacAddress, name, SPI.SPI_module.SPI1, EXT_INT, cs);
                    break;

Later on in the mIP code the interrrupt port is set as follows:


		public ENC28J60Driver(Cpu.Pin irqPin, Cpu.Pin csPin, SPI.SPI_module spiModule)
		{
			irq = new InterruptPort(irqPin, true, Port.ResistorMode.PullDown, Port.InterruptMode.InterruptEdgeLevelLow);
			irq.OnInterrupt += new NativeEventHandler(irq_OnInterrupt);

           

Maybe the interrupt mode is wrong here?
Any ideas?

Thanks a lot.