Hi,
I am attaching the zoomed version of the signals. Also, I included to the reset signal as well so you can see what happens next after the reset. "scope_1.bmp" shows the change of SEN only at the rising edge of the SLCK. Where the SLCK had gone down due to the reset. In "scope_3.bmp" I included the situation where MSGRDY signal is kept high and still the SEN signal shows the same behavior.
One programming issue that I am just noticing that I have is the delay loop which I think I should address that first. If you have a look at "scope_1.bmp", after reset, the MSGRDY goes low before the SCLK goes high whereas it needs to stay high until the SCL goes high again which is a sign of recovery from reset. I tried to make a delay loop to wait that amount of milliseconds, but it seems it doesn't affect at all. Following sequence of instructions are supposed to be executed:
P3OUT &= ~BIT0; // assert the reset pin (by making the pin 3.0 low)
P3OUT |= BIT0; // get out of reset (by making the pin 3.0 high)
for (int i = 0; i < 2000; i++); // wait until ANT module recovers (but it seems it doesn't do anything because for
// different values of i, I am getting the same delay of 35ms and I need a delay of
// 250ms).
P3OUT &= ~BIT3; // assert MSGRDY (by making pin 3.3 low)