We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I'm sorry for a stupid question but I'm having BIG troubles trying to run SPI using IRQ. I have SSEL0 pulled up to +3.3V. And SPI works fine when I just poll SPIF like:
S0SPDR=0xXX; while(!(S0SPSR & 0x80)){}
/* Configure Pin Connect Block */ PINSEL0=0x5500; /* Set pclk to same as cclk */ VPBDIV=0x01; /* Set to highest speed for SPI at 60 MHz -> 7.5 MHz */ S0SPCCR=0x08; VICIntSelect &= ~( 0x0400 ); VICIntEnable |= 0x0400; VICVectAddr2 = ( unsigned long ) vSPI0_ISR; VICVectCntl2 = 0x02a; /* Device selected as master, IRQ on */ S0SPCR=0xa0;