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.

MSP430FR5043: RTC to MCU via SPI

Part Number: MSP430FR5043

Hi, 

My name's Manish.

This MSP430FR5043 is a custom board and I'm actually trying to talk to RTC module through SPI peripheral.

The data which I'm sending through the Tx buffer to the RTC module through SPI is verified, but I'm not receiving anything back from RTC module. I've set the UCLISTEN bit to enable loop back mode which will enable for echo mode.

I need help in the following steps, any example for anything that might help, 

  1. Generate a set of memory locations for the tx data for the registers;
  2. Generate a set of memory locations for the rx data so the RTC registers have a home;
  3. Transmit a single byte of data from the tx to the rx buffer;
  4. Generate an interrupt routine that acts to clear the input buffer of the receiver, and make ready for the next piece of data;
  5. Process the interrupt;
  6. Set a flag;
  7. Exit the interrupt call;
  8. Act to empty the Rx buffer;
  9. And start again for the next message;

 

Thanks in advance,

Yours Sincerely 

Manish

**Attention** This is a public forum