Hi,
Can we Configure Hercules TMS570 MCU to SPI Slave?If yes can I get Sample code
Regards,
Bindu
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.
Hi,
Can we Configure Hercules TMS570 MCU to SPI Slave?If yes can I get Sample code
Regards,
Bindu
5381.example_spi_Master_Slave.c
This is an example that you can find in the following path:
"C:\ti\Hercules\HALCoGen\v04.05.01\examples\RM46x"
The example uses the SPI module to be configured as master ---> slave
Hi Martin,
Thanks for the example, As I'm new to this TMS570 can you please help me and let know how to configure the project in CCS
we are using "TMS570LS 1224BPGEQQ1"
Regards,
Bindu
good, I've noticed that your version of Hercules has not SPI2, so change some settings:
RM46 ---> TMS570
SPI2 ----> SPI1
SPI1 ----> SPI3
within the code, make some changes.
I do not have the version of your Hercules with the I can do testing!
pls let me know if it working for you!
* ------------------
* GUI configurations
* ------------------
* 1) Driver TAB
* - Select SPI1
* - Select SPI3
* 2) VIm Channel 0-31
* - Enable SPI1 Level 0 and Level 1 channels.
* 3) SPI1 TAB
* - SPI1 Global SubTAB
* - Uncheck Master Mode
* - Uncheck Internal Clock
* - SPI1 Port SubTAB
* - Uncheck DIR for CS 0
* 3) SPI3 TAB
* - Have it default
* 4) Generate Code.
*