Other Parts Discussed in Thread: MSP430FR5739, CC1200, MSP430F5529
Dear friends, I have a big trouble.
I have two interrupt signal at the same time without time difference (oscilloscope shows no time difference between this signals) And my msp430fr5739 should capture this interrupts. But it doesn't. MCU "see" only one signal. I've tried to change front for ISR (PxIES). I've tried to check events by PxIFG in the "if"-condition, I've tried to check by PxIV register but it doesn't work.
How I can capture two interrupts at the same time?
P.S.:that's a project with two cc1200 modules.
Code snippet:
/*******************************************************************************
* @fn ISR Port2 routine
* @brief ISR handle functionality
*/
#pragma vector=PORT2_VECTOR
__interrupt void Port_2(void) {
switch(__even_in_range(P2IV,16))
{
case 0: break; // No Interrupt
case 2: break; // P2.0
case 4: break; // P2.1
case 6: break; // P2.2
case 8: // P2.3
/***********************************************************************
* @fn packetReceivedISR_GPIO2_A
* @brief Function running every time a packet has been received
*/
LPM4_EXIT;
packetRecTrans_A = true;
whatHappened = ISM_INCOME_A;
// Clear ISR flag
P2IFG &= ~BIT3;
break;
case 10: // P2.4
/***********************************************************************
* @fn packetReceivedISR_GPIO2_B
* @brief Function running every time a packet has been received
*/
LPM4_EXIT;
packetRecTrans_B = true;
whatHappened = ISM_INCOME_B;
// Clear ISR flag
P2IFG &= ~BIT4;
break;
case 12: break; // P2.5
case 14: break; // P2.6
case 16: break; // P2.7
}
}