abyl 0 Posted February 20, 2019 Share Posted February 20, 2019 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() { Serial.print("E"); delay(200); } 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. EDIT: 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 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.