Forums More msp430
Problem with MSP430F249 XT2
Hi All Is there anybody out there that has used XT2 in the HF mode on the MSP430F2= 49?. I have tried the example code from TI (using CCS4)...
Hi All Is there anybody out there that has used XT2 in the HF mode on the MSP430F2= 49?. I have tried the example code from TI (using CCS4) but=20 it seems to never leave the loop checking the OSIFG bit. I am using=20 a 7.3728Mhz Crystal with 22pf loading caps from XT2IN and XT2OUT to ground = and as far as I have tested, the hardware is fine (3V3 supply, reset line h= igh, no short or ope...
REP430 using ReplicatorXv2 code
Finally got back to the REP430F using the 5438A as a target. I tracked down the problem with getting a 0 CoreId response in GetDevice_430Xv2() to...
Finally got back to the REP430F using the 5438A as a target. I tracked down the problem with getting a 0 CoreId response in GetDevice_430Xv2() to the TEST signal being high when the 5438A has already been configured with SYSJTAGPIN set in the SYSCTL register (dedicated JTAG pins). The following modification seems to have solved the problem. =======revise (in GetDevice_430Xv2)=========== i...
IAR and C data type char
inAll I am not an active programmer but just deal with many hands on programmers. I was shocked to find that the default for the char data...
All I am not an active programmer but just deal with many hands on programmers. I was shocked to find that the default for the char data type in IAR is unsigned. (Overridable of course!) In almost every other environment I have first hand knowledge (embedded and non embedded) - whether we are talking about gcc or other development systems, i had always found char by default is signed. In ...
SD16 ADC on 2013
inHi Guys, not used the SD16 module before, and am having trouble getting channel 0 working. I'm seeing some odd behavior, so it's reflecting my...
Hi Guys, not used the SD16 module before, and am having trouble getting channel 0 working. I'm seeing some odd behavior, so it's reflecting my behavior! void SD16_A_init(void) { SD16CTL = 0x0406; SD16CCTL0 = 0x1008; SD16INCTL0 = 0x00; SD16AE = 0x05; SD16CCTL0 |= SD16SC; } void SD16_A_intService(void) { if(SD16IV & SD16IV_SD16MEM0){ SD16_A.result[SD16INCTL0 & 0x07] = SD16MEM0; ...
Multiple Sine Waves/Chords from a DAC
inHi all, I am currently working on some code for an MSP430F2619. I am using a 32-value sine lookup table, and pushing the sequential values out...
Hi all, I am currently working on some code for an MSP430F2619. I am using a 32-value sine lookup table, and pushing the sequential values out to the DAC12 via DMA, with the speed (and thus the note frequency) controlled by TimerB. So far,this is working well. I can produce any number of reasonable sounding pure tones/notes at frequencies from 130.8Hz (C3) to 987.7Hz (B5), and this is more th...
Warning in IAR when performing bitwise not on unsigned char (corrected)
in[sorry there was some errors in the previous message] Hi, When compiling : typedef unsigned short x_t; extern x_t xOpen(void); x_t r =...
[sorry there was some errors in the previous message] Hi, When compiling : typedef unsigned short x_t; extern x_t xOpen(void); x_t r = ~xOpen( ); I get no warning, but if I change the type of x_t to unsigned char : typedef unsigned char x_t; extern x_t xOpen(void); x_t r = ~xOpen( ); the assignment generates the following warning: Remark[Pa091]: operator operates on value ...
Has IAR Kickstart code size limitation changed?
inI have a program written in assembler that compiles OK within IAR Kickstart to about 6700 bytes. When I go to download this into a G2553 chip, I...
I have a program written in assembler that compiles OK within IAR Kickstart to about 6700 bytes. When I go to download this into a G2553 chip, I get an error message that says: "User error: Your application is too large. This version of IAR Embedded Workbench has a code limitation of 4096 bytes." In the past, I have downloaded other versions of this program into an F169 chip and an F2274 chip...
Launchpad Help: Six Potentiometers + Six Servos + MSP430G2553
inIs this possible? I'd like to control six servos, individually, with six potentiometers by using all six capture/compare registers of Timer_A0...
Is this possible? I'd like to control six servos, individually, with six potentiometers by using all six capture/compare registers of Timer_A0 and Timer_A1 in the 20-Pin G2553 on my Launchpad. I've built a robotic arm and I want my code to be able to constantly send a PWM to each servo so that they can maintain their positions, as well as change and update each of their positions using the pot...
frequencies and power levels in Brazil
inWould anyone happen to know where I may get the rules for Brazil on power levels and frequencies allowed for wireless...
Would anyone happen to know where I may get the rules for Brazil on power levels and frequencies allowed for wireless communications? TIA Peter -- Peter Grey Sigma Delta Technologies Tel: +618-9285 8611 Mob. +61418952586 ------------------------------------
Potentiometer + pwm
Hi, I'm new to MSP430 and would like someone to help me in this problem. I need to simulate a pwm using a potentiometer connected to a port of...
Hi, I'm new to MSP430 and would like someone to help me in this problem. I need to simulate a pwm using a potentiometer connected to a port of the ADC10 but am having trouble creating a routine for stopping TimerA and ADC10_vector. Can anyone help me? It is a very simple problem ... Thanks #include "msp430g2231.h" void ini_ADC10(void); void ini_TIMERA(void); void ini_CLOCK(void); void in...
Ask a Question to the EmbeddedRelated community
To significantly increase your chances of receiving answers, please make sure to:
- Use a meaningful title
- Express your question clearly and well
- Do not use this forum to promote your product, service or business
- Write in clear, grammatical, correctly-spelled language
- Do not post content that violates a copyright