Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

msp430 · TI MSP430 microcontroller users group

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 7764
  • Category: Hardware
  • Founded: Oct 13, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 67 - 96 of 51690   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#67 From: heemangrheekr@...
Date: Mon Dec 3, 2001 1:38 am
Subject: How can I implement low battery detection using comparator in msp430f437?
heemangrheekr
Send Email Send Email
 
I use CR2032(3V coin type).
according to the datasheet, comparator can be used for low battery
detection.
How can I implement in msp430f437?
or is there another method that I can detect low battery?
thank you!!!

#68 From: "Kris De Vos" <microbit@...>
Date: Mon Dec 3, 2001 1:51 am
Subject: Re: How can I implement low battery detection using comparator in msp430f437?
microbit@...
Send Email Send Email
 
There's several methods.
The 2 obvious ones are :
 
1.    Use comparator
2.    Use one of your A/D channels
 
In both cases, use the internal reference (look in datasheet how to setup).
With A/D for example, use a voltage divider (divide by 2 eg.) and compare it to
the internal reference..
Of course to save current, you can switch the divider/reference on and off.
If you do that, make sure you obey the settling timing for the reference, sample and hold
timing (ie. input impedance and loading of voltage divider) otherwise you get false conversions.
 
There might be an application note for this, I haven't looked.
 
Rgds
Kris De Vos
----- Original Message -----
Sent: Monday, December 03, 2001 12:38 PM
Subject: [msp430] How can I implement low battery detection using comparator in msp430f437?

I use CR2032(3V coin type).
according to the datasheet, comparator can be used for low battery
detection.
How can I implement in msp430f437?
or is there another method that I can detect low battery?
thank you!!!



To unsubscribe from the msp430 group, send an email to:
msp430-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#69 From: muhammad mudassar <mmudassar88@...>
Date: Mon Dec 3, 2001 3:48 am
Subject: HELP
mmudassar88
Send Email Send Email
 
DEAR FRIENDS
I AM USING MSP430 PROCESOR FOR FIRST TIME
I DID A LOT OF WORK IN ATMEL MICROCONTROLLERS.
NOW I HAVE SOME PROBLEMS WITH MSP430 AND TECHNICAL
SUPPORT IS NOT PROVIDING ME SOLUTIONS I HOPE YOU WILL
HELP ME IN UNDERSTANDING MSP430 FUNCTIONS.
MY FIRST QUESTION IS
HOW MANY FREQUENCY CYCLES ARE EQUAL TO ONE MECINE
CYCLE.ABOUT THIS THERE IS NO DESCRIPTION IN DATA SHEET
AND IN MANUAL.DATA SHEET OF MSP430C336 TELL ONLY THAT
ITS MAXX FREQUENCY IS 3.8MHZ AND EXECUTION TIME PER
MECINE CYCLE IS 300nSEC.
BUT THIS TIME IS NOT ALWAYS FIX IT CHANGES WITH CHANGE
OF FREQUENCY NOW QUESTION IS WHAT IS RELATION BETWEEN
MECINE CYCLE AND FREQUENCY CYCLE.
IF WE EQUATE ONE MECINE CYCLE EQUAL TO ONE FREQUENCY
CYCLE THEN THERE IS NO RELATION BETWEEN 300nSEC AND
MAXIMUM FREQUENCY 3.8MHZ.KINDLY TELL ME ABOUT EXACT
RELATION BETWEEN THEM.

MY SECOND PROBLEM IS I AM USING IAR SOFTWARE. BUT SOME
OF ITS WINDOW KEYS IN SIMULATOR ARE HIDDEN LIKE
TERMINAL I/O,   REAL TIME,CODE COVERAGE,ASSEMBLE,
LOG TO FILE.
I ENABLE THE SFR WINDOW BY UPLOADING SOME FILES FROM
IAR SITE FIRST IT WAS ALSO HIDDEN. NOW PLEASE TELL ME
HOW THIS IS POSSIBLE THAT I CAN ENABLE OR ACTIVATE ALL
FUNCTIONS OF IAR SOFTWARE.
ALSO TELL ME HOW I CAN USE LCD SETUP WINDOW CURRENTLY
IT IS NOT IN MY SOFTWARE
THANKS
MUHAMMAD MUDASSAR



__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

#70 From: "brucecannon" <brucecannon@...>
Date: Mon Dec 10, 2001 8:44 pm
Subject: Re: How can I implement low battery detection using comparator in msp430f437?
brucecannon
Send Email Send Email
 
--- In msp430@y..., heemangrheekr@y... wrote:
> I use CR2032(3V coin type).
> according to the datasheet, comparator can be used for low battery
> detection.
> How can I implement in msp430f437?
> or is there another method that I can detect low battery?
> thank you!!!

Sorry for the delay responding to this topic, wanted to add:

1. check the specs on the internal reference, it limits the accuracy
of your measurement quite a bit.
2. A CR2032 has a very flat discharge curve, and you will need
greater accuracy I think, possibly even for a simple go.no go
trigger.
3. I have used an external reference and made periodic measurements
and reported this to an external system, letting it decide when the
battery is too low (because this level will be different for
different circuits).
4. The battery's internal resistance is a consideration as well, you
will need to make whatever measurement you make under the maximum
load for it to be of any use at all: near the end of life the CR2032
will drop a half a volt or more under 3 or 4 mA load.

Bruce Cannon

#71 From: "brucecannon" <brucecannon@...>
Date: Mon Dec 10, 2001 8:51 pm
Subject: Re: HELP
brucecannon
Send Email Send Email
 
