• AVR Freaks

Hot!How would I view UART data using dsPIC33EV Starter Kit with Simulink?

Author
Poley
New Member
  • Total Posts : 22
  • Reward points : 0
  • Joined: 2020/06/16 08:39:05
  • Location: 0
  • Status: offline
2020/06/29 05:16:07 (permalink)
0

How would I view UART data using dsPIC33EV Starter Kit with Simulink?

Hi all,
 
I am looking to read registers and display them through UART for me to debug. 
 
Firstly I am looking to view any data through UART with my dev board, I have tried the UART blocks with the MPLAB block-set but I can't seem to get any data whatsoever.
 
I have a USB currently connected that allows me to program with the onboard PICkit with embedded coder. Is it possible to achieve what i need with this setup or will I need to add anything to the board?

 
Thank you for the help! I appreciate it.
#1
XorLor
Junior Member
  • Total Posts : 71
  • Reward points : 0
  • Joined: 2009/10/23 00:17:05
  • Location: 0
  • Status: offline
Re: How would I view UART data using dsPIC33EV Starter Kit with Simulink? 2020/06/29 08:09:19 (permalink)
0
I'm not sure if you can pass UART data through the onboard debugger.
 
I would use a UART to USB adapter like the ADM00393, as suggested in the dsPIC33EV 5V CAN-LIN Starter Kit User’s Guide. Just make sure the UART to USB adapter is the correct voltage (3.3V vs 5V).
#2
Poley
New Member
  • Total Posts : 22
  • Reward points : 0
  • Joined: 2020/06/16 08:39:05
  • Location: 0
  • Status: offline
Re: How would I view UART data using dsPIC33EV Starter Kit with Simulink? 2020/06/29 08:52:06 (permalink)
0
Ah ok, wasn't sure if there was a way with the tx-matlab UART block. 
 
Will order an ADM00393 if not!
 
Thank you!
#3
milafaila
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2020/07/07 05:22:22
  • Location: 0
  • Status: offline
Re: How would I view UART data using dsPIC33EV Starter Kit with Simulink? 2020/07/10 09:55:22 (permalink)
0
Seems interesting for my programing researching project. Thanks.
#4
Jump to:
© 2020 APG vNext Commercial Version 4.5