【CDC】How to use it in Data Visualizer?

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm sorry for pasting here, since I could not find better suitable place for this topic.

 

I found there were RF0-RF1, UART TX/RX, and CDC all in PIC18F57Q43 Curiosity Nano board, but I couldn't see output either in Data Visualizer or other Serial tool, has here anyone know how to set of config it? IN searching for solution I found a manual(https://ww1.microchip.com/downlo...), but it couldn't give me useful info I want.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The Data Visualiser was an Atmel thing - is it supported/implemented on PIC boards ?

 

If not, there are plenty of other things that can capture data from a serial port & graph it ...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

If you can't get output on a serial terminal, then DV does not have a chance... Get the serial data going first, then feed DV data with it...

:: Morten

 

(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

MianQi wrote:
IN searching for solution I found a manual(https://ww1.microchip.com/downlo...), but it couldn't give me useful info I want.
hopefully

MPLAB® Data Visualizer - Developer Help

[bottom]

Documentation

On the MDV toolbar, click the question mark Toolbar_ShowDoc_Icon.png to open help for the visualizer.

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks to gchapman, your signature led me to know Buckminster Fuller. I have thought of " Dare to be naïve. " as "Be afraid to be naive."laugh

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

meolsen wrote:

If you can't get output on a serial terminal, then DV does not have a chance... Get the serial data going first, then feed DV data with it...

 

I have seen output in terminal, now I want to see it in graph in Data Visualizer. From this page(image), I guess "USART_Write()" is the key link.Since I used PIC18, so I think maybe it is "UART_Write()".

 

Last Edited: Tue. Dec 8, 2020 - 02:37 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There are some youtube videos which might be useful: "Visual debugging with MPLAB X" https://www.youtube.com/watch?v=...