--- In msp430@y..., muhammad mudassar <mmudassar88@y...> wrote:
> HOW MANY FREQUENCY CYCLES ARE EQUAL TO ONE MECINE
> CYCLE.ABOUT THIS THERE IS NO DESCRIPTION IN DATA SHEET

Muhammad:

If I understand your question correctly, this is extensively covered
in the datasheet and the app notes, basic clock system I think it's
referred to as.  Typically the 32k xtal is used as a timebase and an
adjustable RC clock is used as the system clock.  Higher-end parts
calibrate this automatically, lower end parts need to use a
calibration routine to periodically measure and adjust the RC rate.
So there is no fixed answer to your question, this is both good and
bad depending on what you want to do.

Bruce Cannon

#72 From: "Kris De Vos" <microbit@...>
Date: Tue Dec 11, 2001 12:38 am
Subject: Re: Re: HELP
microbit@...
Send Email Send Email
 
I agree totally with Bruce. Same applies to Vandium Lithium cells.
The majority of battery capacity (under load) represents about 10% of the
voltage.
(ie. when a loaded 3 Volt cell is at 2.7 Volts, it is near 0% capacity)

Regarding cycles issue.
Are you referring to "Machine cycles" Mohammed ?

In MSP430 core, each machine cycle = clock cyle.
(ie. unlike PIC where 1 machine cycle = 4 clock cyles)

For example if you clock at 8 MHz you get 8 cycles / uSec.
A 1 cycle instruction therefore would take 1/8 uS or 125 nS.

Hope that Helps !

Rgds
Kris De Vos
Microbit Systems P/L






----- Original Message -----
From: brucecannon
To: msp430@yahoogroups.com
Sent: Tuesday, December 11, 2001 7:51 AM
Subject: [msp430] Re: HELP


--- In msp430@y..., muhammad mudassar <mmudassar88@y...> wrote:
> HOW MANY FREQUENCY CYCLES ARE EQUAL TO ONE MECINE
> CYCLE.ABOUT THIS THERE IS NO DESCRIPTION IN DATA SHEET

Muhammad:

If I understand your question correctly, this is extensively covered
in the datasheet and the app notes, basic clock system I think it's
referred to as.  Typically the 32k xtal is used as a timebase and an
adjustable RC clock is used as the system clock.  Higher-end parts
calibrate this automatically, lower end parts need to use a
calibration routine to periodically measure and adjust the RC rate.
So there is no fixed answer to your question, this is both good and
bad depending on what you want to do.

Bruce Cannon


Yahoo! Groups Sponsor
ADVERTISEMENT




To unsubscribe from the msp430 group, send an email to:
msp430-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#73 From: "Bruce Cannon" <brucecannon@...>
Date: Tue Dec 11, 2001 8:31 pm
Subject: RE: Re: HELP
brucecannon
Send Email Send Email
 
Kris:

Under what kind of load have you found that 2.7v is a practical cutoff?  I
have less experience than you perhaps, and I'd like a good rule of thumb.  I
noticed that Panasonic calls 2.5v the practical end of life, and also that
their curves suggest the CR2032 falls below 2.7v for much of its life under
their light test load.

Bruce

> -----Original Message-----
> From: Kris De Vos [mailto:microbit@...]
> Sent: Monday, December 10, 2001 4:39 PM
> To: msp430@yahoogroups.com
> Subject: Re: [msp430] Re: HELP
>
>
> I agree totally with Bruce. Same applies to Vandium Lithium cells.
> The majority of battery capacity (under load) represents about 10% of the
> voltage.
> (ie. when a loaded 3 Volt cell is at 2.7 Volts, it is near 0% capacity)
>
> Regarding cycles issue.
> Are you referring to "Machine cycles" Mohammed ?
>
> In MSP430 core, each machine cycle = clock cyle.
> (ie. unlike PIC where 1 machine cycle = 4 clock cyles)
>
> For example if you clock at 8 MHz you get 8 cycles / uSec.
> A 1 cycle instruction therefore would take 1/8 uS or 125 nS.
>
> Hope that Helps !
>
> Rgds
> Kris De Vos
> Microbit Systems P/L
>
>
>
>
>
>
> ----- Original Message -----
> From: brucecannon
> To: msp430@yahoogroups.com
> Sent: Tuesday, December 11, 2001 7:51 AM
> Subject: [msp430] Re: HELP
>
>
> --- In msp430@y..., muhammad mudassar <mmudassar88@y...> wrote:
> > HOW MANY FREQUENCY CYCLES ARE EQUAL TO ONE MECINE
> > CYCLE.ABOUT THIS THERE IS NO DESCRIPTION IN DATA SHEET
>
> Muhammad:
>
> If I understand your question correctly, this is extensively covered
> in the datasheet and the app notes, basic clock system I think it's
> referred to as.  Typically the 32k xtal is used as a timebase and an
> adjustable RC clock is used as the system clock.  Higher-end parts
> calibrate this automatically, lower end parts need to use a
> calibration routine to periodically measure and adjust the RC rate.
> So there is no fixed answer to your question, this is both good and
> bad depending on what you want to do.
>
> Bruce Cannon
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> To unsubscribe from the msp430 group, send an email to:
> msp430-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>
> To unsubscribe from the msp430 group, send an email to:
> msp430-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

#74 From: muhammad mudassar <mmudassar88@...>
Date: Wed Dec 12, 2001 7:40 am
Subject: HELP[timers]
mmudassar88
Send Email Send Email
 
