This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
I am making a program for two msp to communicate with each other. The problem comes when I need to use the same interrupt in both msp, when I try to declare this interrupt in the ISR_PORT1 vector. When the program detects what type of msp and executes the code that corresponds to it, it gives me a conflict related to the duplicate declaration of the same interrupt but I don't understand what I'm doing wrong.
How can I declare this same interrupt with the same vector in each of the msp separately?
You cannot declare the ISR_PORT1 vector to 2 different ISRs because you have only one vector word per interrupt source where you can store the start address for your ISR.
So it you make it with define statements and say MSP1 and MSP2 and write 2 different ISRs or you do it within the ISR and separate between transceiver and receiver.
Hi,
Thank you for your responds but i don't have very clear how can i define a statement
on MSP1 and MSP2, please could you please put some example?
Can you please share you code that makes it easier. If you do not to make it in the forum you can send me a private message via E2E friendship request.
Any update on this?
So please let us know how we can resolve this otherwise I need to close this thread by end of the week.
**Attention** This is a public forum