Jump to content

Recommended Posts

I am using TM4C123GXL and for some reason I am getting garbage values when I try to read the values from PB1 pin. I flashed this simple code to test the UART:

void setup() {
  // initialize ports:
  Serial.begin(115200); //connected with USB

void loop() {

But instead of 'E' I see these garbage values:


I am reading using the same 115200 baud rate.


What am I doing wrong? May be I do not flash the code correctly? I simply put the device into DEBUG mode and connect to my Ubuntu PC using the top micro USB port (red LED turns on). Then I simply Upload the code to the correct Serial port and then unplug the device.



I can confirm that I flash the code correctly. I tried to flash an empty code after which nothing was sent from the UART port

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now