Hi <!channel> I am facing a issue in using uart. I...
# gfmpw-0-silicon
a
Hi <!channel> I am facing a issue in using uart. It dose not seem to print "hello world". I have attached the c code that I am using.
a
you can just ask your question without @ channel in the future which pings hundreds of people
someone will still respond
and, did you try probing with a logic analyzern or oscilloscope to check the behavior
don't see anything wrong at first glance
e
Are you trying to use an external UART adapter connected to pins 5&6 or builtin FTDI in UART mode?
a
builtin ftdi in uart mode
e
It's more convenient to use an external one with speed 9600 on pin 5 (TX for Caravel, RX for adapter). I had this problem with onboard FTDI also then I was bringing up my chip. If I remember correctly this "Enable UART" stops housekeeping SPI from working.
a
Is there any other way to have the data displayed on the screen of your pc via usb from caravel
Whenever I have used enable uart without the jumper between enable and uart pins the code works fine.
e
No other way I now about. Probably you can write to flash and read it back from PC, but its impractical. On the other hand an external USB-UART is very simple solution and does not require "Enable UART" jumper.