Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/09/04 21:20
Read: times


 
#77161 - SPI sample code ATMEL AT89C51CC03
Has anybody used the SPI sample code for the AT89C51CC03 from the website at www.atmel.com?

There are several faults in the included header file.
Also the SPI interrupt vector address is wrongly defined.

Now the question: How can I calculate the interrupt number from the address. Is it just incrementing the number zero based?

The IRQ address is 0x53. I think it should be

void SPI_ISR(void) interrupt 10 using x
{
}

Is this correct?
The reference URRL is :
"http://www.atmel.com/dyn/produ...rt_id=3186"

and look under SPI sample application code (the mode does not matter).

Thanks

List of 12 messages in thread
TopicAuthorDate
SPI sample code ATMEL AT89C51CC03            01/01/70 00:00      
   RE: SPI sample code ATMEL AT89C51CC03            01/01/70 00:00      
      RE: SPI sample code ATMEL AT89C51CC03            01/01/70 00:00      
      Book vs teacher            01/01/70 00:00      
         RE: Book vs teacher            01/01/70 00:00      
      RE: SPI sample code ATMEL AT89C51CC03            01/01/70 00:00      
         another problem with IRQ from SPI CC03            01/01/70 00:00      
            RE: another problem with IRQ from SPI CC03            01/01/70 00:00      
               RE: another problem with IRQ from SPI CC03            01/01/70 00:00      
                  RE: simulator            01/01/70 00:00      
                     RE: simulator            01/01/70 00:00      
                        RE: simulator            01/01/70 00:00      

Back to Subject List