DSPRelated.com
Forums

Software Uart in C

Started by sloogy31 May 14, 2003
Hi all!!

Maybe it's my second posting!!but I didn'see traces of my first
posting in the mailing list!!

I explain briefly my problem:

I have implemented a software Uart for adsp 2189M according to
application note EE-089 from analog devices. It all just works!!

But I want to put it in ansi-c now to write four C functions :

uart_open
uart_close
uart_putchar
uart_getchar

Would be possible to compile under VisualDSP a multithreaded
application?

Can someone help me?

Thanks in advance for your help



Have a look at the C/C++ Compiler and Library Manual; there you'll find out how
to make asm routines C-callable.

JaaC

sloogy31 <> wrote:
Hi all!!

Maybe it's my second posting!!but I didn'see traces of my first
posting in the mailing list!!

I explain briefly my problem:

I have implemented a software Uart for adsp 2189M according to
application note EE-089 from analog devices. It all just works!!

But I want to put it in ansi-c now to write four C functions :

uart_open
uart_close
uart_putchar
uart_getchar

Would be possible to compile under VisualDSP a multithreaded
application?

Can someone help me?

Thanks in advance for your help _____________________________________
Note: If you do a simple "reply" with your email client, only the author of this
message will receive your answer. You need to do a "reply all" if you want your
answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://groups.yahoo.com/group/adsp

Other Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/

Jaime Andr Aranguren Cardona

---------------------------------



Must have missed your mail the first time.

Did the software UART for my 21065L completely in C.
This way I could get around with the ASM<>C hurd.

Sending works fine for all Baudrates.
Receiving hangs with higher Baudrates (>19200).
????

Jens
----- Original Message -----
From: "sloogy31" <>
To: <>
Sent: Wednesday, May 14, 2003 5:10 PM
Subject: [adsp] Software Uart in C > Hi all!!
>
> Maybe it's my second posting!!but I didn'see traces of my first
> posting in the mailing list!!
>
> I explain briefly my problem:
>
> I have implemented a software Uart for adsp 2189M according to
> application note EE-089 from analog devices. It all just works!!
>
> But I want to put it in ansi-c now to write four C functions :
>
> uart_open
> uart_close
> uart_putchar
> uart_getchar
>
> Would be possible to compile under VisualDSP a multithreaded
> application?
>
> Can someone help me?
>
> Thanks in advance for your help > _____________________________________
> Note: If you do a simple "reply" with your email client, only the author
of this message will receive your answer. You need to do a "reply all" if
you want your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/