Hello
*********I am using IAR embeded workshop but i have
some problems with that Kindly help me

******** I tried my best to activate timers but I am
not assure either this debugger support it or not.I
enable timers but there is not incriment in its
register.Now how this is possible to check them. If we
can run timer modules kindly tell me what is the
method for it.
*********some windows are not active in debugger
1--------code coverage
2--------Terminal I/O
for this I use all the formates but this window did
not active
3--------assemble
4--------Real Time
I will be very thankful if you give me proper
guidance.
Mudassar

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

#75 From: "Kris De Vos" <microbit@...>
Date: Tue Dec 18, 2001 3:21 am
Subject: Re: Re: HELP
microbit@...
Send Email Send Email
 
Sorry about delay Bruce, been so flat out here.
 
I was actually referring to a rechargeable cell, as in Vanadium Lithium (also
Panasonic).
In that scenario the load is 3 mA.
I use various cutoffs, depending on product.
I'd say that if load is light, 2.5-2.7 Volts could very well still represent a considerable
amount of battery life.
I guess depends on load and whether it's pulsed or 100% duty cycle.....
 
Many designs in the past needed extra, or higher cost components to say
enable it to run down to eg. 2 Volts.
The extra cost would not justify the last few % "squeezed" out of battery.
 
The rechargeable cell probably wasn't such a good example, as deep discharge
had to be avoided to prevent battery damage.
 
Best regards,
Kris
 
----- Original Message -----
Sent: Wednesday, December 12, 2001 7:31 AM
Subject: RE: [msp430] Re: HELP

Kris:

Under what kind of load have you found that 2.7v is a practical cutoff?  I
have less experience than you perhaps, and I'd like a good rule of thumb.  I
noticed that Panasonic calls 2.5v the practical end of life, and also that
their curves suggest the CR2032 falls below 2.7v for much of its life under
their light test load.

Bruce

> -----Original Message-----
> From: Kris De Vos [mailto:microbit@...]
> Sent: Monday, December 10, 2001 4:39 PM
> To: msp430@yahoogroups.com
> Subject: Re: [msp430] Re: HELP
>
>
> I agree totally with Bruce. Same applies to Vandium Lithium cells.
> The majority of battery capacity (under load) represents about 10% of the
> voltage.
> (ie. when a loaded 3 Volt cell is at 2.7 Volts, it is near 0% capacity)
>
> Regarding cycles issue.
> Are you referring to "Machine cycles" Mohammed ?
>
> In MSP430 core, each machine cycle = clock cyle.
> (ie. unlike PIC where 1 machine cycle = 4 clock cyles)
>
> For example if you clock at 8 MHz you get 8 cycles / uSec.
> A 1 cycle instruction therefore would take 1/8 uS or 125 nS.
>
> Hope that Helps !
>
> Rgds
> Kris De Vos
> Microbit Systems P/L
>
>
>
>
>
>
> ----- Original Message -----
> From: brucecannon
> To: msp430@yahoogroups.com
> Sent: Tuesday, December 11, 2001 7:51 AM
> Subject: [msp430] Re: HELP
>
>
> --- In msp430@y..., muhammad mudassar <mmudassar88@y...> wrote:
> > HOW MANY FREQUENCY CYCLES ARE EQUAL TO ONE MECINE
> > CYCLE.ABOUT THIS THERE IS NO DESCRIPTION IN DATA SHEET
>
> Muhammad:
>
> If I understand your question correctly, this is extensively covered
> in the datasheet and the app notes, basic clock system I think it's
> referred to as.  Typically the 32k xtal is used as a timebase and an
> adjustable RC clock is used as the system clock.  Higher-end parts
> calibrate this automatically, lower end parts need to use a
> calibration routine to periodically measure and adjust the RC rate.
> So there is no fixed answer to your question, this is both good and
> bad depending on what you want to do.
>
> Bruce Cannon
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> To unsubscribe from the msp430 group, send an email to:
> msp430-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>
> To unsubscribe from the msp430 group, send an email to:
> msp430-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>



To unsubscribe from the msp430 group, send an email to:
msp430-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#76 From: "Bruce Cannon" <brucecannon@...>
Date: Tue Dec 18, 2001 5:36 pm
Subject: RE: Re: HELP
brucecannon
Send Email Send Email
 
Thanks Kris!
 
Bruce
-----Original Message-----
From: Kris De Vos [mailto:microbit@...]
Sent: Monday, December 17, 2001 7:21 PM
To: msp430@yahoogroups.com
Subject: Re: [msp430] Re: HELP

Sorry about delay Bruce, been so flat out here.
 
I was actually referring to a rechargeable cell, as in Vanadium Lithium (also
Panasonic).
In that scenario the load is 3 mA.
I use various cutoffs, depending on product.
I'd say that if load is light, 2.5-2.7 Volts could very well still represent a considerable
amount of battery life.
I guess depends on load and whether it's pulsed or 100% duty cycle.....
 
Many designs in the past needed extra, or higher cost components to say
enable it to run down to eg. 2 Volts.
The extra cost would not justify the last few % "squeezed" out of battery.
 
The rechargeable cell probably wasn't such a good example, as deep discharge
had to be avoided to prevent battery damage.
 
Best regards,
Kris
 
----- Original Message -----
Sent: Wednesday, December 12, 2001 7:31 AM
Subject: RE: [msp430] Re: HELP

Kris:

