Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22258

SPI clock generation on MSP430FR5969 MCU

$
0
0

Hi all,

I'm using 3 wires mode SPI (eUSCI peripheral in SPI mode) and trying to receive 20 bytes of data from the slave (my slave doesn't support Slave Select).

It seems that I should write SPI TX buffer on master side 21 times (for example command_byte 0x00 0x00 ... 0x00) in order to receive the data (writing a data to Tx buffer on master side is mandatory in order to trigger (generate) 8 SCK cycles). I guess this is because Tx and Rx buffers (and shift registers) are separated on MSP430fr5969 side. Am I right?

Thanks in advance,

Stevan


Viewing all articles
Browse latest Browse all 22258

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>