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.

MSP430F2618 SPI Lock-up?

Hello,

Seems like I am seeing somewhat rare SPI lock-ups (months without error, then it locks).  Here's the symptoms:

Right after UCA1TXBUF = *spi_tx_buffer; executed

system appears to be stuck in an infinite loop here waiting the the Rx interrupt to

do {
     GOTO_LOWPOWER();
     } while ((spi_index < length) && (WAKEUP() == FALSE));

The GIE is disabled and that blocks my wakeup timeout timer.

The MSP430 Vcc is 2.8 volts, the system clock is 9.8MHz, and the spi clock speed is 1MHz.

Seems like the spi TX interrupt got stuck executing and thus left the GIE disabled, etc....

There are peripheral device connected to the spi bus that do get power-up approx 10mS  before this spi transfer.

Any heard of an issue like this?


 

**Attention** This is a public forum