Z8: SPI interrupt does not work

Post a reply


Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Z8: SPI interrupt does not work

Re: Z8: SPI interrupt does not work

Post by nicholdraper on Tue Nov 18, 2008 8:42 pm

I've gotten the SPI interrupt to work. I realize that this question is way old, but for anyone searching for this, you must enable the interrupt in the SPI register:
SPICTL=0x81; /* IRQ enabled, BRG timer int-disabled, Phase:clock=0:0, Slave Mode & SPI Enabled */
and you must set an interrupt level like this:
IRQ0ENH |= 0x02; // enable SPI Interrupts
IRQ0ENL |= 0x02; //&= ~0x02;

Z8: SPI interrupt does not work

Post by souza.bruno on Mon Apr 24, 2006 1:22 pm

All others interrupts work in Z8, but the SPI interrupt does not work..
Somebody knows what can be happening???

Top

cron