Other Parts Discussed in Thread: TMS320F2808
Hi, im relatively new with this issue. Could some one tell me where could I find more information.
Is it possible to transfer symbols of 32 Bit lenght, with the serial peripheral interface?
Best regards
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.
Other Parts Discussed in Thread: TMS320F2808
Hi, im relatively new with this issue. Could some one tell me where could I find more information.
Is it possible to transfer symbols of 32 Bit lenght, with the serial peripheral interface?
Best regards
I draw to your attention that the TMS320F240 is not recommended for new designs, as indicated by the TMS320F240 Product Folder. You should consider the TMS320F2808.
To answer your question, the TMS320F240 datasheet indicates in the section entilted Serial Peripheral Interface (SPI) module on page 44, the support data word format is from one to eight data bits. Not 32.
I would also suggest you consult the TMS320F/C240 DSP Controllers Peripheral Library and Specific Devices Ref. Guide in the SPI section for details about the implementation of the peripheral itself.
You can break up your 32-bit value into 4 individual 8-bit datums to send over the SPI interface. This would need to be managed in software.
Maria Perdomo posted RE: TMS320F240 DSP’s serial peripheral interface in C2000 32-bit Microcontroller Forum.
Hi Brandon,
Thank you! The TMS320F240 is inside of a plataform im using, so I cant change it. Thats what i have.
Im reading about this, but im confuse of the function of SPISTE. I found two different explanations in the Peripheral Library (the link you kindly send me)and the data Sheet of TMS320F240
Peripheral Library:The SPISTE pin is shown as being disabled, meaning the data can be transmitted or received in this mode.
Data sheet: The SPISTE pin is shown as being disabled, meaning that data cannot be transmitted in this mode.
Which one could be correct?
Thak you in addvance.
Maria
I can certainly understand where your confusion comes in given the 2 figures, Figure 13 in the datasheet and Figure 9-1 in the users guide, are identical with the exception of the caption you cite.
I would suggest looking at the description of the SPI Master mode and SPI Slave mode of operation in Section 9.2 entitled SPI Operation. This provides a good resource for understanding the role of SPISTE in both master and slave mode. The specific section is 9.2.2.
The diagram in both resources shows the SPISTE pin itself configured as a General Purpose I/O and the functionality of the peripheral signal as forced low (or allowing data to transfer). You see this with the switch, controlled by SPIPC1.5, where it is connected to ground.
The caption in the datasheet seems to be in error.