Did you check the errata for this device? (http://focus.ti.com/lit/er/slaz0=
34f/slaz034f.pdf)
It seems there is a bug in IrDA reception when BRCLK is above 6MHz and filt=
er is used.
-Augusto
De:m...@yahoogroups.com
Para:m...@yahoogroups.com
C=F3pia:
Data:Tue, 30 Sep 2008 19:05:37 -0000
Assunto:[msp430] Re: [IrDA] Problem when receiving several characters (bits=
shifted)
First I'd like to thank all of you for trying to help me, that's
really nice :)
Yes the RX pin from the transceiver is connected directly to the
UCA0RXD pin of the MSP430. I've tried to put the UCIRRXPL bit but it
doesn't seems to change the way the MSP430 handles the received bytes
(i.e. there's still sometimes some bytes that aren't correct).
I've tried what suggested onestone_apc, i.e. to set up the DCO @ 12MHz
and it seems that my problem occurs less frequently.
I've also tried to use the receive filter but in this case I receive
absolutely nothing (I've used several filter length values but it's
always the same result : nothing received).
And finally, to answer to Andreas K=F6pke : I will check again the
signal but from what I saw on my scope it seems correct. Maybe I can
try to capture the signal when the problem occurs...
--- In m...@yahoogroups.com, "old_cow_yellow"
wrote:
>
> Is the incoming signal from the IR transceiver connected directly to
> the F2274? You may need to set the UCIRRXPL bit in the IRRCTL
> register. Check the data-sheet of the transceiver.
>=20
> --- In m...@yahoogroups.com, "fwolff" wrote:
> >
> > Hi,
> >=20
> > I'm using a MSP430F2274 with an IrDA transceiver (Vishay TFBS4710).
> > The transmission of characters works pretty good but I've got problem
> > with the reception. I'm sending the same frame from a PDA (Palm) but I
> > don't receive it correctly every time. In fact, it seems that
> > sometimes, some bits of some characters are shifted.
> > I've configured the USCIA0 as follows :
> > - UCA0CTL1 =3D UCSSEL1 (SMCLK @ 8MHz)
> > - UCA0CTL0 =3D 0x00
> > - UCA0BR0 =3D 52
> > - UCA0MCTL =3D UCBRF0 + UCOS16
> > - UCA0STAT =3D 0x00
> > - UCA0IRTCTL =3D (UCIRTXPL4 + UCIRTXPL3 + UCIRTXPL0) + UCIREN
> > (UCIRTXPLx=3D25 to get a pulse length of about 1.63=B5s)
> > - UCA0IRRCTL =3D 0x00
> > - UCA0ABCTL =3D 0x00
> >=20
> > I was wondering that maybe it's the DCO jitter that causes those bits
> > shifting. Here is the clock configuration :
> > - DCOCTL =3D DCO2 + DCO1
> > - BCSCTL1 =3D XT2OFF + DIVA_0 + RSEL2 + RSEL1 + RSEL0
> > - BCSCTL2 =3D DCOR (Rosc=3D100k)
> >=20
> > Does anyone has an idea or suggestion ? Because I really don't know
> > what to do to get over this problem.
> > Thanks in advance for your help.
> >=20
> > Regards,
> >=20
> > Frank.
>
=20
[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 )
I was just reading this document when I saw your message :) That's
interesting because that's exactly what happens when I use the filter.
I will try the workaround.
--- In m...@yahoogroups.com, "Augusto Einsfeldt"
wrote:
>
> Did you check the errata for this device?
(http://focus.ti.com/lit/er/slaz034f/slaz034f.pdf)
> It seems there is a bug in IrDA reception when BRCLK is above 6MHz
and filter is used.
> -Augusto
>=20
> De:m...@yahoogroups.com
>=20
> Para:m...@yahoogroups.com
>=20
> C=F3pia:
>=20
> Data:Tue, 30 Sep 2008 19:05:37 -0000
>=20
> Assunto:[msp430] Re: [IrDA] Problem when receiving several
characters (bits shifted)
>=20
> First I'd like to thank all of you for trying to help me, that's
> really nice :)
>=20
> Yes the RX pin from the transceiver is connected directly to the
> UCA0RXD pin of the MSP430. I've tried to put the UCIRRXPL bit but it
> doesn't seems to change the way the MSP430 handles the received bytes
> (i.e. there's still sometimes some bytes that aren't correct).
> I've tried what suggested onestone_apc, i.e. to set up the DCO @ 12MHz
> and it seems that my problem occurs less frequently.
> I've also tried to use the receive filter but in this case I receive
> absolutely nothing (I've used several filter length values but it's
> always the same result : nothing received).
> And finally, to answer to Andreas K=F6pke : I will check again the
> signal but from what I saw on my scope it seems correct. Maybe I can
> try to capture the signal when the problem occurs...
>=20
> --- In m...@yahoogroups.com, "old_cow_yellow"
> wrote:
> >
> > Is the incoming signal from the IR transceiver connected directly to
> > the F2274? You may need to set the UCIRRXPL bit in the IRRCTL
> > register. Check the data-sheet of the transceiver.
> >=20
> > --- In m...@yahoogroups.com, "fwolff" wrote:
> > >
> > > Hi,
> > >=20
> > > I'm using a MSP430F2274 with an IrDA transceiver (Vishay TFBS4710).
> > > The transmission of characters works pretty good but I've got
problem
> > > with the reception. I'm sending the same frame from a PDA (Palm)
but I
> > > don't receive it correctly every time. In fact, it seems that
> > > sometimes, some bits of some characters are shifted.
> > > I've configured the USCIA0 as follows :
> > > - UCA0CTL1 =3D UCSSEL1 (SMCLK @ 8MHz)
> > > - UCA0CTL0 =3D 0x00
> > > - UCA0BR0 =3D 52
> > > - UCA0MCTL =3D UCBRF0 + UCOS16
> > > - UCA0STAT =3D 0x00
> > > - UCA0IRTCTL =3D (UCIRTXPL4 + UCIRTXPL3 + UCIRTXPL0) + UCIREN
> > > (UCIRTXPLx=3D25 to get a pulse length of about 1.63=B5s)
> > > - UCA0IRRCTL =3D 0x00
> > > - UCA0ABCTL =3D 0x00
> > >=20
> > > I was wondering that maybe it's the DCO jitter that causes those
bits
> > > shifting. Here is the clock configuration :
> > > - DCOCTL =3D DCO2 + DCO1
> > > - BCSCTL1 =3D XT2OFF + DIVA_0 + RSEL2 + RSEL1 + RSEL0
> > > - BCSCTL2 =3D DCOR (Rosc=3D100k)
> > >=20
> > > Does anyone has an idea or suggestion ? Because I really don't know
> > > what to do to get over this problem.
> > > Thanks in advance for your help.
> > >=20
> > > Regards,
> > >=20
> > > Frank.
> > >
> >
>=20
>=20
>=20=20
>=20
>=20
> [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 )