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.

关于MSP430F5526的外设 UCSI_B1的疑问:是否可以配置成SPI

Other Parts Discussed in Thread: MSP430F5526

1)根据手册:SLAU208M:  MSP430X5XX and MSP430X6XX family user's Guid 得知:UCSI_B模块可以配置成SPI模式或者I2C模式

目录35 Universal Serial Communication Interface – SPI Mode:35.5 USCI_B SPI Mode Registers有11个registers

目录36 Universal Serial Communication Interface – I2C Mode:36.4 USCI_B I2C Mode Registers有12个registers

它们的base adress 如果一直,如何区分I2C和SPI的registers

2)根据MSP430F5526 datasheet: SLAS590H: MSP430F551x MSP430F552x mixed signal microcontroller 中Page34页 Peripheral file map中USCI_B1 (see Table 45) 0620 点开得知,其实USCI_B1 只能配置成I2C

问题:UCSI_B1是可以配置成SPI? (CCS和IAR example中 SPI的代码都是USCI_A  )如果可以有参考例程吗? 我根据USCI_A master 模式的代码修改成USCI_B,发现是无法工作的,其中SPI时钟一直无法产生

谢谢!

 

MSP430x5xx and MSP430x6xx Family.pdf