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,
- Generate a set of memory locations for the tx data for the registers;
- Generate a set of memory locations for the rx data so the RTC registers have a home;
- Transmit a single byte of data from the tx to the rx buffer;
- Generate an interrupt routine that acts to clear the input buffer of the receiver, and make ready for the next piece of data;
- Process the interrupt;
- Set a flag;
- Exit the interrupt call;
- Act to empty the Rx buffer;
- And start again for the next message;
Thanks in advance,
Yours Sincerely
Manish