Under what kind of load have you found that 2.7v is a practical cutoff?  I
have less experience than you perhaps, and I'd like a good rule of thumb.  I
noticed that Panasonic calls 2.5v the practical end of life, and also that
their curves suggest the CR2032 falls below 2.7v for much of its life under
their light test load.

Bruce

> -----Original Message-----
> From: Kris De Vos [mailto:microbit@...]
> Sent: Monday, December 10, 2001 4:39 PM
> To: msp430@yahoogroups.com
> Subject: Re: [msp430] Re: HELP
>
>
> I agree totally with Bruce. Same applies to Vandium Lithium cells.
> The majority of battery capacity (under load) represents about 10% of the
> voltage.
> (ie. when a loaded 3 Volt cell is at 2.7 Volts, it is near 0% capacity)
>
> Regarding cycles issue.
> Are you referring to "Machine cycles" Mohammed ?
>
> In MSP430 core, each machine cycle = clock cyle.
> (ie. unlike PIC where 1 machine cycle = 4 clock cyles)
>
> For example if you clock at 8 MHz you get 8 cycles / uSec.
> A 1 cycle instruction therefore would take 1/8 uS or 125 nS.
>
> Hope that Helps !
>
> Rgds
> Kris De Vos
> Microbit Systems P/L
>
>
>
>
>
>
> ----- Original Message -----
> From: brucecannon
> To: msp430@yahoogroups.com
> Sent: Tuesday, December 11, 2001 7:51 AM
> Subject: [msp430] Re: HELP
>
>
> --- In msp430@y..., muhammad mudassar <mmudassar88@y...> wrote:
> > HOW MANY FREQUENCY CYCLES ARE EQUAL TO ONE MECINE
> > CYCLE.ABOUT THIS THERE IS NO DESCRIPTION IN DATA SHEET
>
> Muhammad:
>
> If I understand your question correctly, this is extensively covered
> in the datasheet and the app notes, basic clock system I think it's
> referred to as.  Typically the 32k xtal is used as a timebase and an
> adjustable RC clock is used as the system clock.  Higher-end parts
> calibrate this automatically, lower end parts need to use a
> calibration routine to periodically measure and adjust the RC rate.
> So there is no fixed answer to your question, this is both good and
> bad depending on what you want to do.
>
> Bruce Cannon
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> To unsubscribe from the msp430 group, send an email to:
> msp430-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>
> To unsubscribe from the msp430 group, send an email to:
> msp430-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>



To unsubscribe from the msp430 group, send an email to:
msp430-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


To unsubscribe from the msp430 group, send an email to:
msp430-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#77 From: "seethamk" <seethamk@...>
Date: Fri Jan 18, 2002 10:34 am
Subject: Hi Everybody !!
seethamk
Send Email Send Email
 
Hi,

Hope this is alrite !!!

Am a part of the recruitment drive with one of the leading IT
companies in India and abroad.

We're right now looking out for telecom professionals for our clients
in Chennai, Bangalore and abroad. The package is very attractive &
the placement is immediate.

Kindly mail me back if u'r interested & i'll revert back with more
details.

Looking forward to hear from you soon.

Regds

Seetha

#78 From: msp430@yahoogroups.com
Date: Fri Jan 18, 2002 8:06 pm
Subject: New file uploaded to msp430
msp430@yahoogroups.com
Send Email Send Email
 
Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the msp430
group.

   File        : /mc430.zip
   Uploaded by : msp430micro <msp430micro@...>
   Description : MSP430 C Compiler V1.81 / IDE430

You can access this file at the URL

http://groups.yahoo.com/group/msp430/files/mc430.zip

To learn more about file sharing for your group, please visit

http://help.yahoo.com/help/us/groups/files

Regards,

msp430micro <msp430micro@...>

#79 From: "yizgarnoff" <yizgarnoff@...>
Date: Mon Jan 21, 2002 12:10 am
Subject: Using MC430 compiler with FET
yizgarnoff
Send Email Send Email
 
Hi,

I have the FET module (MSP-TS430PM64 board) with a 'F149.  I have
been using the IAR assembler/compiler and now I want to try to use
Bruce's compiler (ver 1.81) with the FET debugger/programmer.  My FET
software is

Embedded workbench 2.31C
C-Spy 2.31D

These are the latest versions from TI website.  I downloaded and
installed s320r240.exe and e320r240.exe as explained in a previous
email on this list.

Am I correct to tell MC430 to produce .s43 output?

In the IAR IDE, I include the .s43 file in my project, and tell the
linker XLink to
* debug with terminal info
* use the library 'Xcmd.xcl' which comes with MC430 IDE installation
(* linking with library 'msp430F149A' from IAR also seems to work)

