The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.
CP2102 and MSP430F1611 - Gang Xu - Nov 9 5:56:02 2009
I connected TXD and RXD of CP2102 to RXD0 and TXD0 of F1611 respectively.
After the driver is installed, I got a virtual COM port on my PC. Then I
opened HyperTerminal (HT). I typed character 'U' and I am supposed to get
'U' back from MCU's UART interrupt routine. But nothing happened in
HyperTerminal.
Then I tried to connect TXD and RXD of CP2102 to a UART-RS232 converter chip
(ST3232) which has another COM port on my PC. I can type any characters in
one COM port HT and see the same thing in another COM port HT. This means
that CP2102 works fine with UART-RS232 chip.
Could anyone tell me what needs to be taken care of when connecting CP2102
to MSP430F1611 MCU?
Thanks in advance.
[Non-text portions of this message have been removed]
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )
Re: CP2102 and MSP430F1611 - Michael - Nov 9 10:45:26 2009
Since you have the ST3232, you can connect the MSP to your PCs COM port and try the same
thing you did with the CP2102.
Is suspect you will also get no data on the MSP430, because your description points to a
problem with the programming of the MSP.
Since you didn't post any code we can't tell you what is wrong with it, but start by
checking if the MSP is not receiving or not sending the byte.
Regards,
Michael K.
--- In m...@yahoogroups.com, Gang Xu
wrote:
>
> I connected TXD and RXD of CP2102 to RXD0 and TXD0 of F1611 respectively.
> After the driver is installed, I got a virtual COM port on my PC. Then I
> opened HyperTerminal (HT). I typed character 'U' and I am supposed to get
> 'U' back from MCU's UART interrupt routine. But nothing happened in
> HyperTerminal.
>
> Then I tried to connect TXD and RXD of CP2102 to a UART-RS232 converter chip
> (ST3232) which has another COM port on my PC. I can type any characters in
> one COM port HT and see the same thing in another COM port HT. This means
> that CP2102 works fine with UART-RS232 chip.
>
> Could anyone tell me what needs to be taken care of when connecting CP2102
> to MSP430F1611 MCU?
>
> Thanks in advance.
> [Non-text portions of this message have been removed]
>
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: CP2102 and MSP430F1611 - Gang Xu - Nov 9 13:48:39 2009
Thank you for your quick reply. MSP430F1611 works fine with ST3232. In HT if
I type 'U', I can receiver 'U' back. But when I debug CP2102 with F1611,
there is no 'U' received on the MCU. Is it OK to tie TXD and RXD of CP2102
directly to MCU's RXD0 and TXD0 pins? Do I need to use some kind of
isolation chip between them?
Thanks again.
On Mon, Nov 9, 2009 at 7:41 AM, Michael
wrote:
> Since you have the ST3232, you can connect the MSP to your PCs COM port and
> try the same thing you did with the CP2102.
> Is suspect you will also get no data on the MSP430, because your
> description points to a problem with the programming of the MSP.
> Since you didn't post any code we can't tell you what is wrong with it, but
> start by checking if the MSP is not receiving or not sending the byte.
>
> Regards,
> Michael K.
> --- In m...@yahoogroups.com , Gang Xu
> wrote:
> >
> > I connected TXD and RXD of CP2102 to RXD0 and TXD0 of F1611 respectively.
> > After the driver is installed, I got a virtual COM port on my PC. Then I
> > opened HyperTerminal (HT). I typed character 'U' and I am supposed to get
> > 'U' back from MCU's UART interrupt routine. But nothing happened in
> > HyperTerminal.
> >
> > Then I tried to connect TXD and RXD of CP2102 to a UART-RS232 converter
> chip
> > (ST3232) which has another COM port on my PC. I can type any characters
> in
> > one COM port HT and see the same thing in another COM port HT. This means
> > that CP2102 works fine with UART-RS232 chip.
> >
> > Could anyone tell me what needs to be taken care of when connecting
> CP2102
> > to MSP430F1611 MCU?
> >
> > Thanks in advance.
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: CP2102 and MSP430F1611 - Candemir Orsan - Nov 9 14:05:54 2009
I've used the CP2102 on many projects:
How is the MSP430 powered? Is there an operating voltage difference between the CP2102 and
the MSP430?
(I assume you have a common ground between the two chips?)
If you've taken care of these, you can connect the CP2102 pins directly to the MSP430 and
get results.
C.
________________________________
From: Gang Xu
To: m...@yahoogroups.com
Sent: Mon, November 9, 2009 1:47:33 PM
Subject: Re: [msp430] Re: CP2102 and MSP430F1611
Thank you for your quick reply. MSP430F1611 works fine with ST3232. In HT if
I type 'U', I can receiver 'U' back. But when I debug CP2102 with F1611,
there is no 'U' received on the MCU. Is it OK to tie TXD and RXD of CP2102
directly to MCU's RXD0 and TXD0 pins? Do I need to use some kind of
isolation chip between them?
Thanks again.
On Mon, Nov 9, 2009 at 7:41 AM, Michael wrote:
> Since you have the ST3232, you can connect the MSP to your PCs COM port and
> try the same thing you did with the CP2102.
> Is suspect you will also get no data on the MSP430, because your
> description points to a problem with the programming of the MSP.
> Since you didn't post any code we can't tell you what is wrong with it, but
> start by checking if the MSP is not receiving or not sending the byte.
>
> Regards,
> Michael K.
> --- In m...@yahoogroups.com , Gang Xu
> wrote:
> >
> > I connected TXD and RXD of CP2102 to RXD0 and TXD0 of F1611 respectively.
> > After the driver is installed, I got a virtual COM port on my PC. Then I
> > opened HyperTerminal (HT). I typed character 'U' and I am supposed to get
> > 'U' back from MCU's UART interrupt routine. But nothing happened in
> > HyperTerminal.
> >
> > Then I tried to connect TXD and RXD of CP2102 to a UART-RS232 converter
> chip
> > (ST3232) which has another COM port on my PC. I can type any characters
> in
> > one COM port HT and see the same thing in another COM port HT. This means
> > that CP2102 works fine with UART-RS232 chip.
> >
> > Could anyone tell me what needs to be taken care of when connecting
> CP2102
> > to MSP430F1611 MCU?
> >
> > Thanks in advance.
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: CP2102 and MSP430F1611 - Gang Xu - Nov 9 14:14:03 2009
CP2102 is powered by VBUS (5V) from USB interface. I am using its pin6 VDD
(3.3V output) to power MSP430F1611. CP2102 is configured as USB bus powered.
Is this OK?
Thanks again.
On Mon, Nov 9, 2009 at 11:05 AM, Candemir Orsan
wrote:
> I've used the CP2102 on many projects:
>
> How is the MSP430 powered? Is there an operating voltage difference between
> the CP2102 and the MSP430?
>
> (I assume you have a common ground between the two chips?)
>
> If you've taken care of these, you can connect the CP2102 pins directly to
> the MSP430 and get results.
>
> C.
>
> ________________________________
> From: Gang Xu >
> To: m...@yahoogroups.com
> Sent: Mon, November 9, 2009 1:47:33 PM
> Subject: Re: [msp430] Re: CP2102 and MSP430F1611
> Thank you for your quick reply. MSP430F1611 works fine with ST3232. In HT
> if
> I type 'U', I can receiver 'U' back. But when I debug CP2102 with F1611,
> there is no 'U' received on the MCU. Is it OK to tie TXD and RXD of CP2102
> directly to MCU's RXD0 and TXD0 pins? Do I need to use some kind of
> isolation chip between them?
>
> Thanks again.
>
> On Mon, Nov 9, 2009 at 7:41 AM, Michael >
> wrote:
>
> >
> >
> > Since you have the ST3232, you can connect the MSP to your PCs COM port
> and
> > try the same thing you did with the CP2102.
> > Is suspect you will also get no data on the MSP430, because your
> > description points to a problem with the programming of the MSP.
> > Since you didn't post any code we can't tell you what is wrong with it,
> but
> > start by checking if the MSP is not receiving or not sending the byte.
> >
> > Regards,
> > Michael K.
> >
> >
> > --- In m...@yahoogroups.com
> 40yahoogroups.com>, Gang Xu
>
> > wrote:
> > >
> > > I connected TXD and RXD of CP2102 to RXD0 and TXD0 of F1611
> respectively.
> > > After the driver is installed, I got a virtual COM port on my PC. Then
> I
> > > opened HyperTerminal (HT). I typed character 'U' and I am supposed to
> get
> > > 'U' back from MCU's UART interrupt routine. But nothing happened in
> > > HyperTerminal.
> > >
> > > Then I tried to connect TXD and RXD of CP2102 to a UART-RS232 converter
> > chip
> > > (ST3232) which has another COM port on my PC. I can type any characters
> > in
> > > one COM port HT and see the same thing in another COM port HT. This
> means
> > > that CP2102 works fine with UART-RS232 chip.
> > >
> > > Could anyone tell me what needs to be taken care of when connecting
> > CP2102
> > > to MSP430F1611 MCU?
> > >
> > > Thanks in advance.
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> > [Non-text portions of this message have been removed]
>
> ------------------------------------
>

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: CP2102 and MSP430F1611 - Dan Bloomquist - Nov 9 15:54:43 2009
Gang Xu wrote:
> CP2102 is powered by VBUS (5V) from USB interface. I am using its pin6 VDD
> (3.3V output) to power MSP430F1611. CP2102 is configured as USB bus powered.
> Is this OK?
>
>
It is ok if that is where you intend to go. Are you JTAG'ing this thing?
Do you have any idea if your code is good? I'm USB'ing an F149 with the
FT232. the USART pretty much worked right out of the box. If you set a
break point in the RX interrupt you should hit it even if your baud
rates are messed up. You should hit it just by unplugging the RX line
and creating noise on it.
Post your uart initialize and loop back code. My loop back test looked
something like this:
interrupt ( USART0RX_VECTOR ) uart0_rx_interrupt( void )
{
uart_rx= U0RXBUF;
U0TXBUF= uart_rx;
}
Best, Dan.
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )
Re: Re: CP2102 and MSP430F1611 - Gang Xu - Nov 9 15:56:02 2009
I am trying a small program on MSP430F1611. MCU sends two bytes (e.g. 'C'
and 'P') to HyperTerminal at 1Hz through CP2102 and I can see them on HT.
Whenever there is a key pressed, the MCU enters UART interrupt .
On Mon, Nov 9, 2009 at 11:12 AM, Gang Xu
wrote:
> CP2102 is powered by VBUS (5V) from USB interface. I am using its pin6 VDD
> (3.3V output) to power MSP430F1611. CP2102 is configured as USB bus powered.
> Is this OK?
>
> Thanks again.
>
> On Mon, Nov 9, 2009 at 11:05 AM, Candemir Orsan
> > wrote:
>
>> I've used the CP2102 on many projects:
>>
>> How is the MSP430 powered? Is there an operating voltage difference
>> between the CP2102 and the MSP430?
>>
>> (I assume you have a common ground between the two chips?)
>>
>> If you've taken care of these, you can connect the CP2102 pins directly to
>> the MSP430 and get results.
>>
>> C.
>>
>> ________________________________
>> From: Gang Xu >
>> To: m...@yahoogroups.com
>> Sent: Mon, November 9, 2009 1:47:33 PM
>> Subject: Re: [msp430] Re: CP2102 and MSP430F1611
>> Thank you for your quick reply. MSP430F1611 works fine with ST3232. In HT
>> if
>> I type 'U', I can receiver 'U' back. But when I debug CP2102 with F1611,
>> there is no 'U' received on the MCU. Is it OK to tie TXD and RXD of CP2102
>> directly to MCU's RXD0 and TXD0 pins? Do I need to use some kind of
>> isolation chip between them?
>>
>> Thanks again.
>>
>> On Mon, Nov 9, 2009 at 7:41 AM, Michael >
>> wrote:
>>
>> >
>> >
>> > Since you have the ST3232, you can connect the MSP to your PCs COM port
>> and
>> > try the same thing you did with the CP2102.
>> > Is suspect you will also get no data on the MSP430, because your
>> > description points to a problem with the programming of the MSP.
>> > Since you didn't post any code we can't tell you what is wrong with it,
>> but
>> > start by checking if the MSP is not receiving or not sending the byte.
>> >
>> > Regards,
>> > Michael K.
>> >
>> >
>> > --- In m...@yahoogroups.com
>> 40yahoogroups.com>, Gang Xu
>>
>> > wrote:
>> > >
>> > > I connected TXD and RXD of CP2102 to RXD0 and TXD0 of F1611
>> respectively.
>> > > After the driver is installed, I got a virtual COM port on my PC. Then
>> I
>> > > opened HyperTerminal (HT). I typed character 'U' and I am supposed to
>> get
>> > > 'U' back from MCU's UART interrupt routine. But nothing happened in
>> > > HyperTerminal.
>> > >
>> > > Then I tried to connect TXD and RXD of CP2102 to a UART-RS232
>> converter
>> > chip
>> > > (ST3232) which has another COM port on my PC. I can type any
>> characters
>> > in
>> > > one COM port HT and see the same thing in another COM port HT. This
>> means
>> > > that CP2102 works fine with UART-RS232 chip.
>> > >
>> > > Could anyone tell me what needs to be taken care of when connecting
>> > CP2102
>> > > to MSP430F1611 MCU?
>> > >
>> > > Thanks in advance.
>> > >
>> > >
>> > > [Non-text portions of this message have been removed]
>> > >
>> >
>> >
>> >
>>
>> [Non-text portions of this message have been removed]
>>
>> ------------------------------------
>>

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: CP2102 and MSP430F1611 - Candemir Orsan - Nov 9 15:59:54 2009
Sounds like the hardware in configured correctly.
What's in the RXBUF when you enter the UART interrupt? (is it what you expect?)
C.
________________________________
From: Gang Xu
To: m...@yahoogroups.com
Sent: Mon, November 9, 2009 3:55:56 PM
Subject: Re: [msp430] Re: CP2102 and MSP430F1611
I am trying a small program on MSP430F1611. MCU sends two bytes (e.g. 'C'
and 'P') to HyperTerminal at 1Hz through CP2102 and I can see them on HT.
Whenever there is a key pressed, the MCU enters UART interrupt .
On Mon, Nov 9, 2009 at 11:12 AM, Gang Xu wrote:
> CP2102 is powered by VBUS (5V) from USB interface. I am using its pin6 VDD
> (3.3V output) to power MSP430F1611. CP2102 is configured as USB bus powered.
> Is this OK?
>
> Thanks again.
>
> On Mon, Nov 9, 2009 at 11:05 AM, Candemir Orsan
> > wrote:
>
>> I've used the CP2102 on many projects:
>>
>> How is the MSP430 powered? Is there an operating voltage difference
>> between the CP2102 and the MSP430?
>>
>> (I assume you have a common ground between the two chips?)
>>
>> If you've taken care of these, you can connect the CP2102 pins directly to
>> the MSP430 and get results.
>>
>> C.
>>
>> ________________________________
>> From: Gang Xu >
>> To: m...@yahoogroups.com
>> Sent: Mon, November 9, 2009 1:47:33 PM
>> Subject: Re: [msp430] Re: CP2102 and MSP430F1611
>> Thank you for your quick reply. MSP430F1611 works fine with ST3232. In HT
>> if
>> I type 'U', I can receiver 'U' back. But when I debug CP2102 with F1611,
>> there is no 'U' received on the MCU. Is it OK to tie TXD and RXD of CP2102
>> directly to MCU's RXD0 and TXD0 pins? Do I need to use some kind of
>> isolation chip between them?
>>
>> Thanks again.
>>
>> On Mon, Nov 9, 2009 at 7:41 AM, Michael >
>> wrote:
>>
>> >
>> >
>> > Since you have the ST3232, you can connect the MSP to your PCs COM port
>> and
>> > try the same thing you did with the CP2102.
>> > Is suspect you will also get no data on the MSP430, because your
>> > description points to a problem with the programming of the MSP.
>> > Since you didn't post any code we can't tell you what is wrong with it,
>> but
>> > start by checking if the MSP is not receiving or not sending the byte.
>> >
>> > Regards,
>> > Michael K.
>> >
>> >
>> > --- In m...@yahoogroups.com
>> 40yahoogroups.com>, Gang Xu
>>
>> > wrote:
>> > >
>> > > I connected TXD and RXD of CP2102 to RXD0 and TXD0 of F1611
>> respectively.
>> > > After the driver is installed, I got a virtual COM port on my PC. Then
>> I
>> > > opened HyperTerminal (HT). I typed character 'U' and I am supposed to
>> get
>> > > 'U' back from MCU's UART interrupt routine. But nothing happened in
>> > > HyperTerminal.
>> > >
>> > > Then I tried to connect TXD and RXD of CP2102 to a UART-RS232
>> converter
>> > chip
>> > > (ST3232) which has another COM port on my PC. I can type any
>> characters
>> > in
>> > > one COM port HT and see the same thing in another COM port HT. This
>> means
>> > > that CP2102 works fine with UART-RS232 chip.
>> > >
>> > > Could anyone tell me what needs to be taken care of when connecting
>> > CP2102
>> > > to MSP430F1611 MCU?
>> > >
>> > > Thanks in advance.
>> > >
>> > >
>> > > [Non-text portions of this message have been removed]
>> > >
>> >
>> >
>> >
>>
>> [Non-text portions of this message have been removed]
>>
>> ------------------------------------
>>

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: CP2102 and MSP430F1611 - Gang Xu - Nov 9 16:05:31 2009
Thanks for your reply. Now the problem is fixed. I forgot to enable UART RX
interrupt. So CP2102 is working with F1611 now.
Thanks again.
On Mon, Nov 9, 2009 at 12:59 PM, Candemir Orsan
wrote:
> Sounds like the hardware in configured correctly.
>
> What's in the RXBUF when you enter the UART interrupt? (is it what you
> expect?)
> C.
>
> ________________________________
> From: Gang Xu >
> To: m...@yahoogroups.com
> Sent: Mon, November 9, 2009 3:55:56 PM
>
> Subject: Re: [msp430] Re: CP2102 and MSP430F1611
>
> I am trying a small program on MSP430F1611. MCU sends two bytes (e.g. 'C'
> and 'P') to HyperTerminal at 1Hz through CP2102 and I can see them on HT.
> Whenever there is a key pressed, the MCU enters UART interrupt .
>
> On Mon, Nov 9, 2009 at 11:12 AM, Gang Xu >
> wrote:
>
> > CP2102 is powered by VBUS (5V) from USB interface. I am using its pin6
> VDD
> > (3.3V output) to power MSP430F1611. CP2102 is configured as USB bus
> powered.
> > Is this OK?
> >
> > Thanks again.
> >
> > On Mon, Nov 9, 2009 at 11:05 AM, Candemir Orsan
> > > wrote:
> >
> >>
> >>
> >> I've used the CP2102 on many projects:
> >>
> >> How is the MSP430 powered? Is there an operating voltage difference
> >> between the CP2102 and the MSP430?
> >>
> >> (I assume you have a common ground between the two chips?)
> >>
> >> If you've taken care of these, you can connect the CP2102 pins directly
> to
> >> the MSP430 and get results.
> >>
> >> C.
> >>
> >> ________________________________
> >> From: Gang Xu
> 40gmail.com>>
> >> To: m...@yahoogroups.com
> 40yahoogroups.com> >> Sent: Mon, November 9, 2009 1:47:33 PM
> >> Subject: Re: [msp430] Re: CP2102 and MSP430F1611
> >>
> >>
> >> Thank you for your quick reply. MSP430F1611 works fine with ST3232. In
> HT
> >> if
> >> I type 'U', I can receiver 'U' back. But when I debug CP2102 with F1611,
> >> there is no 'U' received on the MCU. Is it OK to tie TXD and RXD of
> CP2102
> >> directly to MCU's RXD0 and TXD0 pins? Do I need to use some kind of
> >> isolation chip between them?
> >>
> >> Thanks again.
> >>
> >> On Mon, Nov 9, 2009 at 7:41 AM, Michael
> > >> wrote:
> >>
> >> >
> >> >
> >> > Since you have the ST3232, you can connect the MSP to your PCs COM
> port
> >> and
> >> > try the same thing you did with the CP2102.
> >> > Is suspect you will also get no data on the MSP430, because your
> >> > description points to a problem with the programming of the MSP.
> >> > Since you didn't post any code we can't tell you what is wrong with
> it,
> >> but
> >> > start by checking if the MSP is not receiving or not sending the byte.
> >> >
> >> > Regards,
> >> > Michael K.
> >> >
> >> >
> >> > --- In m...@yahoogroups.com
> 40yahoogroups.com>
>
> >> 40yahoogroups.com>, Gang Xu
> >>
> >> > wrote:
> >> > >
> >> > > I connected TXD and RXD of CP2102 to RXD0 and TXD0 of F1611
> >> respectively.
> >> > > After the driver is installed, I got a virtual COM port on my PC.
> Then
> >> I
> >> > > opened HyperTerminal (HT). I typed character 'U' and I am supposed
> to
> >> get
> >> > > 'U' back from MCU's UART interrupt routine. But nothing happened in
> >> > > HyperTerminal.
> >> > >
> >> > > Then I tried to connect TXD and RXD of CP2102 to a UART-RS232
> >> converter
> >> > chip
> >> > > (ST3232) which has another COM port on my PC. I can type any
> >> characters
> >> > in
> >> > > one COM port HT and see the same thing in another COM port HT. This
> >> means
> >> > > that CP2102 works fine with UART-RS232 chip.
> >> > >
> >> > > Could anyone tell me what needs to be taken care of when connecting
> >> > CP2102
> >> > > to MSP430F1611 MCU?
> >> > >
> >> > > Thanks in advance.
> >> > >
> >> > >
> >> > > [Non-text portions of this message have been removed]
> >> > >
> >> >
> >> >
> >> >
> >>
> >> [Non-text portions of this message have been removed]
> >>
> >> ------------------------------------
> >>
> >>
> >>
> 40egroups.com> >>
> >>

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )