Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: TMS320F28335, , CC3200
Tool/software: Code Composer Studio
Hello everyone,
I attempted to try to configure a SPI connection between the TMS320F28335 and CC3200-LAUNCHXL boards, but I had no luck. I'm trying to teach myself on how to establish a SPI connection, and would like to use this thread for general questions.
So, from what I have read, the first thing I need to do is to look at the clock speeds for both boards. I would like to configure the TMS320F28335 as the master and the CC3200-LAUNCHXL as the slave. According to page 27 of the CC3200-LAUNCHXL Technical Reference Manual (Literature Number: SWRU367C), the SPI can run up to 20MHz. Now, according to page 29 of the TMS320F28335 SPI Interface Reference Guide (Literature Number: SPRUEU3A), I could set the master's baud rate to roughly 9.375MHz using this register setup:
SPIBRR = 0b00000011 (LSPCLK = 37.5MHz according to page 43 of the TMS320F28335 datasheet (Literature Number: SPRS439N) as long as the SYSCLKOUT = 150MHz)
The master's baud rate of 9.375MHz is well with the slave's 20MHz operation.
Am I understanding this correctly? Or am I off track? Thanks for your reply and guidance.