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.

[参考译文] MSP430G2313:通过SPI - UxBR寄存器生成1MHz脉冲

Guru**** 678820 points
Other Parts Discussed in Thread: MSP430G2313
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/573373/msp430g2313-genereting-1mhz-pulses-via-spi---uxbr-register

部件号:MSP430G2313

大家好,

我的客户希望使用SPI生成一个8个脉冲链,频率为1MHz (通过SPI发送一个字节)。 他们打算将DCO设置为1MHz并将UxBR配置为'1'(除以1)以获得1MHz的SPI速度。
但是,用户指南指出:如果UxBR < 2,则会发生不可预测的19.3 操作 (第SPI.5章)。

有没有办法知道到底发生了什么? SPI字节无关紧要,需要8个1MHz脉冲。

提前感谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    FRAMziskus,您好!

    第19.3 5节指的是USART外围设备,但MSP430G2313具有USCI。 UCBRx寄存器没有相同的警告,在主模式下可以生成的最大位时钟为BRCLK (用户指南的16.3 6节)。

    此致,
    Ryan