EmbeddedRelated.com
The 2024 Embedded Online Conference

MSP430F1611 SPI Interface w/ADC

Started by AmyLe in comp.arch.embedded16 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...


MSP430F1611 SPI.

Started by AmyLe in comp.arch.embedded16 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...


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...


MSP430F149 Sampling Rate

Started by AmyLe in comp.arch.embedded16 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


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!


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?


I2C Questions -- Not In the FAQ

Started by Anthony Presley in comp.arch.embedded19 years ago 6 replies

Hi all, I have a few questions about the i2c bus which I can't seem to find anywhere else. Any answers would be greatly appreciated. We're...

Hi all, I have a few questions about the i2c bus which I can't seem to find anywhere else. Any answers would be greatly appreciated. We're building a device based on a previous design, from another firm, which uses the MSP430F149, which does SPI, but not I2c. The existing design uses i2c components on the board, and the software is bit banging out the i2c protocol. We want to extend t...


Recommend an RS232 Monitor?

Started by Michael_s in comp.arch.embedded13 years ago 12 replies

Hi all, I'm getting up to speed on the MSP430 with the ez340-Rf2500 dev kit, which connects to a pc via a USB-to-serial emulator. That is, the...

Hi all, I'm getting up to speed on the MSP430 with the ez340-Rf2500 dev kit, which connects to a pc via a USB-to-serial emulator. That is, the device is plugged into a USB port, but shows up as a COM port in Windows. For my application, I'd like this device to report real-time sensor data to the host computer, where it will be logged. I figure I should really have a serial port sniffer to ai...


flashing with mspdebug and launchpad MSP430-2553

Started by Albert van der Horst in comp.arch.embedded12 years ago

