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.

关于MSP430G2303的USCI_A0和USCI_B0的SPI通信方式的差别

我用的是两线jtag下载方式,软件平台是:IAR

操作系统:XP

你好,我编写了一个用USCI的SPI 三线方式(用到MISO,MOSI,和CLK三个引脚)外加一个普通IO口P1.4作为cs信号)控制华邦的w25q16的串行flash,但是当用到USCI_A0模块的SPI时,flash读写正常,但是当移植到USCI_B0模块时,flash读出来的数据有误,USCI_A0模块程序和USCI_B0模块程序的唯一不同之处就是将A0里的所有相关寄存器都改为B0里对应的寄存器,程序其他地方没有任何改动