MSP430 Calculator with keypad and LCD

Started by empv in comp.arch.embedded7 years ago 5 replies

I am working on a calculator that can add, subtract, multiply and divide in any base between 2 and 16 with MSP430g2553 in assembly language....

I am working on a calculator that can add, subtract, multiply and divide in any base between 2 and 16 with MSP430g2553 in assembly language. I already can do this in any base but the problem is that the results of any of the operations is in hexadecimal in the registers. I need to display the result in the base entered by the user in the LCD. To display in the LCD I need to send the ascii codes of...


C code for microphone in msp430?

Started by speedofsound1 in comp.arch.embedded8 years ago 11 replies

Hey you guys, so I am working on a basic home security system and basically constructing a home security system which will communicate with an app...

Hey you guys, so I am working on a basic home security system and basically constructing a home security system which will communicate with an app with 4 sensors, sound (amplified microphone), movement(motion sensor), door movement (accelerometer) and temperature (internally attached in the msp430). Can you help me in incorporating the sound detection with the microphone using adc? I used acc for ...


[Update] Voice activated program in C for MSP430 G2553 family

Started by speedofsound1 in comp.arch.embedded8 years ago 4 replies

I wrote earlier this week in regards to requirement of a program that converts signals in analog to digital for the MSP43 G2553 to read. I...

I wrote earlier this week in regards to requirement of a program that converts signals in analog to digital for the MSP43 G2553 to read. I think I have a better approach to my problem... I will be using the microphone to voice activate (as demo) the LED in port P1.6. This sounds really simple but I can't get the thing to complie. Can someone write a quick program to see if I am doing it ...


Project with "IF" function and timer

Started by Iron-Sim in comp.arch.embedded8 years ago 56 replies

Hello guys, I am a Belgian maker and I am actually trying to learn how to program MSP430 in C language. I have read of course some tutorials...

Hello guys, I am a Belgian maker and I am actually trying to learn how to program MSP430 in C language. I have read of course some tutorials but I am stuck with this problem. I would like to do this : - If I push the bouton with a timing lesser than 1 second, the RED light switch on. - If I push the button with a timing higher than 2 second, the GREEN light switch on. - If a LED is swit...


Problem MSP430 with free run and run

Started by jotoulon83 in comp.arch.embedded8 years ago

Hello, I work on an MSP430F2254 with a MSP-FETFlash Emulation Tool. My code UART don't work in run but in free run. MSP430F22x4 Demo -...

Hello, I work on an MSP430F2254 with a MSP-FETFlash Emulation Tool. My code UART don't work in run but in free run. MSP430F22x4 Demo - USCI_A0, Ultra-Low Pwr UART 9600 String, 32kHz ACLK Description: This program demonstrates a full-duplex 9600-baud UART using USCI_A0 and a 32kHz crystal. The program will wait in LPM3, and will respond to a received 'u' character usi...


Need help in redirecting ISR after switching to a new execution image in MSP430

Started by an_anth in comp.arch.embedded7 years ago 2 replies

Hi, My earlier post was: Creating multiple images (Boot & App) in a project (IDE: CCS/IAR/CrossWorks) ? I am working...

Hi, My earlier post was: Creating multiple images (Boot & App) in a project (IDE: CCS/IAR/CrossWorks) ? I am working with: Microcontroller: MSP430F1611 IDE: CrossWorks for MSP430 Right now I have managed to create and load the 2 images, namely, Bootloader and Application, in separate memory locations. And I am able to jump to the Application code by using the address of its "main...


Performance Analysis Tool

Started by Peter Mueller in comp.arch.embedded19 years ago 3 replies

Hi all, I just finished an application for a msp430. Unfortunately I need 2 redesigns to finally reach the required performance. The RMA tools...

Hi all, I just finished an application for a msp430. Unfortunately I need 2 redesigns to finally reach the required performance. The RMA tools I know do not support things like "one task triggers the execution of another task" or "bursts of execution in a cyclic manner (e.g. serial interrupts). Does anyone knows a good tool to model a real time system to get performance figures early du...


Question regarding PIC 18 series performance verses MSP430F149

Started by Obelix in comp.arch.embedded19 years ago 9 replies

Question regarding PIC 18 series performance verses MSP430F149: Currently I'm using a TI MSP430F149 running at 12Mhz (overclocked) in a...

Question regarding PIC 18 series performance verses MSP430F149: Currently I'm using a TI MSP430F149 running at 12Mhz (overclocked) in a prototype. For various reasons I'm considering using a PIC 18Fxxx, but want to know before I bother porting the code/building hardware if the PIC running at a 10MHz instruction clock will give me similar performance to the MSP430 at 12Mhz. Here are some d...


Computational power AVR vs. MSP430?

Started by Dr. O in comp.arch.embedded19 years ago 17 replies

Does anyone have any idea how AVR and MSP430 compare in terms of floating point and integer math? We need to do some computational number...

Does anyone have any idea how AVR and MSP430 compare in terms of floating point and integer math? We need to do some computational number crunching (preprocessing) in our devices but aren't sure which of the above to pick. The MSP430 is 16 bits so it should be faster in math it seems to me, but are there other aspects which are important? The computations are 'DSP like' (lots of adding amd ...


4k limit of IAR's MSP430 C compiler

Started by Michael in comp.arch.embedded19 years ago 5 replies

IAR's C compiler has a code generation limit of 4k, for individual modules this would not be a problem for me. However if I link modules which...

IAR's C compiler has a code generation limit of 4k, for individual modules this would not be a problem for me. However if I link modules which together total > 4k I get the error: Fatal Error[e89]: Too much object code produced (more than 0x1000 bytes) for this package Yet with the same IAR linker I can link modules generated with assembler up to the device limit (32k for msp430F147).


