Search the Community
Showing results for tags 'embedded c'.
-
Hello guys,i have a question for my project im using the msp430g2231 microcontroller and i want to measure frequencies up to 10Mhz.Im new to microcontrollers(not programming),and im not sure how to make the overflow work void main(void) { WDTCTL = WDTPW + WDTHOLD; // stop watchdog timer BCSCTL1 = CALBC1_1MHZ; // Set range DCOCTL = CALDCO_1MHZ; // Set DCO step + modulation delay(100); // delay 100mS until next screen refresh /*** Timer_A Set-Up ***/ TA0CCR0 = SampleTuneTime; TA0CCTL0 |= CCIE; // Interrupt enable
- 4 replies
-
- frequency counting
- embedded c
-
(and 1 more)
Tagged with:
-
Hey All, I tired to write a code, just check it out and tell me whether it gives out a LED glowing MSP430 or no. I know i am bad coder but i am learning it. Code is attached below. Tell me what all i should add in it. Thanks And Regards Msp.txt
- 1 reply
-
- MSP430g2231
- Embedded C
-
(and 1 more)
Tagged with:
-
Hey All, Hieeeee When i am debugging my code, it is giving a error called Multiple markers at this line - <a href="file:/D:/code%20composer%20studiov5/ccsv5/tools/compiler/dmed/HTML/MSP430/1527.html">#1527-D</a> (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead - #20 identifier "ADC10TL1" is undefined ON THIS LINE while(ADC10CTL1 & ADC10BUSY); Thanks in anticipation Nikki
- 1 reply
-
- MSP430G2231
- EMBEDDED C
-
(and 2 more)
Tagged with: