EmbeddedRelated.com
The 2024 Embedded Online Conference

Lock up through power cycling.

Started by Kipton Moravec in MSP43016 years ago 30 replies

I have a prototype board that has a MSP430F1610, that locks up after running about 30 hours. When I cycle power it stays locked up, until...

I have a prototype board that has a MSP430F1610, that locks up after running about 30 hours. When I cycle power it stays locked up, until I reload the software using the IAR tool set. I do not have a lot of visual indication on this board. I have one LED that turns on when it is time to send data, and turns off when the send window is over. It turns on when a TimerB compare matches a certa...


MSP430 DCO operation

Started by mjruley in MSP43022 years ago 4 replies

I am interested in using the DCO for MCLK and SMCLK with a 32 KHz crystal generating an interrupt on TIMERB . How much software overhead is...

I am interested in using the DCO for MCLK and SMCLK with a 32 KHz crystal generating an interrupt on TIMERB . How much software overhead is needed to maintain lock for the DCO with the 32 KHz interrupt? Ideally, the DCO will be off most of the time so how time consuming is the re-synchronization effort? We are planning on using the DCO clock to do precise timing measurements using TIMER


measure pulse width

Started by sammsp430 in MSP43020 years ago

hi all, having problem with measurement of pulse width.i am generating a PWM at P1.2 and loping it back to timer B catpure input pin at...

hi all, having problem with measurement of pulse width.i am generating a PWM at P1.2 and loping it back to timer B catpure input pin at P4.2. need to capture the width. it is not going to the ISR for timerB #include "msp430x13x.h" TOP_FRONT EQU 0200h TOP_TRAIL EQU 0204h ORG 0F000h RESET mov.w #0A00h,SP Main CALL #INIT


interrupt priority "overrride"

Started by stefandk63 in MSP43016 years ago 3 replies

Hi , people, I have keyboard scaning sequence inside TimerB interrupt. This sequence is relative slow, so its possible to lose bit/symbol in...

Hi , people, I have keyboard scaning sequence inside TimerB interrupt. This sequence is relative slow, so its possible to lose bit/symbol in software UART ( tied to TimerA). My intention is to make follow: TimerB_ISR: push r15 ;... mov #keybard_scanproc,r15 push r15 push SR reti keybard_scanproc: ;..... pop r15 pop SR ret Is this correct way? r...


LPM in MSP430F2xx

Started by diptipanchal in MSP43015 years ago 19 replies

I am using SPI communication to get the ADC values. I am using timer A for writing data into SPI TX buffer (UCA0TXBUF). After every 100mS,...

I am using SPI communication to get the ADC values. I am using timer A for writing data into SPI TX buffer (UCA0TXBUF). After every 100mS, data is written into SPI buffer & read the values from SPI RX buffer. Note: Using SMCLK, for SPI communication. I am trying to go in LPM3 modes based on some ADC values in the while loop of the main function. Then exit from LPM3 mode in TimerB. ...


Setting TIMERB timing bits

Started by Claro Louie in MSP43016 years ago 1 reply

Hi guys, May i ask for pointers regarding this? Below is a code that shows setting the TIMER B module to generate two different...

Hi guys, May i ask for pointers regarding this? Below is a code that shows setting the TIMER B module to generate two different timing intervals from two control registersim setting the clock at 8MHZ. The first interrupt service routine TIMER B0 outputs 1ms toggling rate and the second interrupt service routine TIMER B1 outputs 10ms toggling rate. But when i test this code, the TIM...



The 2024 Embedded Online Conference