Hi Robert,

If things aren't working, are you sure you followed the UART setup sequence
properly?
Quoting slau049c.pdf from Texas:
"...
The required USART initialization/re-configuration process is:
1) Set SWRST (BIS.B #SWRST,&UxCTL)
2) Initialize all USART registers with SWRST = 1 (including UxCTL)
3) Enable USART module via the MEx SFRs (URXEx and/or UTXEx)
4) Clear SWRST via software (BIC.B #SWRST,&UxCTL)
5) Enable interrupts (optional) via the IEx SFRs (URXIEx and/or UTXIEx)
Failure to follow this process may result in unpredictable USART behavior.
..."

IMHO, the behaviour isn't unpredictable: it's sure not to work! :)

Cheers,

James

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]on Behalf Of soltras
> Sent: terça-feira, 3 de fevereiro de 2004 08:31
> To: [email protected]
> Subject: [Mspgcc-users] uart
>
>
> Does anybody knows if uart TX line need other side
> (elsewhere) exist to send
> char out from TX buffer?
> In other words - does TX complete interrupt will be driven if
> nobody is
>  listening?
> robert
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>


Reply via email to