EmbeddedRelated.com
The 2024 Embedded Online Conference

code for SPI test for MSP430

Started by Anonymous in comp.arch.embedded16 years ago 2 replies

can anybody guide me to write SPI communication test code for MSP430?

can anybody guide me to write SPI communication test code for MSP430?


MSP430 vs Au1100 Alchemy - the GPIO battle

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

Hello, When I toggle a GPIO on my MSP430 processor I have (or at least I think I have :) a clean understanding of what happens. I can...

Hello, When I toggle a GPIO on my MSP430 processor I have (or at least I think I have :) a clean understanding of what happens. I can relate the frequency of the toggling to the instructions used and the clock speed of the CPU. Nothing strange happens. The MSP430 runs the instructions below: /* Put 0xAA in the r15 register. */ mov.b #-86, r15 /* Write the contents of r15 on p...


Programming an FPGA using the MSP430

Started by Stempio in comp.arch.embedded16 years ago 2 replies

Hi all, I?ve read the C code made by Xilinix to program a FPGA using an embedded microcontroller. The application is written to fit the 8051...

Hi all, I?ve read the C code made by Xilinix to program a FPGA using an embedded microcontroller. The application is written to fit the 8051 and I have to port it into a MSP430f1232 to program a Spartan 3. In the application description it says it is easy to port the code into others microcontroller and it is only needed to change few functions in the file ports.c but my GCC refuses to com


MSP430 anyone?

Started by Anonymous in comp.arch.embedded16 years ago 10 replies

Just got the USB version, eZ430-2013 Development tool, but It's not being rocognized by my PCs. Can anyone help? I just emailed TI, and while I...

Just got the USB version, eZ430-2013 Development tool, but It's not being rocognized by my PCs. Can anyone help? I just emailed TI, and while I wait for reply, thought I'ld ask here. I followed all installation instructions. When I plug it in USB, it's recognized as a MSP-FET430UIF JTAG device, then up pops the Hardware Wizard looking for a driver. I browse to where TI says to, but to no a...


USART0- Receiver

Started by msp430 in comp.arch.embedded16 years ago 1 reply

Hello, i am Ravi beginner of MSP430 family controller(MSP430F1611). i am using one downloaded code from TI website for interrupt based Receiver...

Hello, i am Ravi beginner of MSP430 family controller(MSP430F1611). i am using one downloaded code from TI website for interrupt based Receiver program. i am debugging this program can't receive any charector from receiver buffer. so please clarify anybody this group. herewith i am attached those code. #include void main(void) { WDTCTL = WDTPW + WDTHOLD;


Trying to read the value of an input voltage

Started by Amnesia in comp.arch.embedded16 years ago 1 reply

Hi, I am trying to get the value of an input DC voltage in an MSP430. I am using the ADC C code examples provided by TI but I am not getting...

Hi, I am trying to get the value of an input DC voltage in an MSP430. I am using the ADC C code examples provided by TI but I am not getting the correct reading. Has anybody work with something like this before and can help?


msp430 beginner

Started by darknightx in comp.arch.embedded16 years ago 5 replies

Hi. I recently bought a msp-fet430u80 kit form TI and installed MSPGCC . Im used to make desings with PICs from Microchip but this TI MCU for...

Hi. I recently bought a msp-fet430u80 kit form TI and installed MSPGCC . Im used to make desings with PICs from Microchip but this TI MCU for me is really new and I think that I require a little bit of help, so if somebody just can advice me or answer this message, could probably help me a lot. My questions/troubles are: 1- Is there any C command guide for MSPGCC in where I can read how t...


DarknightX

Started by darknightx in comp.arch.embedded16 years ago 1 reply

Hi I would like to know if there is a guide, or someone could explain me, which are the steps to configure the MSP-FET430UIF (U80) in...

Hi I would like to know if there is a guide, or someone could explain me, which are the steps to configure the MSP-FET430UIF (U80) in Ubuntu. I have the mspgcc compiler working, so I generetad a .o and .elf files from a basic source code, but I had no luck downloading the code to the MCU. I tried to use msp430-gdb but my software never worked. Is someone familiar to what Im doing? If someo...


Update on MSP430 Babylonian clock

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

Followup to the message I posted the other week about Nokia 2260 LCDs for my Babylonian clock... the electronics are now working. The clock...

Followup to the message I posted the other week about Nokia 2260 LCDs for my Babylonian clock... the electronics are now working. The clock starts at 10:12:10 and ends at 10:13:08 in this video; you get to see most of the digits. It was slightly tricky to fit the 59 digits (at 32 x 22 pixels) into the 2K MSP430; I wound up making a set of sub-


[msp430] problems setting 8MHz CPU frequency

Started by Oskar in comp.arch.embedded16 years ago 7 replies

Hi, I'm trying to clock the CPU (MSP430F1611) to 8,000,000 Hz and I've run into some problems. Making the CPU to actually run at 8MHz was...

Hi, I'm trying to clock the CPU (MSP430F1611) to 8,000,000 Hz and I've run into some problems. Making the CPU to actually run at 8MHz was easy enough: DCOCTL = DCO0 + DCO1 + DCO2; /* 0xE0 */ BCSCTL1 = XT2OFF + RSEL0 + RSEL1 + RSEL2; /* 0x87 */ However, the UART1 stopped working. What I've got so far is: void uart1_init( unsigned int ubr ) { /* RS232 */ P3DIR &= ~0...


