Other Parts Discussed in Thread: MSP430F5529
Problem:
Experiencing problem with USCI B0 SPI port for External (XT2) clock speeds at 16MHz.
However, there are no problems with the 115200 bps UART communications or timers.
External OSC inputs:
XT1 = 32kHz crystal that was resident on the MSP-EXP430F5529LP dev kit.
XT2 = 16Mhz ceramic resonator (P/N ECS-CR2-16.00-B.TR) with built-in capacitors (15pF)
Desired clock sourcing.
- XT1 (32 kHz ) --> ACLK
- XT2 (16 MHz) --> (DIV by 2) --> SMCLK (want 8Mhz)
- XT2 (16 MHz) --> MCLK (want 16MHz)
- MCLK for CPU.
Currently, using the USCI B0 SPI channel 3-wire interface.
We are able to obtain successful communications at 4MHz, and now 8MHz, for both SPI and UART interfaces. However, SMCLK and MCLK have to be the same speed or there's a problem.
When moving to 16MHz for the MCLK, such that XT2 is not divided down, the SPI bus is no longer coherent. The UART comms continues to work, and the timers of course continue to work.
Not sure if MCU setup is not correct for running at this desired speed, or if there are other issues with the physical setup, such as SPI bus length (wire length) and construction.
We are using some 6-inch jumpers from the MSP-EXP430F5529LP breakout pins to another SPI device (slave).
To get started with assistance from TI, what other information do you need.
What are some other areas we need to consider to achieve the desired MCLK (16MHz) and SMCLK (8MHz) speeds, that are sourced from an external (XT2 @ 16MHz)?
Thanks in advance.