# Atmega328P FTDI 5V USB Serial Communication

I am working a Atmega328P and FTDI 5V USB Cable to get a Serial Communication between the Micro-controller and the PC. I am using Tera Term for receiving out from Micro-controller.

I am using an FTDI 5V USB Cable with 6 pinout.

I have following connections as

• FTDI------->ATmega328P
• VCC-------->Power
• GND------->Ground
• RX--------->Pin3

I am using the following code:

int main(void)
{

UBRR0H = (BRC >> 8);
UBRR0L = BRC;

UCSR0B = (1 << TXEN0);
UCSR0C = (1 << UCSZ01) | (1 << UCSZ00);

while(1)
{
UDR0 = '8';
_delay_ms(1000);

}
}


But I am not getting any values back in my Tera Term screen. I have done the appropriate settings with my Tera Term for serial.
I am kind of stuck with this for sometime now. Please can someone let me know, if I am doing something wrong?