Other Parts Discussed in Thread: CC3220SF, C2000WARE,
Hi E2E,
Good day.
Is it possible to connect CC3220SF (using Code Composer Studio) and C2000 - F28379D LaunchPad (using MATLAB Simulink) through SPI communication protocol?
Regards,
Carlo
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 E2E,
Good day.
Is it possible to connect CC3220SF (using Code Composer Studio) and C2000 - F28379D LaunchPad (using MATLAB Simulink) through SPI communication protocol?
Regards,
Carlo
Hi Carlo,
Yes, it is possible for the devices to communicate over SPI interface. CCS vs. MATLAB Simulink being used shouldn't matter as long as the protocols can be made to match each other.
Best,
Kevin
Hello Kevin,
Can you please share a sample configuration to established the SPI communication between the devices?
Regards,
Carlo
For CCS, please refer to the SPI examples given in C2000ware.These examples are c-language based and can be modified for your use case,
For Matlab, you can skim through the material given at the FAQ site below.
Carlo,
Here is the link the MW example for SPI on the C2000 with Simulink. This specific example is writing to a SPI EEPROM, but it can help get you started, pull up some predefines in Simulink, etc(on the page below there are 2 Matlab command line directives to pull up some SPI examples; they are c28x_spitest_ert and c28x_spi_eeprom respectively) I believe both default to the LAUNCHXL-F28379D board you have.
Best,
Matthew