I'm new to the MSP430 and I'm trying to familiarize myself with the USART in UART mode. I figured a good start would be to step through some sample code. When I run the MSP430F149 UART Demo Code in the files section of this group, it just hangs at the call to function INITIALISE_BASIC_CLOCK() When I step through this function, the Quadravox AQ430 throws an error at line: BCSCTL2 = 0x01; // default + External resistor for I injection The error i'm getting is "Error Reading SFR Area!" Continue? I am also using the SoftBaugh test board.
MSP430F149 UART Demo Code
Started by ●February 10, 2005
Reply by ●February 11, 20052005-02-11
Maybe you're not configuring the clock module according to what there is
in your board. Is there an external crystal? That could be the cause of
the error you mentioned. Usually for communication purposes is better to
use a crystal, because it's more accurate than the internal DCO with an
external resistor. Check the chapter 4 of the user's guide to see how to
configure correctly the clock module.
Regards,
Adriano.
andre_chouinard wrote:
>
>
> I'm new to the MSP430 and I'm trying to familiarize myself with
the
> USART in UART mode.
>
> I figured a good start would be to step through some sample code.
> When I run the MSP430F149 UART Demo Code in the files section of this
> group, it just hangs at the call to function INITIALISE_BASIC_CLOCK()
>
>
>
>
> When I step through this function, the Quadravox AQ430 throws an
> error at line:
>
> BCSCTL2 = 0x01; // default + External resistor for I injection
>
> The error i'm getting is "Error Reading SFR Area!" Continue?
>
> I am also using the SoftBaugh test board.
>
>
>
>
>
>
>
>
> .
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>