USB communication between F28379D and PC

4 visualizzazioni (ultimi 30 giorni)
Mowei Lu
Mowei Lu il 9 Mar 2022
Risposto: Asim il 24 Nov 2023
I want to establish communication between my PC and C2000 F28379D microprocessor. I think this SCIA can do the work. I want to observe what has been sent to the DSP so I connect a DAC to the output of SCIA RX. After that, I connect an oscilloscope to the DAC port. However, when I press the key on my laptop, I can observe nothing through the oscilloscope. The led on the DSP do flash when I press a key. Does anyone know how to tackle this issue?

Risposte (1)

Asim
Asim il 24 Nov 2023
Hello Mowei,
I understand you are facing difficulty in visualizing the UART data via a DAC and oscilloscope on your TMS320F28379D microcontroller. To troubleshoot, please try the following steps:
  1. Disconnect the DAC from the SCIA RX pin.
  2. Connect the oscilloscope probe directly to the SCIA RX pin, ensuring proper grounding.
  3. Set the oscilloscope to detect the expected UART signal levels.
  4. Send data from your PC and observe if the correct waveform appears on the oscilloscope.
If the oscilloscope displays the expected waveform, then the UART communication is functioning properly, and you may need to examine the DAC configuration in your firmware to ensure that the data is accurately processed from the SCIA RX interrupt to the DAC. On the other hand, if the waveform is incorrect, the issue likely lies within the UART setup.
I hope this helps you.
Best Regards,
Asim Asrar

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by