MSP430-ez430 Basics - reading in pushbutton values

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

Hi all, I just received my ez430 and the extra modules (with MSP430F2012) and I am just trying to get my head round some basic stuff, like...

Hi all, I just received my ez430 and the extra modules (with MSP430F2012) and I am just trying to get my head round some basic stuff, like reading in a port value to detect pushbuttons etc. I must say I am not very experienced so please be gentle :) I've connected two pushbuttons, one to P1.3 and one to P1.4 and they are pulled up to Vcc with 10K resistors. I've hooked them up to my mul...


mixing C and assembly

Started by Lax in comp.arch.embedded16 years ago 134 replies

Are there any situations where programming an embedded processor "requires" at least some assembly code? How about for AVR, MSP430, 68HC11,...

Are there any situations where programming an embedded processor "requires" at least some assembly code? How about for AVR, MSP430, 68HC11, 8051(Atmel)? Can these 4 microcontrollers be programmed fully in C without touching assembly (even interrupts and etc.)?


msp430 gnu debugger and usb support

Started by amerdsp in comp.arch.embedded16 years ago 2 replies

Greetings, I am trying to move to gcc/eclipse to get around the size limit in the free IAR and Code composer. However, I read online that...

Greetings, I am trying to move to gcc/eclipse to get around the size limit in the free IAR and Code composer. However, I read online that only the parallel port is supported in gnu debugger gdbproxy. Is that true or am I missing something? Thank you, -- A


Bug in latest IAR MSP430 compiler optimization???

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

Has anyone else observed that the latest kickstart MSP430 compiler from IAR has an extremely serious code generation bug when configured with...

Has anyone else observed that the latest kickstart MSP430 compiler from IAR has an extremely serious code generation bug when configured with optimizations=high,size? IAR C/C++ Compiler for MSP430 V4.10E/W32 [Kickstart] (4.10.5.3) C:\Program Files\IAR Systems\Embedded Workbench 5.0\430\bin\icc430.exe 2/15/2008 11:03:06 AM, 15015936 bytes I have a test case that demos the problem perfect...


Texas Instruments Announces Lowest Power MSP430 Family

Started by Bill Giovino in comp.arch.embedded16 years ago 2 replies

Texas Instruments has announced a 25MHz, 160uA/MHz MSP430 family. http://microcontroller.com/news/Texas_Instruments_MSP430_5xx.asp The...

Texas Instruments has announced a 25MHz, 160uA/MHz MSP430 family. http://microcontroller.com/news/Texas_Instruments_MSP430_5xx.asp The article includes TI's latest roadmap for this new MSP430F5xx family. The low power specs on this are pretty impressive. - Bill Giovino Executive Editor http://Microcontroller.com


Micro SD card / MSP430 interface: write problem

Started by Christophe Braillon in comp.arch.embedded13 years ago 8 replies

Hi everyone, I have interfaced a Micro SD card to a MSP430 microcontroller using the SPI mode. Everything worked perfectly fine but I...

Hi everyone, I have interfaced a Micro SD card to a MSP430 microcontroller using the SPI mode. Everything worked perfectly fine but I recently had problems when writing too often into my files. Here is my setup. As I said the card (SDHC 4Go) is directly connected to the microcontroller via its USCI (SPI) peripheral. I have written the basic SD access (register read / write, basically...


switching context on MSP430

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

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I...

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I have system tick ISR which is handling ticks. And here is the thing...When I take a look in disassembly, it says that before msp430 enters system tick ISR it pushes registers R15,R14,R13 and R12(and of course PC and SR) on stack. So I used that for context...


switching context on MSP430

Started by brOS in comp.arch.embedded14 years ago 1 reply

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I...

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I have system tick ISR which is handling ticks. And here is the thing...When I take a look in disassembly, it says that before msp430 enters system tick ISR it pushes registers R15,R14,R13 and R12(and of course PC and SR) on stack. So I used that for context...


MSP430 info memory vs Rowley

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

I'm trying to locate a structure in MSP430 info memory using Rowley CrossWorks (a preinitialized structure, so it appears in the .txt file). Is...

I'm trying to locate a structure in MSP430 info memory using Rowley CrossWorks (a preinitialized structure, so it appears in the .txt file). Is there a pragma or other directive similar to IAR's that will directly place my structure in info memory without having to play with custom segment names and special linker control info? ISTR having done this in the past but cannot remember how to do i...


RTOS scheduler development

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

Dear all, I am new here, and I would like to ask something about implementing fixed-priority preemptive scheduling(rate monotonic aproach) on...

Dear all, I am new here, and I would like to ask something about implementing fixed-priority preemptive scheduling(rate monotonic aproach) on MSP430 family. Can anyone tell me what is usual way to implement call of scheduler's dispatcher? For example if there are two tasks, high priority HPTask and low LPTask. Assume that LPTask is active and in the middle of its execution HPTask becomes r...



The 2024 Embedded Online Conference