Forums

Re: IAR XCAP definitions!?

Started by kels...@yahoo.co.uk March 28, 2011
Hi there

I got the same doubt. Did you solve this issue?
By the way, how did you calculate the correct value?

Thanks in advance

Kelson

Hi all,
>
>Re. device: MSP430FG4618.
>
>I've noticed that the IAR XCAP definitions are different to that of the T.I. data sheet.
>
>IAR's header file contains:
>
>#define XCAP0PF (0x00) /* XIN Cap = XOUT Cap = 0pf */
>#define XCAP10PF (0x10) /* XIN Cap = XOUT Cap = 10pf */
>#define XCAP14PF (0x20) /* XIN Cap = XOUT Cap = 14pf */
>#define XCAP18PF (0x30) /* XIN Cap = XOUT Cap = 18pf */
>
>Whereas the FG4618 data sheet gives:
>
>00 = ~1pF
>01 = ~6pF
>10 = ~8pF
>11 = ~10pF
>
>Question is... which one is correct!!??. (I assume T.I.?)
>
>Thanks.
>
>Vbr,
> Darren
>

Beginning Microcontrollers with the MSP430

You might find the schematic included with the experimenter's board of use.
http://focus.ti.com/lit/ug/slau213a/slau213a.pdf

It shows which crystals are placed, and the caps that are used.

bob
--- In m..., kelsonbatista@... wrote:
>
> Hi there
>
> I got the same doubt. Did you solve this issue?
> By the way, how did you calculate the correct value?
>
> Thanks in advance
>
> Kelson
>
> Hi all,
> >
> >Re. device: MSP430FG4618.
> >
> >I've noticed that the IAR XCAP definitions are different to that of the T.I. data sheet.
> >
> >IAR's header file contains:
> >
> >#define XCAP0PF (0x00) /* XIN Cap = XOUT Cap = 0pf */
> >#define XCAP10PF (0x10) /* XIN Cap = XOUT Cap = 10pf */
> >#define XCAP14PF (0x20) /* XIN Cap = XOUT Cap = 14pf */
> >#define XCAP18PF (0x30) /* XIN Cap = XOUT Cap = 18pf */
> >
> >Whereas the FG4618 data sheet gives:
> >
> >00 = ~1pF
> >01 = ~6pF
> >10 = ~8pF
> >11 = ~10pF
> >
> >Question is... which one is correct!!??. (I assume T.I.?)
> >
> >Thanks.
> >
> >Vbr,
> > Darren
> >
> >
>