Jump to content
venkatesh223

Use of UART on pin numbers 3 and 4 on cc3200.

Recommended Posts

Hello there,

Ive been trying to use the UART on pin number 3 and 4 by using serial for monitoring the received data and serial1 for connecting and controlling the hardware(GPS) but the by  using serial1 i think  the uart isnt active.

i see by connecting gps to putty that there is no data sent from the cc device .

I checked the hardware serial .h and .cpp file where in the cpp file there is serial1 functions mentioned but in the pins_energia file i see no pin initialized as uart only analog, timers and gpio's are initialized. So what can i do to make it work.

 
1
2
3
4
5
6
7
8
9
10
11
12
13
Serial1.begin(112500);
Serial.begin(19200);
delay(50);
Serial1.println("AT");
delay(1000);
Serial1.println("AT+QGNSSC?");
delay(1000);
 
Serial1.println("AT+QGNSSC=1");
delay(1000);
 
Serial1.println("AT+QGNSSTS?");
delay(1000);

Screenshot (20).png

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

×