EmbeddedRelated.com

Rewriting putchar() on MSP430F149

Started by Anonymous in comp.arch.embedded19 years ago 3 replies

I think, that only reasonable way to make terminal connection between MSP430F149 PC, is to rewrite low-level fuction putchar() to use USART...

I think, that only reasonable way to make terminal connection between MSP430F149 PC, is to rewrite low-level fuction putchar() to use USART and let upper-level functions like printf() to make all the conversions needed. I'm using IAR and/or mspgcc. How do I replace putchar.o in library files needed, and what are those lib-files in both systems?


controlling a hi-tec HS-311 servomotor

Started by stho in comp.arch.embedded18 years ago 2 replies

hello! i have been trying to control a servomotor with a MSP430F149 microcontroller, but it seems it wouldn't work. i think the generated...

hello! i have been trying to control a servomotor with a MSP430F149 microcontroller, but it seems it wouldn't work. i think the generated PWM outputs(i've worked with the timer interrupts) are not so good, however, i couldn't fix the error. can anyone help me with some piece of advice, please? 10x!


MSP430F149 Sampling Rate

Started by AmyLe in comp.arch.embedded17 years ago 3 replies

Hi, I want to find out the dynamic parameters of the ADC12 embedded in the MSP430F149. I want to know how I can maximize my sample rate. ...

Hi, I want to find out the dynamic parameters of the ADC12 embedded in the MSP430F149. I want to know how I can maximize my sample rate. So far, I was only able to run it at 128 ksps, but the datasheet said I could run it at 200 ksps. If anyone could help me with this matter, I'd really appreciate it. Thank you. - Amy


Creating multiple images (Boot & App) in a project (IDE: CCS/IAR/CrossWorks) ?

Started by an_anth in comp.arch.embedded9 years ago 7 replies

Hi, I am trying to create a Bootloader for MSP430F1611. Basically I want to separate Bootloader and Application images so that I can upgrade...

Hi, I am trying to create a Bootloader for MSP430F1611. Basically I want to separate Bootloader and Application images so that I can upgrade the Application image on demand. After reading through manuals, I only managed to understand how Code segments can be placed at any desired locations in the memory. However, I didn't find any information on creating two images meant to be placed at differe...


MSP430F1611 SPI.

Started by AmyLe in comp.arch.embedded17 years ago

Hi everyone, I'm trying to interface an external ADC with the MSP430F1611's SPI. I've written the code to initialize the SPI (seen below),...

Hi everyone, I'm trying to interface an external ADC with the MSP430F1611's SPI. I've written the code to initialize the SPI (seen below), but I now want to test my Init_SPI by writing some data to it and probing it using the scope to see that I've written data to it. Eventually, I want to get data from an external ADC using SPI and store it in memory. Can anyone point me in the rig...


MSP430F1611 SPI Interface w/ADC

Started by AmyLe in comp.arch.embedded17 years ago 7 replies

Hi, I want to know how I can interface the SPI with an external ADC. Has anyone done this before? Also, I prefer using polling instead...

