필터 지우기
필터 지우기

USB communication between F28379D and PC

조회 수: 6 (최근 30일)
Mowei Lu
Mowei Lu 2022년 3월 9일
답변: Asim 2023년 11월 24일
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