USB communication between F28379D and PC

6 次查看(过去 30 天)
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?

回答(1 个)

Asim
Asim 2023-11-24
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

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by