Interrupt Problem with CC2430

Thread Starter

garanda

Joined Dec 23, 2007
1
Hi to all !!!

I have a problem programming cc2430...

I initialize interrupts... and it JUST DETECTS THE FIRST ONE ONLY!!!

After this... the system its like freeze!!

Can you help me???
 

hgmjr

Joined Jan 28, 2005
9,027
Hi Granada,

I have separated your thread from the one in which you originally posted it.

By placing your question in its own thread, it will receive the undivided attention it deserves.

Introducing a shift in topic within an active thread even if your topic is related to the one under discussion is referred to by the term "hi-jacking". This is something that should be avoided.

Hopefully you will get a satisfactory answer to your question.

hgmjr
 

hgmjr

Joined Jan 28, 2005
9,027
Hi to all !!!

I have a problem programming cc2430...

I initialize interrupts... and it JUST DETECTS THE FIRST ONE ONLY!!!

After this... the system its like freeze!!

Can you help me???
If you are programming in assembly language then I can think of two possible explanations.

1. The stack pointer has not been initialized correctly
2. The last instrucion in the interrupt service routine is not the "return from interrupt" instruction.

Check to see it these explain you problem. If not, get back with us and we can look at other possible causes.

hgmjr
 

hgmjr

Joined Jan 28, 2005
9,027
Another possible explanation would be that the vector table is not being correctly setup for your interrupt service routine.

One way to check the vector table is to print out a listing of the compiled program and check the vector table to see it the vector is being setup.

Again, if you are programming in assembly language, it is up to the programmer to populate the vector table.

hgmjr
 
Top