EmbeddedRelated.com
Forums
Memfault Beyond the Launch

UART AVR

Started by taufiq_tqr February 14, 2010
Hi all...

I want to build communication between AVR ATMEGA8535 and my Personal Computer, but how to setting communication in that AVR uC???
Can u help to make UART Communication with C language???

Pls help me, I hope somebody in this group can help me to solve my problem...

Thanks all, Im waiting the answer...

I don't have the data sheet for the Mega8535 on my computer, but the data
sheets I have for other Mega models (actually for all Atmel chips with
USART) all include examples of initialization of the USART in both assembler
and C. Take a look at the Atmel data sheet.

Zack

On Sun, Feb 14, 2010 at 7:41 PM, taufiq_tqr wrote:

> Hi all...
>
> I want to build communication between AVR ATMEGA8535 and my Personal
> Computer, but how to setting communication in that AVR uC???
> Can u help to make UART Communication with C language???
>
> Pls help me, I hope somebody in this group can help me to solve my
> problem...
>
> Thanks all, Im waiting the answer...
>


Hi Zack,

Im new for programming AVR uC and Im learn it withuse AVR Studio and WinAVR. In here, I attach u ATMEGA8535 datasheet. Maybe u can help me to solve my problem...
Pls adding ur explanation in ur c program.

Thanks Zack

--- On Mon, 2/15/10, Zack Widup wrote:
From: Zack Widup
Subject: Re: [AVR club] UART AVR
To: a...
Date: Monday, February 15, 2010, 8:56 AM
I don't have the data sheet for the Mega8535 on my computer, but the data
sheets I have for other Mega models (actually for all Atmel chips with
USART) all include examples of initialization of the USART in both assembler
and C. Take a look at the Atmel data sheet.

Zack

On Sun, Feb 14, 2010 at 7:41 PM, taufiq_tqr wrote:

> Hi all...
>
> I want to build communication between AVR ATMEGA8535 and my Personal
> Computer, but how to setting communication in that AVR uC???
> Can u help to make UART Communication with C language???
>
> Pls help me, I hope somebody in this group can help me to solve my
> problem...
>
> Thanks all, Im waiting the answer...
>
>
>


Olimex makes an 8535 development board that comes with an RS232 communications interface. They provide a schematic and UART code in 'C' and hex.

Go here
http://www.olimex.com
Click "Development Boards"
Click "AVR"
Click "AVR-P40-8535"

Here you will find links to UART demo source code in 'C'.

The schematic is here
http://www.olimex.com/dev/images/avr-p40-8535-sch.gif

I have several of their boards and they work great.

Good luck,
Mike
--- In a..., "taufiq_tqr" wrote:
>
> Hi all...
>
> I want to build communication between AVR ATMEGA8535 and my Personal Computer, but how to setting communication in that AVR uC???
> Can u help to make UART Communication with C language???
>
> Pls help me, I hope somebody in this group can help me to solve my problem...
>
> Thanks all, Im waiting the answer...
>

Hi

You can use the Codevision AVR demo to make a simple program UART with a
your codewizard .... or the mickroC for AVR

The winavr is free ... but to learn more fast , I used both programs
(codevision and winavr)

Is easy

2010/2/15 Taufiqqurrachman

> Hi Zack,
>
> Im new for programming AVR uC and Im learn it with use AVR Studio and
> WinAVR. In here, I attach u ATMEGA8535 datasheet. Maybe u can help me to
> solve my problem...
> Pls adding ur explanation in ur c program.
>
> Thanks Zack
>
> --- On Mon, 2/15/10, Zack Widup >
> wrote:
>
> From: Zack Widup >
> Subject: Re: [AVR club] UART AVR
> To: a...
> Date: Monday, February 15, 2010, 8:56 AM
> I don't have the data sheet for the Mega8535 on my computer, but the data
> sheets I have for other Mega models (actually for all Atmel chips with
> USART) all include examples of initialization of the USART in both
> assembler
> and C. Take a look at the Atmel data sheet.
>
> Zack
>
> On Sun, Feb 14, 2010 at 7:41 PM, taufiq_tqr >
> wrote:
>
> >
> >
> > Hi all...
> >
> > I want to build communication between AVR ATMEGA8535 and my Personal
> > Computer, but how to setting communication in that AVR uC???
> > Can u help to make UART Communication with C language???
> >
> > Pls help me, I hope somebody in this group can help me to solve my
> > problem...
> >
> > Thanks all, Im waiting the answer...
> >
> >
> >
>
>

Memfault Beyond the Launch