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.
我用的是两线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里对应的寄存器,程序其他地方没有任何改动
首先The USCI_Ax 支持:
• UART mode
• Pulse shaping for IrDA communications
• Automatic baud rate detection for LIN communications
• SPI mode
The USCI_Bx 支持:
• I2C mode
• SPI mode
在SPI传输上应该没有什么区别。