I have a $4 TI Launchpad with a MSP430 processor. The 2553 is a little bit too new for mspdebug however. (It has a Forth flashed into it. See...

I have a $4 TI Launchpad with a MSP430 processor. The 2553 is a little bit too new for mspdebug however. (It has a Forth flashed into it. See http://www.4e4th.eu.) Anyway I discovered that I could not use mspdebug to reflash the program unless I cheat by telling mspdebug that it is another processor. So (on a Ubuntu 10.04.4) I can reflash by sudo mspdebug --fet-force-id MSP430FG4618 r...


Display monitor for use with MCU

Started by anasimtiaz in comp.arch.embedded13 years ago 15 replies

Hi all, I have a setup of msp430 mcu currently that samples ECG data, does the necessary processing and serially transmits it to a computer for...

Hi all, I have a setup of msp430 mcu currently that samples ECG data, does the necessary processing and serially transmits it to a computer for display. I want to get rid of the computer here and use a small portable display for resulting ECG that can be interfaced with (any) MCU. I tried Googling for the options but couldn't find anything useful. Can anyone point me in the right direction ...


TI's Code Composer does not clear bss data

Started by David Brown in comp.arch.embedded13 years ago 68 replies

I have taken over a project for the msp430 that has been built with TI's Code Composer Studio IDE and compiler. One thing that I have noticed...

I have taken over a project for the msp430 that has been built with TI's Code Composer Studio IDE and compiler. One thing that I have noticed in the documentation is the following paragraph: In ANSI/ISO C, global and static variables that are not explicitly initialized must be set to 0 before program execution. The C/C++ compiler does not perform any preinitialization of uninitializ...


STM8L151 vs MSP430 performance benchmark

Started by elil in comp.arch.embedded13 years ago 6 replies

Dear Sirs, Me and my colleagues are involved now with selection of new MCUs for our new projects for the following 2 years.The desired MCUs...

Dear Sirs, Me and my colleagues are involved now with selection of new MCUs for our new projects for the following 2 years.The desired MCUs should have very low power consumption and some of them should have very low price.I looked at all existing in the market MCUs and finally reduced the selection to 2: either STM8L series or MSP4305xx. I haven't too much time to continue the serious inv...


trouble understanding RETI instruction

Started by jack_e in comp.arch.embedded13 years ago 19 replies

Hi I am having trouble understanding RETI instruction. Being a novice at MSP430 architecture, have begun exploring by writing simple snippets....

Hi I am having trouble understanding RETI instruction. Being a novice at MSP430 architecture, have begun exploring by writing simple snippets. I am trying to blink a LED using a timer. I want to control the dutycycle of the flashing. My query is that after exiting the ISR on RETI, which instruction does the control flow go to. Have tried debugging via different methods but its still unclear. ...


MSP430 JTAG ISO firmware problem

Started by brOS in comp.arch.embedded13 years ago

Hi all... I have following problem. When I wanted to debug my project written in IAR 4.2 using Olimex's JTAG ISO, a message popped up saying...

Hi all... I have following problem. When I wanted to debug my project written in IAR 4.2 using Olimex's JTAG ISO, a message popped up saying something like Olimex firmware version is not supported and it offered me to update firmware. I said no, but I could not download my project. I tryed again but this time I said yes when he asked for firmware update. After that I still can not download my pro...


How to run FreeRtos on MSP430

Started by brOS in comp.arch.embedded14 years ago 7 replies

Dear all, I want to run FreeRTOS on my MSP430 platform, but I have a problem. I downloaded FreeRTOS and tried to start demo project for IAR,...

Dear all, I want to run FreeRTOS on my MSP430 platform, but I have a problem. I downloaded FreeRTOS and tried to start demo project for IAR, but it seems I have older version of IAR which can not start demo project. Than I tried to make project myself from source code files. I have added all files into my project and tried to compile it. But linker says that it can not find references to funct...


Re: Commuication Protocols and RAM -criders

Started by criders in comp.arch.embedded14 years ago 2 replies

Thanks for all of the responses. I was not sure that the message posted so I think I posted another. I apologize about the lack of...

Thanks for all of the responses. I was not sure that the message posted so I think I posted another. I apologize about the lack of information.... First off, I am currently prototyping using a Z8 Encore! Development Kit from when I was is school. I am also using their C compiler. I think that I am still a novice at programming. I would like to use other micro controllers perhaps an MSP430 ...


Speaking of interesting development kits...

Started by larwe in comp.arch.embedded14 years ago 8 replies

... my weekly (?) email from TI the other day had a link to this interesting development kit, which consists of an MSP430 with integrated

... my weekly (?) email from TI the other day had a link to this interesting development kit, which consists of an MSP430 with integrated


IAR compiler & MSP430 problem

Started by halong in comp.arch.embedded14 years ago 7 replies

Hi All, Need your help, I have problem /w IAR compiler working with MSP430. I've got the project or "work space"from co-worker and I...

Hi All, Need your help, I have problem /w IAR compiler working with MSP430. I've got the project or "work space"from co-worker and I continue to develop the it. In the project we have a 2d array,... so far the it compiler and works properly. However, I've now reached the point that if I add one more row of data (128 bytes per each row), the compiler STILL compiler with no warning or ...


OT: Cheap Solar Cells

Started by Rob Gaddi in comp.arch.embedded11 years ago 15 replies

Figure folks here might know. I'm looking to put together a couple of small-scale projects, just for my own amusement, that would be nice...

Figure folks here might know. I'm looking to put together a couple of small-scale projects, just for my own amusement, that would be nice to not need batteries for. Probably MSP430 based, on duty-cycles on the order of a few milliseconds per minute. It seems like I should be able to power this off of a low-leakage cap and the sorts of solar cells that they put in crappy calculators for $...


msp430 SD CARD-> DAC12 using DMA Transfer

Started by goode in comp.arch.embedded14 years ago

Dear All, I have a small problem. I am trying to play a wave file from my SD card. I am not using FAT i am just reading raw data from the...

Dear All, I have a small problem. I am trying to play a wave file from my SD card. I am not using FAT i am just reading raw data from the card. I want to do this using DMA transfer. I wrote the following code, but this does not output the wave file from the DAC. Does anyone have any idea, what i should do? Best Regards Kerem #include #include



The 2024 Embedded Online Conference