Hi, I want to know how I can interface the SPI with an external ADC. Has anyone done this before? Also, I prefer using polling instead of interrups. Here is my INIT SPI function: =============================INIT_SPI================================= void Init_SPI(void) { P3SEL |= 0x3F; // Select P3.0,1,2,3,4,5 P3DIR |= 0x0B; // Select P3.1,3 as o...


MSP430F1612: generating sinusoidal signals

Started by Marius Hancu in comp.arch.embedded17 years ago 7 replies

Hello: What would be the most efficient (i.e. minimizing the involvement of resources) and fastest way to generate sinusoidal signals...

Hello: What would be the most efficient (i.e. minimizing the involvement of resources) and fastest way to generate sinusoidal signals (using the DAC for output) in the TI MSP430F1612? Just approximate (can be stepped, output by the DAC, not filtered), in the audio range (up to 6KHz or so). I heard that part of the necessary algorithms are HW-wired somewhere in the chip, not sure...


Buy MSP430F169 trainingboard , where ?

Started by werty in comp.arch.embedded18 years ago 1 reply

Anyone know where to buy a cheap T.I. 430 experimentors board ? BTW I dont work for T.I. but the 430 has the best instruction set ...

Anyone know where to buy a cheap T.I. 430 experimentors board ? BTW I dont work for T.I. but the 430 has the best instruction set of any CPU . It's much easier to write a "NewForth" for it .


Crossworks vs. ez430 USB?

Started by larwe in comp.arch.embedded16 years ago 4 replies

I've got a strange problem. I'm trying to move some code over from IAR Kickstart (where I developed it) to Crossworks (where I need to show it...

I've got a strange problem. I'm trying to move some code over from IAR Kickstart (where I developed it) to Crossworks (where I need to show it working, for various reasons). The debugger I'm using is the ez430; the target is a TI MSP430F2012 target board soldered to a larger circuit. I can build fine, but if I click "build and debug" I get various problems; either it pretends to run but reall...


Toggling GPIO Pins very quickly

Started by TheJokerV in comp.arch.embedded15 years ago 2 replies

Hey everyone, I'm working with an MSP430f2012 chip and am tryign to generate a delta sigma bitstream using a gpio pin. Unfortunatly whenever I try...

Hey everyone, I'm working with an MSP430f2012 chip and am tryign to generate a delta sigma bitstream using a gpio pin. Unfortunatly whenever I try to toggle the pin at a rate faster than 10kHz, the pin appears to not be able to fully rise or fall. But isn't 100 us a little slow for rise/fall times. Is there any way I can make i t rise/fall faster. At the current moment I'm leaving the pins unattac...


msp430f2013 Timer_A UART

Started by Anonymous in comp.arch.embedded18 years ago 1 reply

Hey there, I'm trying to make a simple project work. There's a demo: MSP430F20xx Demo - Timer_A, Ultra-Low Pwr UART 2400 Echo, 32kHz...

Hey there, I'm trying to make a simple project work. There's a demo: MSP430F20xx Demo - Timer_A, Ultra-Low Pwr UART 2400 Echo, 32kHz ACLK from TI, it does work but I wanted to use p1.2&p1.6 ports instead of p1.1&p1.5 (TA1 instead of TA0) so I changed lines RXD EQU 002h ; RXD on P1.1 TXD EQU 020h ; TXD on P1.5 with RXD ...


Stumped by MSP430F2013 timer - broken?!

Started by larwe in comp.arch.embedded18 years ago 2 replies

Thanks to Tim et al, I've got the CCR working... but the timer itself doesn't function correctly. Is there a known issue with the timer in this...

Thanks to Tim et al, I've got the CCR working... but the timer itself doesn't function correctly. Is there a known issue with the timer in this part not actually working? I can't get it to count past approximately 0x7FE0 (and I've tried two chips, one DIP, one TSSOP). Very simple init code: int main(void) { BCSCTL1 = CALBC1_1MHZ; DCOCTL = CALDCO_1MHZ; P1SEL=0x04; P1DIR=0x05; TACC...


I2C Firmware Code for TI MSP430F2013

Started by mInfo in comp.arch.embedded17 years ago 7 replies

I'm currently searching the coder (firmware) who has experience with I2C bus. I am looking for firmware solutions for my prototype that...

I'm currently searching the coder (firmware) who has experience with I2C bus. I am looking for firmware solutions for my prototype that will be used in manufacturing testing for I2C LED Modules. Each module contains six of TPIC2810 LED Driver chips with Address from 1100000X to 1100101X. All of 8 outputs for each LED Driver are loaded with LED. I need to use LED Display Module for di...


MSP430g2553 and Matlab

Started by engineergc in comp.arch.embedded7 years ago 4 replies

Dear All; I am making red round object tracking project by using MSP430G2553 and Matlab. When red round object moves, a car will track red...

Dear All; I am making red round object tracking project by using MSP430G2553 and Matlab. When red round object moves, a car will track red round object. Project is consist of from two parts as image processing and motion part. In motion part I am using L298N motor driver card, MSP430G2553. and a car that consist of from 2 wheels with 2 dc motors and a swivel castor. Image processing part in ...


msp430fe423 in IAR Embedded Workbench

Started by Rohan in comp.arch.embedded17 years ago 1 reply

Hi All, I am using IAR Embedded Workbench for my code compilation. My application is using msp430fe423. On compiling my code it gave...

Hi All, I am using IAR Embedded Workbench for my code compilation. My application is using msp430fe423. On compiling my code it gave an error #error "Failed to match a default incude file" A quick look into the io430.h file revealed that there is no support for the FE series devices. Kindly help me get round this problem as this brings my work to a complete halt. Has anyone faced th...


Strange problem with potput signals

Started by darknightx in comp.arch.embedded16 years ago

Hi Im testing my msp430fg439 with a simple code. In my design I require to use Pins on port 3 from Pin 0 to Pin 3 for the peripheral...

Hi Im testing my msp430fg439 with a simple code. In my design I require to use Pins on port 3 from Pin 0 to Pin 3 for the peripheral functions, in this case the SPI interface, and pin 4 to pin 7 like for the I/O functions. After a couple of tests and no signal on pins 7,6,5,0 I decided to use just a simple code (see below) just to test the msp pins. I loaded and executed the software and I...


MSP430FR5739

Started by SARMADm in comp.arch.embedded8 years ago 3 replies

Hi How can I read Accelerometer values from MSP430FR5739 ? Thanks --------------------------------------- Posted through...

Hi How can I read Accelerometer values from MSP430FR5739 ? Thanks --------------------------------------- Posted through http://www.EmbeddedRelated.com


Where can I find some introductory course on MSP430F449?

Started by Acceed See in comp.arch.embedded19 years ago 1 reply

I am able to modify some simple C & assembly programs in the Examples folder in IAR Starter, and debugging with my tiny F449 board. I need a...

I am able to modify some simple C & assembly programs in the Examples folder in IAR Starter, and debugging with my tiny F449 board. I need a full understanding on how to program this microprocessor. Where can I find such materials?


L298 PWM Problem

Started by engineergc in comp.arch.embedded7 years ago 14 replies

Dear all; I try to move 2 motor with L298N motor driver card and MSP430G2553. I tried some basic codes, but right motor does not work. When I...

Dear all; I try to move 2 motor with L298N motor driver card and MSP430G2553. I tried some basic codes, but right motor does not work. When I give energy to right motor can move. So, problem is not in motor. But, when I tried to move both motors only one motor can move (the motor that is driven by IN1 and IN2. I added code to below. I can not find my error. Could you help me please? #includ...


which IDE for MSP430XX family ???

Started by Franky in comp.arch.embedded19 years ago 3 replies

Hi, we use the Quadrafox Compiler/Debugger now for many years as our standard IDE. We use C as Programming language in our firm. But the...

Hi, we use the Quadrafox Compiler/Debugger now for many years as our standard IDE. We use C as Programming language in our firm. But the integrated JTAG Debugger is very bad to use and the generated code is not very good. (optimization). So what do you use for compiling Projects for the MSP Family ? I heard the IAR Compiler is not realy the first choice, and also very expensive. Fra...