Part Number: LAUNCHXL-F28377S
Hi everybody,
I tried with my LaunchPad to do a Master-Slave communication with SPI and DMA. But I have a problem with the values which i want to send.
Problem:
If I change in CodeComposerStudio the values from sdata_array[i] to 20 (for sdata_array[0]) and 1 (for sdata_array[1]) at the Master µC, the rdata_array doesn´t work correctly. It chang the [0] with [1] value from rdata_array, or the value isn´t correct. I don´t know why it is. So i hope someone have any idea.
If I watch the signal with my oszilliskop, I can´t see a really bad signal.
Maybe someone have an idea what I did wrong. Is it the Programm?! Is it the physical Development/building
Development:
Master -> F28377s LaunchXL (Power Supply over USB to Laptop)
Slave -> F28377s LaunchXL (Power Supply over USB to another PC)
That the communication is correct, i connected GND from both LaunchXL together!
Also connected MOSI with MOSI and MISO with MISO and STE with STE and CLK with CLK pin. (Without resistors or anything else)
Programm Slave:
The hole project folder is in .zip file.
Programm Master:
Only the main.c file is in .zip file. For use, change only the main.c file from slave-project-folder.
Systems:
PC vom another PC:
Compiler-version: TI v17.3.0.STS
CCS-version: 7.0.0.00043
Laptop:
Compiler-version: TI v17.3.0.STS
CCS-version: 6.1.3.00033
Thank you very much in advance.
Kind regards,
Stefan