Simple UART demo

XCore Project reviews, ideas, videos and proposals.
User avatar
leon_heller
XCore Expert
Posts: 546
Joined: Thu Dec 10, 2009 10:41 pm
Location: St. Leonards-on-Sea, E. Sussex, UK.

Simple UART demo

Post by leon_heller »

Version: 1
Status: Complete
License: BSD
Download: /files/project_builds/347.zip

I wanted some minimalistic UART code so I hacked the XC-1 UART demo Tx and Rx functions to produce this little demo - it simply inputs characters typed in to a terminal emulator program into an array and sends them back again when 10 characters have been received.
I wanted some minimalistic UART code so I hacked the XC-1 UART demo Tx and Rx functions to produce this little demo - it simply inputs characters typed in to a terminal emulator program into an array and sends them back again when 10 characters have been received.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

I will test if I can make this run on the XDK and send data to the PC over the USB cable and FTDI chip.
Using the printf to the console is painfully slow.
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

I made a software "oscilloscope" in MATLAB so I can see signal data in the XCORE over the UART.
Probably not the most confused programmer anymore on the XCORE forum.
Dominik.vettel
New User
Posts: 3
Joined: Wed Nov 28, 2018 9:31 am

Post by Dominik.vettel »

Hi there!
The link is not there anymore . would be glad to know more about it.Thanks
User avatar
migueljds
Verified
Experienced Member
Posts: 96
Joined: Thu Dec 10, 2009 7:08 pm

Post by migueljds »