MSP430 information memory access with GCC

Started by Andreas in comp.arch.embedded19 years ago 1 reply

Hi NG! I have a problem to access the 256 bytes of special information memory (0x1000-0x10ff) of the MSP430F413 using the msp430-gcc...

Hi NG! I have a problem to access the 256 bytes of special information memory (0x1000-0x10ff) of the MSP430F413 using the msp430-gcc toolchain. I've tried the .org statement (.org 0x1000) but it seems to address relative to the given section (.text, .data ...). Is there a section name for the information memory, too? How can I handle this address range? Thanks for any information!


Maxim MAXQ MCU

Started by Leon Heller in comp.arch.embedded19 years ago 12 replies

I've just received some info on the new Maxim MAXQ microcontroller. It looks rather interesting and is aimed at the PIC/AVR/MSP430 part of the...

I've just received some info on the new Maxim MAXQ microcontroller. It looks rather interesting and is aimed at the PIC/AVR/MSP430 part of the market. Whether we need another 8- or 16-bit architecture is debatable with cheap 32-bit devices like the LPC2000 becoming available, but I'd like to have a play with it. Leon -- Leon Heller, G1HSM Email: aqzf13@dsl.pipex.com My low-cost Phi...


MSP430 External Clock

Started by Mike Page in comp.arch.embedded19 years ago 9 replies

Hi All, On any other chip external clocking would be a very simple thing, but not on the MSP430F437 it seems. Has anyone managed to...

Hi All, On any other chip external clocking would be a very simple thing, but not on the MSP430F437 it seems. Has anyone managed to externally clock XT1 with 32kHz (or thereabouts ?) I am having trouble with the chip giving me LFOF and shutting off ACLK (which is the whole reason for clocking XT1 - I'm using the LCD). Works just fine with a watch crystal, but I want to dispense with i...


MAXQ core

Started by Ville Voipio in comp.arch.embedded19 years ago 3 replies

I got a new issue of the Maxim Microcontroller Engineering Review. Instead of being full of 51-based stuff, it introduces a new core...

I got a new issue of the Maxim Microcontroller Engineering Review. Instead of being full of 51-based stuff, it introduces a new core (MAXQ). The core looks pretty ok, it seems to be an 8-bit RISC core with 16-bit (quite) orthogonal one-cycle instructions. Maxim's comparisons with AVR, PIC16, and MSP430 (but not with '51...) show that the core is rather efficient both powerwise and in co...


Alternative to IAR?

Started by Rick in comp.arch.embedded19 years ago 8 replies

We are looking for a cheaper (but good) alternative to the IAR Embedded Workbench for the MSP430. Any suggestions? TIA

We are looking for a cheaper (but good) alternative to the IAR Embedded Workbench for the MSP430. Any suggestions? TIA


Need Help w/ MSP430 UART Tx

Started by V Barker in comp.arch.embedded19 years ago 2 replies

Hi, I'm having trouble doing a simple character transmission on the MSP430F149 UART. I'm using SoftBaugh's ES149 eval board...

Hi, I'm having trouble doing a simple character transmission on the MSP430F149 UART. I'm using SoftBaugh's ES149 eval board w/ICC430 compiler. The board has a 32768 Hz clock. I've verifed that it runs through the program. When I probe at pin UTXD0 with an oscope, all I see is a high signal. Can anyone help? Thanks, Valerie #include void main() { //


TI MSP430 -- IAR compiler isr...

Started by Mike V. in comp.arch.embedded19 years ago 2 replies

I am very very new to the IAR compiler for TI's MSP430. I have seen tutorial code that says something like: interrupt[BASICTIMER_VECTOR] void...

I am very very new to the IAR compiler for TI's MSP430. I have seen tutorial code that says something like: interrupt[BASICTIMER_VECTOR] void my_isr() { ... } However, the compiler, with its current settings won't interpret it correctly. I have to type the more tedious statement: #pragma vector 0x00 __interrupt void my_isr() { ... } What is the setting i have to change or inc...


ISR problem in MSP430 using IAR

Started by Mike V. in comp.arch.embedded19 years ago 5 replies

When my ISR looks like this, all is fine: #pragma vector=0x00 __interrupt void basic_timer(void) { LPM3_EXIT; /* exit from low power...

When my ISR looks like this, all is fine: #pragma vector=0x00 __interrupt void basic_timer(void) { LPM3_EXIT; /* exit from low power mode 3 */ } However, when I attempt to place ANY extra lines of code in the basic_timer() function, then I get the following error: "Error[e16]: Segment CODE (size: 0x1008 align: 0x1) is too long for segment definition. At least 0x4a more bytes n...


How to read/write external memory with MSP430F1121

Started by DenCop in comp.arch.embedded19 years ago 6 replies

Hi hello, Maybe it's a stupid question, but how can I read/write external memory with a msp430. I have to store something like 15kB (not...

Hi hello, Maybe it's a stupid question, but how can I read/write external memory with a msp430. I have to store something like 15kB (not much). I thought about FIFO memory, because I think that will be the easiest way. I hope you can help me, DenCop PS sorry for my bad English


how to define a memory position variable and give it a value

Started by Mark in comp.arch.embedded19 years ago 10 replies

I've already had Mark A. Odell answer this question saying this can't be done portably. He also sugested me coming to this group with the...

I've already had Mark A. Odell answer this question saying this can't be done portably. He also sugested me coming to this group with the question see if anyone here has some idea on how to do this... I am working on a MSP430 and using IAR ew compiler... Hey all.... I'm trying to do something that should be easy, but my compiler doesn't allow me... I am trying to define a variab