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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/15/06 23:48
Read: times


 
#129597 - Set the STA bit to initiate the vector
Responding to: ???'s previous message
Hi Charles,

I think I figured out the problem. The interrupt vector should be at 0x3b only. The code stops at "ljmp SMBus_ISR" after
SETB STA. Rather the start bit has to be set so that the code goes to the SMBus interrupt vector.
After the SMBus is initialized, set the STA bit. Set the breakpoint at "ljmp SMBus_ISR" and you will find the code stopping at "ljmp SMBus_ISR" .

Problem solved. Thanks for your help. I am still having problems with communicating with CODEC.I will have to look more itno the code before I post any questions.

Thanks



List of 8 messages in thread
TopicAuthorDate
I2C C8051F310            01/01/70 00:00      
   post at silabs forum            01/01/70 00:00      
   question posted            01/01/70 00:00      
   Post c8051f310.inc.            01/01/70 00:00      
      no link exist            01/01/70 00:00      
   include file            01/01/70 00:00      
   SPI interrupt address 03Bh or 033h            01/01/70 00:00      
      Set the STA bit to initiate the vector            01/01/70 00:00      

Back to Subject List