EmbeddedRelated.com
The 2024 Embedded Online Conference

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


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-


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


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


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?


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;


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


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


msp430: mspgcc tool chain and iar kickstart question

Started by 4MLA1FN in comp.arch.embedded17 years ago 10 replies

newbie question: i've got a device (a radio control transmitter for model airplanes/helicopters) with 'f149. the pads for the jtag are present...

newbie question: i've got a device (a radio control transmitter for model airplanes/helicopters) with 'f149. the pads for the jtag are present and we know the fuse is not burned. i'd like to read the contents of the flash (the firmware), make some edits, and upload the changes. does the mspgcc tool chain include a means to read the flash memory as well as a disassembler? can the IAR kick...


MSP430 SD16 and unipolar input

Started by larwe in comp.arch.embedded17 years ago

Anyone use this peripheral on a regular basis? I'm using an MSP430F2013 and trying to work out if it's possible to reclaim the -ve input pin for...

Anyone use this peripheral on a regular basis? I'm using an MSP430F2013 and trying to work out if it's possible to reclaim the -ve input pin for something useful. It seems to me that if I set P1SEL for that pin to GPIO mode, and set the SD16 into unipolar mode, I should be able to use the pin as an I/O, but it doesn't seem to be working properly. I'm not sure if that's because what I'm trying...


Multi-processor breadboard: CAD files are up

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

For anyone who's interested, I've published the editable schematic and PCB files for the AVR/MSP430/Cygnal 8051 board I was discussing a little...

For anyone who's interested, I've published the editable schematic and PCB files for the AVR/MSP430/Cygnal 8051 board I was discussing a little while ago:


MSP430: BSL mode - UART transmit pin

Started by JerryS in comp.arch.embedded17 years ago 2 replies

Hello: In several MCUs of the MSP430 family, during the bootstrap loader mode, the normal UART Tx/Rx transmit/pins aren't used. Instead, other...

Hello: In several MCUs of the MSP430 family, during the bootstrap loader mode, the normal UART Tx/Rx transmit/pins aren't used. Instead, other pins are alloted for BSL transmit and receive. Would you know if the normal Tx transmit output pin goes in high-impedance mode during the BSL mode? Also, is there any register bit or pin offering information on "normal" vs "BSL" status? Th...


TI ZigBee Z-Stack on the CC2430 and MSP430

Started by Steve Jones in comp.arch.embedded17 years ago

Hi, Texas have now released the ZigBee Z-Stack for free download. http://focus.ti.com/docs/toolsw/folders/print/z-stack.html Two versions...

Hi, Texas have now released the ZigBee Z-Stack for free download. http://focus.ti.com/docs/toolsw/folders/print/z-stack.html Two versions are available for the 8051(CC2430) and MSP430. The problem for me is that even modest applications built for the 8051 can be over 100K in size even when fully optimised. This is worryingly close the the 128K flash limit on the CC2430. I'd like t...


msp430 LCD segment pins sharing with I/O Pins

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

Hi All, I am using a MSP430x4xx series controller. I have a doubt regarding the sharing of the LCD segment pins with I/O pins. I am using...

Hi All, I am using a MSP430x4xx series controller. I have a doubt regarding the sharing of the LCD segment pins with I/O pins. I am using an LCD glass with 30 segments. The LCD controller of the device gives option of either setting S0-S31 OR S0-S27. Is there a way of setting S0-S29. This would save me two very valuable I/O pins. Thanks, Rohan


Interest in AVR+MSP430 "general purpose" proto board?

Started by larwe in comp.arch.embedded17 years ago 25 replies

While working on my next book, I've built a small general-purpose prototyping board. This PCB is also intended to be useful for those projects...

While working on my next book, I've built a small general-purpose prototyping board. This PCB is also intended to be useful for those projects where someone says "please prototype this" and it requires a micro that's only available in SMD. Here are the schematic and component placement:


msp430: disassembling raw binary

Started by 4MLA1FN in comp.arch.embedded17 years ago 8 replies

i've got raw msp430 code extracted from a target device. i'd like to disassemble it. msp430-objdump requires the file to be in one of...

i've got raw msp430 code extracted from a target device. i'd like to disassemble it. msp430-objdump requires the file to be in one of many file formats; e.g. symbolsrec, srec, tekhex, binary, ihex. i guess i need to write a converter, but i can only find a spec for the srec format. anyone know where i can find the spec for the other formats? or is there a converter that'll take as input m...


TI MSP430 SPI Receive Error

Started by Anonymous in comp.arch.embedded17 years ago

Hello: We are using two MSP430s that talk through an SPI interface. One MSP is the master, and the other MSP is the slave. Our problem is,...

Hello: We are using two MSP430s that talk through an SPI interface. One MSP is the master, and the other MSP is the slave. Our problem is, the slave MSP is incorrectly receiving data. Through our logic analyzer and the IAR debugger, we can see that the master MSP is correctly receiving data and sending it out. We can also see that the slave is properly transmitting data. The proble...


MSP430 Flash Emulation Tool: problems with connection via parallel port

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

Hello: Re: MSP430 Flash Emulation Tool (P/N: MSP-FET430P140) Target: MSP430F1612 We have 1 USB FET (Flash Emulation Tool), which works...

Hello: Re: MSP430 Flash Emulation Tool (P/N: MSP-FET430P140) Target: MSP430F1612 We have 1 USB FET (Flash Emulation Tool), which works fine, and 2 LPT FETs, which should work via the parallel port, but aren't. We're using the latest version (M) of the IAR Quickstart available from the TI site, however aren't able to use the LPT FETs. When trying to connect we get "Initializing hardw...


Measuring the period with MSP430

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

Hello: Would appreciate comments/suggestions on methods for measuring the period of an audio-range signal with MSP430 (specifically...

Hello: Would appreciate comments/suggestions on methods for measuring the period of an audio-range signal with MSP430 (specifically MSP430F1612), with the highest resolution allowed by this MCU, especially if you have direct experience with that. Thanks. Marius Hancu



The 2024 Embedded Online Conference