This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc3200 Serial1 Vs Serial

Other Parts Discussed in Thread: ENERGIA, CC3200

Can some one help me to understand what is the pin number for Serial. port when used in BP (non-flash mode) mode where I shift the jumper from J6, J7 to Rx, Tx below as detailed in guide. As per the document it says UART can be accessed in 20-pin connector once we make above changes

I assume it is P03 (Tx ) and P04 (Rx)  but when I try below example, looks like the value are NOT showing as "A"  in my COM port. in my receiver code. 

Please note: I use a receiver which sample the value and send to COM port 

 BTW, I tried with Serial1.  and it works perfectly for the same sketch.

 Below is my Energia Sketch 

//============Transmitter code =====================//

#define LED RED_LED

 
char ch;
void setup()
{
  
//  Serial1.begin(9600); // Working
Serial.begin(9600);
 
  // put your setup code here, to run once:
  
}
 
void loop()
{
  // Serial1.write('A'); // Working connected to P01, P02 (Tx, Rx)
Serial.write('A') ; // NOT working - GPIO P03, P04 (Tx, RX)
 
  delay(1000);
  
  
  // put your main code here, to run repeatedly:
  
}
 
//================Receiver code===========================//

void setup() {
// initialize both serial ports:
pinMode(GREEN_LED,INPUT);
Serial.begin(115200);
Serial1.begin(9600);
}

void loop() {
// read from UART1 (Transmitter value)  , send to UART0
if (Serial1.available()) {
int inByte = Serial1.read();
Serial.write(inByte);
}
}