(If I try to use the library 'mspF149C' it says I have a segment
conflict.  If I try to use the library 'lnk430ks' I get "Unable to
open file 'cl430'", and same thing for 'lnk430s_pic')

Is this the right way to do it?  Is this how everyone else is doing
it?

I don't remember having to set options to prevent it from interfering
with the C-Spy monitor.  Does it do that automatically, or is there
no monitor at all and debugging is built entirely into JTAG?  I ask
this because the IAR compiler has an option for "ROM-monitor
compatible code" which avoids using R4 and R5.


Thanks,
David Lions

#80 From: "Kris De Vos" <microbit@...>
Date: Mon Jan 21, 2002 12:59 am
Subject: Re: Using MC430 compiler with FET
microbit@...
Send Email Send Email
 
Hi David,

> Am I correct to tell MC430 to produce .s43 output?

I only use IAR EW430, but if MC430 adheres to IAR's syntax,
then it's OK.

> (If I try to use the library 'mspF149C' it says I have a segment
> conflict.  If I try to use the library 'lnk430ks' I get "Unable to
> open file 'cl430'", and same thing for 'lnk430s_pic')

What kind of segment conflict ?
Are you using more RAM eg. then your declaration in the XCL file ?
Does it say "need at least XXX more bytes " ?
Also the default XCL files allocate half of the RAM to HW and SW stack,
which is a bit hefty (1 K),  reduce it to say 256 bytes, depends on your app
though

Again, Bruce will be able to help better here, but you should have the
"cl430" library file.
Check if the LIB path is set up properly, it can go haywire on installation
(project options - XLINK - include -> $TOOLKIT_DIR$\LIB\)
Otherwise, tell XLINK the absolute path to \lib\

Also check inside your MSP430F149C xcl file if it's set up to use the proper
LIB file.
(I use the full version EW430, don't know about KS)

> Is this the right way to do it?  Is this how everyone else is doing
> it?

yes, you're correct.

> I don't remember having to set options to prevent it from interfering
> with the C-Spy monitor.  Does it do that automatically, or is there
> no monitor at all and debugging is built entirely into JTAG?  I ask
> this because the IAR compiler has an option for "ROM-monitor
> compatible code" which avoids using R4 and R5.

For PM430 select "Flash Emulation tool", JTAG is fully non-intrusive.
No monitor necessary.

Kris De Vos
Microbit Systems P/L

#81 From: "Mark Skeels" <meskeels@...>
Date: Mon Jan 21, 2002 9:08 pm
Subject: First project with MSP430; what do you think of IAR and TI FET as dev system?
embeddedmicro
Send Email Send Email
 
Hi, List.

We are going to design our first product with an MSP430F149.

From what I can tell, the combo of the TI Flash emulation module and IAR's
Embedded Workbench seems like a viable platform for development.

Any insights/comments on this system? How is it to work with? Does the use
of flash slow down the development cycle any? Are there any hidden gotchas?

How is it's support for C?

Mark Skeels
Engineer
Competition Electronics
meskeels@...

Soli Deo Gloria!

#82 From: "Ian Okey" <ian_okey@...>
Date: Tue Jan 22, 2002 9:30 am
Subject: Re: First project with MSP430; what do you think of IAR and TI FET as dev system?
ian_okey
Send Email Send Email
 
I have just completed a development using the MSP430F148.  I have
written the whole application using the IAR C compiler with development
starting on the FET evaluation board and migrating to our own target.

It was the most painless software development I have ever been involved
in.  36K of compiled code in about 4 months starting from absolute
zero.  New toolset, new processor (I have never used the MSP before)
and no pre-existing code.

The only change that I made was to ditch the EDE and use GNU Make
compiled for MS-Windows together with a decent code editor as my
development environment.  This took a bit of effort to put together
but was worth it to get rid of the editor supplied by IAR.

Ian

http://www.satamatics.com

>
>Hi, List.
>
>We are going to design our first product with an MSP430F149.
>
>From what I can tell, the combo of the TI Flash emulation module and IAR's
>Embedded Workbench seems like a viable platform for development.
>
>Any insights/comments on this system? How is it to work with? Does the use
>of flash slow down the development cycle any? Are there any hidden gotchas?
>
>How is it's support for C?
>
>Mark Skeels
>Engineer
>Competition Electronics
>meskeels@...
>
>Soli Deo Gloria!
>
>
>
>To unsubscribe from the msp430 group, send an email to:
>msp430-unsubscribe@egroups.com
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

#83 From: "Mark Skeels" <meskeels@...>
Date: Tue Jan 22, 2002 2:10 pm
Subject: Re: First project with MSP430; what do you think of IAR and TI FET asdev system?
embeddedmicro
Send Email Send Email
 
----- Original Message -----
From: "Ian Okey" <ian_okey@...>
To: <msp430@yahoogroups.com>
Sent: Tuesday, January 22, 2002 3:30 AM
Subject: Re: [msp430] First project with MSP430; what do you think of IAR
and TI FET asdev system?


snip....

>
> The only change that I made was to ditch the EDE and use GNU Make
> compiled for MS-Windows together with a decent code editor as my
> development environment.  This took a bit of effort to put together
> but was worth it to get rid of the editor supplied by IAR.
>
This lines upwith what I've discovered so far; this is almost exactly what I
had anticipated doing. I like Visual Slick Edit.

Thanks, Ian, this is just the kind of feedback I wanted.

Are you an experienced C programmer? I have two projects under my belt, both
with Franklin C-51. I played with the MSP430 a little and attended a seminar
on the part. I really like the instruction set and the hardware of the
processor; and for $6.00@1k, this part actually has more peripherals an
features than I really needed. I haven't been able to find anything with
more bang for the buck.

My app includes an LCD graphic display and this part has 2K of RAM, which
makes it nice. That's the main reason why I chose it, but all the
peripherals, plus the fact that it is 16 bit make it really nice.

Mark

#84 From: "Mark Skeels" <meskeels@...>
Date: Tue Jan 22, 2002 2:42 pm
Subject: Re: First project with MSP430; what do you think of IAR and TI FET asdev system?
embeddedmicro
Send Email Send Email
 
----- Original Message -----
From: "Ian Okey" <ian_okey@...>
To: <msp430@yahoogroups.com>
Sent: Tuesday, January 22, 2002 3:30 AM
Subject: Re: [msp430] First project with MSP430; what do you think of IAR
and TI FET asdev system?


> I have just completed a development using the MSP430F148.  I have
> written the whole application using the IAR C compiler with development
> starting on the FET evaluation board and migrating to our own target.

Hi, Ian.

Can you steer me to the proper documentation telling me how to configure my
target to work with Embedded Workbench?

Mark

#85 From: "Ian Okey" <ian_okey@...>
Date: Tue Jan 22, 2002 5:21 pm
Subject: Re: First project with MSP430; what do you think of IAR and TI FET asdev system?
ian_okey
Send Email Send Email
 
>From: "Mark Skeels" <meskeels@...>
>
>----- Original Message -----
>From: "Ian Okey" <ian_okey@...>
>To: <msp430@yahoogroups.com>
>Sent: Tuesday, January 22, 2002 3:30 AM
>Subject: Re: [msp430] First project with MSP430; what do you think of IAR
>and TI FET asdev system?
>
>
> > I have just completed a development using the MSP430F148.  I have
> > written the whole application using the IAR C compiler with development
> > starting on the FET evaluation board and migrating to our own target.
>
>Hi, Ian.
>
>Can you steer me to the proper documentation telling me how to configure my
>target to work with Embedded Workbench?
>
>Mark
>
Mark

In the documentation supplied with the evaluation module (FET430P140)
is the circuit diagram for the board.  We duplicated the signals that
go to the JTAG connector on our target and made a suitable adapter
to go between the emulator POD and our board.  The adapter was
required because we have used a fine pitch header on the target
board.  The first board was delivered, plugged in and WOW...
it worked!

The signals available on our connector are GND,TDO,TDI,TCK,TMS &
NMI.  I do not use the bootstrap loader, just the JTAG interface
and C-Spy to load my code.

I believe that to use the bootloader you need to bring out the P1.1, P2.1
ans XOUT lines as well.

I tried searching the TI web site for the FET user's guide but could
not find it.  It probably got installed on my machine from the FET
download file.

Ian


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

#86 From: "Mark Skeels" <meskeels@...>
Date: Tue Jan 22, 2002 6:03 pm
Subject: Re: First project with MSP430; what do you think of IAR and TI FETasdev system?
embeddedmicro
Send Email Send Email
 
Thanks, Ian. I found the interface.


Here is a link which has a complete JTAG interface for the MPS430.

http://www.olimex.com/dev/msp-jtag.html

Mark


----- Original Message -----
From: "Ian Okey" <ian_okey@...>
To: <msp430@yahoogroups.com>
Sent: Tuesday, January 22, 2002 11:21 AM
Subject: Re: [msp430] First project with MSP430; what do you think of IAR
and TI FETasdev system?


>
>
>
> >From: "Mark Skeels" <meskeels@...>
> >
> >----- Original Message -----
> >From: "Ian Okey" <ian_okey@...>
> >To: <msp430@yahoogroups.com>
> >Sent: Tuesday, January 22, 2002 3:30 AM
> >Subject: Re: [msp430] First project with MSP430; what do you think of IAR
> >and TI FET asdev system?
> >
> >
> > > I have just completed a development using the MSP430F148.  I have
> > > written the whole application using the IAR C compiler with
development
> > > starting on the FET evaluation board and migrating to our own target.
> >
> >Hi, Ian.
> >
> >Can you steer me to the proper documentation telling me how to configure
my
> >target to work with Embedded Workbench?
> >
> >Mark
> >
> Mark
>
> In the documentation supplied with the evaluation module (FET430P140)
> is the circuit diagram for the board.  We duplicated the signals that
> go to the JTAG connector on our target and made a suitable adapter
> to go between the emulator POD and our board.  The adapter was
> required because we have used a fine pitch header on the target
> board.  The first board was delivered, plugged in and WOW...
> it worked!
>
> The signals available on our connector are GND,TDO,TDI,TCK,TMS &
> NMI.  I do not use the bootstrap loader, just the JTAG interface
> and C-Spy to load my code.
>
> I believe that to use the bootloader you need to bring out the P1.1, P2.1
> ans XOUT lines as well.
>
> I tried searching the TI web site for the FET user's guide but could
> not find it.  It probably got installed on my machine from the FET
> download file.
>
> Ian
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
> To unsubscribe from the msp430 group, send an email to:
> msp430-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

#87 From: "Bruce Cannon" <brucecannon@...>
Date: Tue Jan 22, 2002 6:12 pm
Subject: RE: First project with MSP430; what do you think of IAR and TI FET asdev system?
brucecannon
Send Email Send Email
 
Mark:

The TI Serial Programmer manual has useful info for JTAG interfacing each
part variant:
http://focus.ti.com/docs/tool/toolfolder.jhtml?PartNumber=MSP-PRGS430

And like Ian said, it does work (most of the time) first crack.  There are
some gotchas covered in the fine print in the serial programmer manual for
the different variants: xtal resistors needed/not needed, pullups needed/not
needed, extra connections needed/not needed.

And it does seem best, as Ian mentioned, to put as little of that as
possible on the target (build a standard interface board instead), but I
haven't experimented to see to what extent I can offload components yet.

Bruce

> -----Original Message-----
> From: Mark Skeels [mailto:meskeels@...]
> Sent: Tuesday, January 22, 2002 6:42 AM
> To: msp430@yahoogroups.com
> Subject: Re: [msp430] First project with MSP430; what do you think of
> IAR and TI FET asdev system?
>
>
>
> ----- Original Message -----
> From: "Ian Okey" <ian_okey@...>
> To: <msp430@yahoogroups.com>
> Sent: Tuesday, January 22, 2002 3:30 AM
> Subject: Re: [msp430] First project with MSP430; what do you think of IAR
> and TI FET asdev system?
>
>
> > I have just completed a development using the MSP430F148.  I have
> > written the whole application using the IAR C compiler with development
> > starting on the FET evaluation board and migrating to our own target.
>
> Hi, Ian.
>
> Can you steer me to the proper documentation telling me how to
> configure my
> target to work with Embedded Workbench?
>
> Mark
>
>
>
> To unsubscribe from the msp430 group, send an email to:
> msp430-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

#88 From: Rick Collins <dsprelated@...>
Date: Tue Jan 29, 2002 3:18 am
Subject: MSP430 JTAG interface
dsprelated
Send Email Send Email
 
I contacted TI support and found out that the JTAG interface on the MSP430
does not provide boundary scan capability. I was also told that the
software (I assume) also does not support emulation while in a JTAG scan
chain.

TI was not very clear about this and I am never sure that I am getting the
answer to the question I have asked. Anyone here know how well the MSP430
is supported in JTAG chains?

I don't have space on my board for two JTAG connectors (one for the MSP430
and one for everything else). In fact, just the fact that boundary scan is
unsupported on the MSP430 is a problem for board test. Anyone try to use
the MSP430 JTAG port for other than emulation or programming?

Rick Collins

rick.collins@...

Arius - A Signal Processing Solutions Company
Specializing in DSP and FPGA design       http://www.arius.com
4 King Ave                                301-682-7772 Voice
Frederick, MD 21701-3110                  301-682-7666 FAX

#89 From: "bergmann_arno" <bergmann_arno@...>
Date: Wed Jan 30, 2002 2:52 pm
Subject: USART in SPI mode, MSP being slave
bergmann_arno
Send Email Send Email
 
Hello everyone,

has anyone managed to get the USART working in SPI mode, msp being the slave
(!)?


Hints in german are welcome as well.

Thanks in advance.

Arno

#90 From: "Mark Skeels" <meskeels@...>
Date: Tue Feb 5, 2002 7:42 pm
Subject: 2 weeks experience with FET tool and some questions
embeddedmicro
Send Email Send Email
 
Hi, List.

Well, I've had 2 weeks experience with the FET tool for the MSP430x11x1
microcontroller. I've successfully created a PWM type dac and now I have a
128x64 graphics LCD module connected to the FET, with data connected to P1
and control signals connected to P2.

I've never used one of these LCD's before, so have two sources of error (at
least!); the LCD control and the FET tool.

I've got mixed results so far; I've got info on the screen, but it's jumbled
up.

My question (at least to start) is this: since the JTAG shares I/O pins on
port 1, how does the JTAG interact with the actual port functions? I've been
assuming that activating the "release JTAG on Go" feature allows all the
ports to work normally after the start-up. Is this true?

I think my I/O's are messing up the state of the LCD either during or before
emulation commmences. I'm just foggy on how the JTAG operates in this
environment.

Certainly, the FET tool wouldn't be of much use if it there's no way to get
normal port functionality; there must at least be a work-around for this.

Any and all advice/ideas are appreciated.

Mark Skeels
Engineer
Competition Electronics
www.CompetitionElectronics.com
meskeels@...

Soli Deo Gloria!

#91 From: "Bruce Cannon" <brucecannon@...>
Date: Tue Feb 5, 2002 8:10 pm
Subject: RE: 2 weeks experience with FET tool and some questions
brucecannon
Send Email Send Email
 
Mark:

I'm possibly the least experienced MSP430 engineer on this list, but I'll
toss in my two cents anyway:
I think you're mistaken when you assume that the JTAG port should
transparently share functionality with the port pins.  TI's datasheets and
app notes mention this quite often, and block diagrams and schematics always
indicate buffers between functions.

Even if you release JTAG on run, during download you are very likely
screwing up the LCD module intitalization if you have not buffered those
pins on your target board.  Does your program work if you disconnect JTAG
from your target and reset?

I never use those pins for anything else if I don't have to.

Bruce

> -----Original Message-----
> From: Mark Skeels [mailto:meskeels@...]
> Sent: Tuesday, February 05, 2002 11:43 AM
> To: Msp430@Yahoogroups.Com
> Subject: [msp430] 2 weeks experience with FET tool and some questions
>
>
> Hi, List.
>
> Well, I've had 2 weeks experience with the FET tool for the
> MSP430x11x1
> microcontroller. I've successfully created a PWM type dac and
> now I have a
> 128x64 graphics LCD module connected to the FET, with data
> connected to P1
> and control signals connected to P2.
>
> I've never used one of these LCD's before, so have two
> sources of error (at
> least!); the LCD control and the FET tool.
>
> I've got mixed results so far; I've got info on the screen,
> but it's jumbled
> up.
>
> My question (at least to start) is this: since the JTAG
> shares I/O pins on
> port 1, how does the JTAG interact with the actual port
> functions? I've been
> assuming that activating the "release JTAG on Go" feature
> allows all the
> ports to work normally after the start-up. Is this true?
>
> I think my I/O's are messing up the state of the LCD either
> during or before
> emulation commmences. I'm just foggy on how the JTAG operates in this
> environment.
>
> Certainly, the FET tool wouldn't be of much use if it there's
> no way to get
> normal port functionality; there must at least be a
> work-around for this.
>
> Any and all advice/ideas are appreciated.
>
> Mark Skeels
> Engineer
> Competition Electronics
> www.CompetitionElectronics.com
> meskeels@...
>
> Soli Deo Gloria!
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Sponsored by VeriSign - The Value of Trust
> Do you need to encrypt all your online transactions? Find
> the perfect solution in this FREE Guide from VeriSign.
> http://us.click.yahoo.com/vCuuSA/UdiDAA/yigFAA/CFFolB/TM
> --------------------------------------------------------------
> -------~->
>
> To unsubscribe from the msp430 group, send an email to:
> msp430-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>

#92 From: "Mark Skeels" <meskeels@...>
Date: Tue Feb 5, 2002 9:55 pm
Subject: LCD interface works!
embeddedmicro
Send Email Send Email
 
Hi, list (and Bruce)

I still can't answer the questions about the JTAG interface; it seems to me
that you're correct, Bruce.

As to your question, I still don't know yet. I tried to run it
independently; nothing happened. I tried manually resetting it; also no go.

Is it true that once you load it up from the debugger, it's programmed and
ready to go, with no changes?

But, I did have some coding issues that I cleaned up, and it now works!

go figure....I'll have to investigate some more. I'll try it again
stand-alone and report back on what happens.

What document was it that mentions the JTAG interface considerations?


Mark Skeels
Engineer
Competition Electronics
www.CompetitionElectronics.com
meskeels@...

Soli Deo Gloria!

#93 From: "Bruce Cannon" <brucecannon@...>
Date: Tue Feb 5, 2002 10:10 pm
Subject: RE: LCD interface works!
brucecannon
Send Email Send Email
 
Mark:

> What document was it that mentions the JTAG interface considerations?

Have you looked at this one?:
MSP430 Family Serial Programming Adapter Manual (Rev. B) (SLAU048B -
Updated: 07/24/2001)
http://www-s.ti.com/sc/psheets/slau048b/slau048b.pdf

Bruce

#94 From: "Mark Skeels" <meskeels@...>
Date: Tue Feb 5, 2002 10:18 pm
Subject: Re: LCD interface works!
embeddedmicro
Send Email Send Email
 
> Have you looked at this one?:
> MSP430 Family Serial Programming Adapter Manual (Rev. B) (SLAU048B -
> Updated: 07/24/2001)
> http://www-s.ti.com/sc/psheets/slau048b/slau048b.pdf
>
I've skimmed portions of it; I'll take a more careful look tomorrow.

Thanks for your help, Bruce.

Mark

#95 From: "ERIK W." <ewlists@...>
Date: Wed Feb 6, 2002 12:43 am
Subject: Re: LCD interface works!
bscandanavia
Send Email Send Email
 
Mark,

I am doing a similar project with a small LCD module. There were also
troubles with sharing JTAG / LCD pins. In my case the MSP430  FET would not
program while the LCD was connected. The LCD module used the sed1530
controller chip on board. one of the I/O lines is  'chip select' which
enables/disables the LCD controller interface- I think this is fairly common
for LCD modules. If your module has it, it makes it very easy to multiplex
with he JTAG lines. just connected LCD chip select pin to the msp430 TEST
pin which is pulled high during programming. This way the LCD is disabled
while the MSP430 uses the lines.

-erik


> Hi, list (and Bruce)
>
> I still can't answer the questions about the JTAG interface; it seems to me
> that you're correct, Bruce.
>
> As to your question, I still don't know yet. I tried to run it
> independently; nothing happened. I tried manually resetting it; also no go.
>
> Is it true that once you load it up from the debugger, it's programmed and
> ready to go, with no changes?
>
> But, I did have some coding issues that I cleaned up, and it now works!
>
> go figure....I'll have to investigate some more. I'll try it again
> stand-alone and report back on what happens.
>
> What document was it that mentions the JTAG interface considerations?
>
>
> Mark Skeels
> Engineer
> Competition Electronics
> www.CompetitionElectronics.com
> meskeels@...
>
> Soli Deo Gloria!
>
>
>
> To unsubscribe from the msp430 group, send an email to:
> msp430-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

#96 From: "intelliquip" <intelliquip@...>
Date: Sat Feb 9, 2002 12:55 am
Subject: Interrupts
intelliquip
Send Email Send Email
 
Try this one

We are programming the MSP430F1211 to do clock and calender functions.

Every sec TimerA generates an interrupt and in the interrupt we
update seconds, minutes ect.. When the months are updating we use a
lookup table to check how many days in the next month. This is all in
the interrupt and causes the MSP430 to lockup intermittently. What
are we doing wrong or shouldn't we use tables in interrupt routines.
Below is the code that causes the problem ?

Any help would be appreciated


            MOV.W     Lookup_Month(R6),&Days_In_Month

EndCount    RET

                 EVEN
Lookup_Month    Dw    31
                 Dw    32                  ;January
                 Dw    29                  ;Febuary
                 Dw    32                  ;March
                 Dw    31                  ;April
                 Dw    32                  ;May
                 Dw    31                  ;June
                 Dw    32                  ;July
                 Dw    32                  ;August
                 Dw    31                  ;September
                 Dw    32                  ;October
                 Dw    31                  ;November
                 Dw    32                  ;December


Thankyou

Alan

Messages 67 - 96 of 51690   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help