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.

MSP430FR2433: MSP-EXP430FR2433 LaunchPad SPI简介实验室-msp430fr243x_eusci_spi_standard_master.c

Part Number: MSP430FR2433

在学习SPI简介实验室给出的示例程序时,对程序有不理解的地方:

1. SPI 控制器执行的第一次读取操作时,为什么需要“Send dummy byte to start”,而不是在控制器发送出“2”后直接收到:“A”、“B”、“C”、“D”、“1”、“2”?

2. 在“case RX_DATA_MODE”中控制器读取6个数据(“A”、“B”、“C”、“D”、“1”、“2”),对这段程序我理解的是通过循环一次读一个数据,那么如何进入这个循环呢?