I tried running the patch by changing the pins by programming it. These are the changes I made in theboard.h file
#define SPI_IRQ_PORT_DIR P1DIR (previously was P2DIR)
#define SPI_IRQ_PORT_SEL P1SEL (previously was P2SEL)
#define SPI_IRQ_PORT_SEL2 P1SEL2 (Similar changes made)
#define SPI_IRQ_PIN BIT0 (Previosly BIT6)
#define WLAN_EN_PORT_OUT P2OUT (previously P1OUT)
#define WLAN_EN_PORT_DIR P2DIR (previously P1DIR)
#define WLAN_EN_PORT_SEL P2SEL (previously P1SEL)
#define WLAN_EN_PORT_SEL2 P2SEL2 (previously P1SEL2)
#define WLAN_EN_PIN BIT6 (Previosuly BIT0)
The debugger still does not progress past the line:
while(tSLInformation.ReadWlanInterruptPin() == 0)
{
}
This is part of the pio_init() function:
// P2.6 - WLAN enable full DS
WLAN_EN_PORT_OUT &= ~WLAN_EN_PIN;
WLAN_EN_PORT_DIR |= WLAN_EN_PIN;
WLAN_EN_PORT_SEL2 &= ~WLAN_EN_PIN;
WLAN_EN_PORT_SEL &= ~WLAN_EN_PIN;
/
// Configure SPI IRQ line on P1.0
SPI_IRQ_PORT_DIR &= (~SPI_IRQ_PIN);
SPI_IRQ_PORT_SEL2 &= ~SPI_IRQ_PIN;
Any solution?