-
Datei
fet140_ta_05.c
//****************************************************************************** // MSP-FET430P140 Demo - Timer_A, Toggle P1.0, CCR0 Up Mode ISR, 32kHz ACLK // // Description: Toggle P1.0 using software and the TA_0 ISR. Timer_A is // configured for up mode, thus the timer overflows when
in „anfänger frage:Timer_A mit MSP430“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
untitled.sch.pdf
03.01.2008 19:17:22 C:\Programme\EAGLE-4.11\projects\msp430\msp4301\untitled.sch (Sheet: 1/2) 03.01.2008 19:17:22 C:\Programme\EAGLE-4.11\projects\msp430\msp4301\untitled.sch (Sheet: 2/2)
in „MSP430 - EZ430 Board“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MSP430g2231_UART_backup.c
the example code provided by TI with the LaunchPad. * This code was originally created for "NJC's MSP430 * LaunchPad Blog". * * Author: Nicholas J. Conn - http://msp430launchpad.com * Email: webmaster at msp430launchpad.com * Date: 08-17-10 ******************************************************************************/ #include "msp430g2231.h" #include "stdbool.h" #define bit_get(p,m) ((p) & (m)) #define bit_setzen(p,m) ((p) |= (m)) #define bit_loeschen(p,m) ((p) &= ~(m)) #define bit_flip(p,m) ((p) ^= (m)) #define bit_write(c,p
in „MSP430G2231 - UART 26 Bit übertragen/empfangen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet440_ta01.c
//****************************************************************************** // MSP-FET430P440 Demo - Timer_A Toggle P5.1, CCR0 Contmode ISR, DCO SMCLK // // Description; Toggle P5.1 using using software and TA_0 ISR. Toggle rate is // set at 50000 DCO/SMCLK cycles. Default DCO frequency
in „MSP430 als Taktgeber nutzen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet140_ta01.c
//****************************************************************************** // MSP-FET430P140 Demo - Timer_A Toggle P1.0, CCR0 Contmode ISR, DCO SMCLK // // Description; Toggle P1.0 using using software and TA_0 ISR. Toggle rate is // set at 50000 DCO/SMCLK cycles. Default DCO frequency
in „MSP 430 Wie Timer in C programmieren?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
//****************************************************************************** // MSP-FET430P440 Demo - ADC12, Single Conversion on Single Channel // // This example shows how to perform a single ADC12 conversion on a single // channel. It uses AVcc for the reference and performs a single
in „MSP430-449STK2 ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430xG46x_tb_05.c
//****************************************************************************** // MSP430xG46x Demo - Timer_B, Toggle P5.1, TBCCR0 Up Mode ISR, 32kHz ACLK // // ACLK = LFXT1 = 32768Hz, MCLK = SMCLK = default DCO = 32 x ACLK = 1048576Hz // //* An external watch crystal between XIN & XOUT is required for ACLK *// // // MSP430xG46x // ----------------- // /|\| XIN|- // | | | 32kHz // --|RST XOUT|- // | | // | P5.1|-->LED // // Texas Instruments Inc. // October 2006 // Built with CCE Version: 3.2.0 and IAR Embedded Workbench
in „MSP430xG46x TimerB Capture Compare Register Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430x23x0_tb_06.c
//****************************************************************************** // MSP430F23x0 Demo - Timer_B, Toggle P1.0, TBCCR1 Cont. Mode ISR, DCO SMCLK // // Description: Toggle P1.0 using software and TB_1 ISR. Toggles every // 50000 SMCLK cycles. SMCLK provides clock source for
in „MSP430xG46x TimerB Capture Compare Register Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet140_adc12_02.c
//****************************************************************************** // MSP-FET430P140 Demo - ADC12, Using the Internal Reference // // Description: This example shows how to use the internal reference of the ADC12. // It uses the internal 2.5V reference and performs a single
in „MSP430 F1612 Single-Channel, Single Conversion - Mode (ADC12)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430x20x3_P1_02.c
//****************************************************************************** // MSP430F20xx Demo - Software Port Interrupt Service on P1.4 from LPM4 // // Description: A hi/low transition on P1.4 will trigger P1_ISR which, // toggles P1.0. Normal mode is LPM4 ~ 0.1uA. LPM4 current
in „MSP Interruptroutine“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet140_adc12_02.c
//****************************************************************************** // MSP-FET430P140 Demo - ADC12, Using the Internal Reference // // Description: This example shows how to use the internal reference of the ADC12. // It uses the internal 2.5V reference and performs a single
in „Brauche Rat zum ADC12 des MSP430“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet410_ta_03.c
//****************************************************************************** // MSP-FET430P410 Demo - Timer_A, Toggle P5.1, Overflow ISR, DCO SMCLK // // Description: This program toggles P5.1 using software and the Timer_A // overflow ISR. In this example an ISR triggers when TA overflows
in „iar compiler Einstellungen msp430“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sleep.c
====== * s l e e p . c * * Author: Lars Heinrichs Date: Oct 2014 * * Contains a sleep function for MSP430 * sleep sends MSP to LPM3 mode with active Interrupts * uses the timer module TIMER0_A0 for wake up * * ======================================================= * * Call sleep_Setup() before first usage of sleep() */ #include <msp430.h> void sleep_Setup(void) { TA0CCTL0 = CCIE; // enable CCR0 interrupt (IF on reaching TA0CCR0) TA0CCR0 = 32000; // Default timer CCR0, will be overwritten when calling sleep() TA0EX0 = 7; // Set
in „MSP430 Low Power Mode Interrupt Timer mit wählbarer Dauer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430x20x3_usi_05.c
//****************************************************************************** // MSP430F20x2/3 Demo - USI SPI Interface to TLC549 8-bit ADC // // Description: This program demonstrates the USI in SPI mode interface to a // TLC549 8-bit ADC. If AIN > 0.5(REF+ - REF-), P1.0 set, else
in „MSP430 MSP430F2013 SPI Kommunikation mit D/A-Wandler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TS_5435_0118-adc12_03.c
// Versuch --ADW mit MSP430F5435-- #include <msp430.h> #include "msp430x54x.h" #include <TS_5435-LC7981.h> // für FK-Anzeige #include <stdio.h> // für sprintf void programmversion(void); long zahl; unsigned int zahla,akku;
in „Bedeutung?: Error: cannot load from …..“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet440_ta_pwm01.c
//******************************************************************************* // MSP-FET430P440 Demo - Timer_A PWM TA1-2 upmode, DCO SMCLK // // Description; This program will generate a two PWM outputs on P1.2/2.0 using // Timer_A in an upmode. The value in CCR0, 512, defines the period
in „MSP430 als Taktgeber nutzen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
//****************************************************************************** // MSP430FG4618 HALLSIGNAL with TimerB & Register // // Description: // // MSP430xG461x // ----------------------- // /|\| | // | | | // --|RST | // | | // | P5.1|-->LED4 red & Square waveform // SW1-->|P1.0
in „MSP430xG46x TimerB Capture Compare Register Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet120_uart04_09600.c
//****************************************************************************** // MSP-FET430P120 Demo - USART0, UART 9600 Echo ISR, No XTAL, Rosc DCO Only // // Description: Echo a received character, USART0 RX ISR at high-speed using // no XTAL and external resistor for DCO stabilized
in „MSP430 USART RX interrupt wird nicht aufgerufen.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet140_tb_06.c
//******************************************************************************* // MSP-FET430P140 Demo - Timer_B, PWM TB1-6, Up Mode, DCO SMCLK // // Description: This program generates six PWM outputs on P4.1-6 using // Timer_B configured for up mode. The value in CCR0, 512-1, defines
in „Wieso (fast) immer nur 2 PWMs pro Timer? (billig MCU)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
//---------------------------------------------------------------------------- // MSP430xG46x Quelle: http://www.mikrocontroller.net/articles/MSP430_Codebeispiele // ----------- // DESCRIPTION: Erzeugt ein PWM Signal an P1.2 // ------------ Als Timerclock wird der SMCLK 1048576 Cycles
in „PWM Verständnis über CCR Register“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
slaa323a.pdf
analog-to-digital converter (ADC). An example is shown that uses this technique for the ADC12 module of an MSP430™ microcontroller (MCU) to obtain greater than 12 bits of resolution. The example code and the Gerber files for the PCB can be downloaded from www.ti.com/lit/zip/slaa323. Contents 1 Introduction..
-
Datei
fet140_uart01_09600_2.c
//****************************************************************************** // MSP-FET430P140 Demo - USART0, Ultra-Low Pwr UART 9600 Echo ISR, 32kHz ACLK // // Description: Echo a received character, RX ISR used. In the Mainloop UART0 // is made ready to receive one character with
in „MSP430F169 UART LFXTL Einstellungen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
//****************************************************************************** // MSP430FG4618 HALLSIGNAL with TimerB & Register // // Description: // // MSP430xG461x // ----------------------- // /|\| | // | | | // --|RST | // | | // | P5.1|-->LED4 red & Square waveform // SW1-->|P1.0
in „MSP430xG46x TimerB Capture Compare Register Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430xG46x_usart1_uart_9600.c
//****************************************************************************** // MSP430xG46x Demo - USART1, Ultra-Low Pwr UART 9600 Echo ISR, 32kHz ACLK // // Description: Echo a received character, RX ISR used. Normal mode is LPM3, // USART1 RX interrupt triggers TX Echo. // ACLK =
in „RS232 mit MSP430FG4618“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
------------------------------------------------------------- controls a EA DOGM162x-x LCD by a TI MSP430x12x2, MSP430x22x2 or MSP430x22x4 ---------------------------------------------------------------------------- connect the LCD in seriell (SPI) or parallel (4bit or 8bit) mode an select the right
in „DOGM162 an MSP430F1232 betreiben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430x54x_UCS_8.c
//****************************************************************************** // MSP430F54x Demo - XT2 sources MCLK & SMCLK // // Description: This program demonstrates using XT2 to source MCLK. XT1 is not // connected in this case. // // By default, LFXT1 is requested by the following
in „MSP430F543x Quarz Problem und Probleme mit dem Debuggen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet140_uart07_09600.c
//****************************************************************************** // MSP-FET430x140 Demo - USART0, Ultra-Low Pwr UART 9600 RX/TX, 32kHz ACLK // // Description: This program demonstrates a full-duplex 9600-baud UART using // USART0 and a 32kHz crystal. The program will wait
in „MSP430 Problem mit uart“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430xG46x_tb_TBIV.c
//****************************************************************************** // MSP430xG46x Demo - Timer_B, Toggle P5.1, TBCCR0 Cont. Mode ISR, DCO SMCLK // // Description: Toggle P5.1 using software and TB_0 ISR. Toggles every // 50000 SMCLK cycles. SMCLK provides clock source for
in „MSP430xG46x TimerB Capture Compare Register Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430xG46x_tb_TBIV_funzt.c
//****************************************************************************** // MSP430xG46x Demo - Timer_B, Toggle P5.1, TBCCR0 Cont. Mode ISR, DCO SMCLK // // Description: Toggle P5.1 using software and TB_0 ISR. Toggles every // 50000 SMCLK cycles. SMCLK provides clock source for
in „MSP430xG46x TimerB Capture Compare Register Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430xG46x_uscia_uart_9600.c
//****************************************************************************** // MSP430xG46x Demo - USCI_A0, Ultra-Low Pwr UART 9600 Echo ISR, 32kHz ACLK // // //****************************************************************************** #include <msp430xG46x.h> void Welcome_Note
in „msp430xG46x_usart1_19200.c "tested"?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430xG46x_uscia0_uart_115k_lpm.c
//****************************************************************************** // MSP430xG46x Demo - USCI_A0, 115200 UART Echo ISR, DCO SMCLK, LPM3 // // Description: Echo a received character, RX ISR used. Normal mode is LPM3. // Automatic clock activation for SMCLK through the USCI
in „EXP430FG4618 Kommunikation via RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet110_flash_write.c
//**************************************************************************** // MSP-FET430x110 Demo - Flash In-System Programming // // Description; This program first erases flash seg A, then it increments all // values in seg A, then it erases seg B, then copies seg A to seg B. // Assumed MCLK 550kHz - 900kHz. // // MSP430F1121 // ----------------- // /|\| XIN|- // | | | // --|RST XOUT|- // | | // // M. Mitchell // Texas Instruments, Inc // January 2002 // Built with IAR Embedded Workbench Version: 1.25A //********
in „Zugriff auf Flashzelle“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430x46x_tb_10.c
//****************************************************************************** // MSP430xG46x Demo - Timer_B, PWM TB1-6, Up Mode, DCO SMCLK // // Description: This program generates six PWM outputs on P2/P3 using // Timer_B configured for up mode. The value in CCR0, 512-1, defines the
in „MSP430xG46x TimerB Capture Compare Register Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
//****************************************************************************** // MSP430xG46x Demo - Timer_B, PWM TB1-6, Up Mode, DCO SMCLK // // Description: This program generates six PWM outputs on P2/P3 using // Timer_B configured for up mode. The value in CCR0, 512-1, defines the
in „MSP430xG46x TimerB Capture Compare Register Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430xG46x_tb_TBIV.c.c
//****************************************************************************** // MSP430xG46x Demo - Timer_B, Toggle P5.1, TBCCR0 Cont. Mode ISR, DCO SMCLK // // Description: Toggle P5.1 using software and TB_0 ISR. Toggles every // 50000 SMCLK cycles. SMCLK provides clock source for
in „MSP430xG46x TimerB Capture Compare Register Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet140_flashwrite_01.c
//**************************************************************************** // MSP-FET430P140 Demo - Flash In-System Programming, Copy SegA to SegB // // Description: This program first erases flash seg A, then it increments all // values in seg A, then it erases seg B, then copies
in „MSP430 flash“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD.c
/ /* Aufgabe: Initialisierung des LCD Controllers */ /* */ /* System: Controller Texas Instruments MSP430F449 */ /* Compiler CrossStudio for MSP430 Version 1.4 */ /*----------------------------------------------------------------------------*/ /* Funktionen: init_LCD */ /* clear_LCD */ /* display_LCD
in „MSP430FG439 mit LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430dayII_vr.c
autonomous speech recording // and playback. CPU runs from DCO at the default speed of 1MHz. // // MSP430FG439 // +--------------------+ // | | // | VREF+ +----/\/\/\--- // | | | // | P6.0/OA0I0|----||------+ // | | | // | | MIC // | | | // | | | // | | GND // | | // | ADC0 +-------< input from mic pre-amplifier
in „MSP 430 C-Programm verstehen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430x46x_tb_10.c
//****************************************************************************** // MSP430xG46x Demo - Timer_B, PWM TB1-6, Up Mode, DCO SMCLK // // Description: This program generates six PWM outputs on P2/P3 using // Timer_B configured for up mode. The value in CCR0, 512-1, defines the
in „MSP430xG46x TimerB Capture Compare Register Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sleep.c
================================================ * s l e e p . c * * Contains a sleep function for MSP430 * sleep sends MSP to LPM0 mode with active Interrupts * uses the timer module TIMER0_A1 for wake up * * ======================================================= * */ #include <msp430.h> #include <
in „MSP430G2452 128ms Tastenentprellung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430x21x2_flashwrite_01.c
//****************************************************************************** // MSP430F21x2 Demo - Flash In-System Programming, Copy SegC to SegD // // Description: This program first erases flash seg C, then it increments all // values in seg C, then it erases seg D, then copies seg
in „MSP430 flash löscht sich?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430xG46x_usart1_uart_2400.c
//****************************************************************************** // MSP430xG46x Demo - USART1, Ultra-Low Pwr UART 2400 Echo ISR, 32kHz ACLK // // Description: Echo a received character, RX ISR used. In the Mainloop USART1 // is made ready to receive one character with interrupt
in „msp430xG46x_usart1_19200.c "tested"?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet140_spi0_05.c
//****************************************************************************** // MSP-FET430P140 Demo - USART0, SPI 3-Wire Master // // Description: SPI master talks to SPI slave using 3-wire mode. Incrementing // data is sent by the master starting at 0x00. Received data is expected
in „MSP430 Probleme mit SPI/Temp Sensor“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TBIV_switch_main.c
//****************************************************************************** // MSP430xG46x Demo - Timer_B, Toggle P5.1, TBCCR0 Cont. Mode ISR, DCO SMCLK // // Description: Toggle P5.1 using software and TB_0 ISR. Toggles every // 50000 SMCLK cycles. SMCLK provides clock source for
in „MSP430xG46x TimerB Capture Compare Register Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet140_adc12_05.c
//****************************************************************************** // MSP-FET430P140 Demo - ADC12, Repeated Sequence of Conversions // // This example shows how to perform a repeated sequence of conversions using // "repeat sequence-of-channels" mode. AVcc is used for the
in „MSP430 - ADC12 -repeated conversations“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet140_fll_01.c
//****************************************************************************** // MSP-FET430P140 Demo - Basic Clock, Implement Auto RSEL SW FLL // // Description: Set DCO clock to (Delta)*(4096) using software FLL. DCO clock // is output on P5.5 as SMCLK. DCO clock, which is the selected
in „MSP430 F1611 - SW FLL“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TS_iP152_C0802testen-a.c
// MSP430F1611 // ----------------- // | XIN|- 32,768kHz // | | // Taster rot--|RST (58) XOUT|- 32,768kHz // 8 Mhz X2IN- | // | // 8 MHz X2OUT- | P1.0..P1.7|Daten FKA usw. // | | // | P3.0| CS1 SPI frei (28
in „LCD im 4-Bit Modus an nur einem Port betreiben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TS_iP158_C0802testen_P1-2-1.c
// MSP430F1611 // ----------------- // | XIN|- 32,768kHz // | | // Taster rot--|RST (58) XOUT|- 32,768kHz // 8 Mhz X2IN- | // | // 8 MHz X2OUT- | P1.0..P1.7|Daten FKA usw. // | | // | P3.0| CS1 SPI frei (28
in „LCD im 4-Bit Modus an nur einem Port betreiben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
example.c
// MSP430F169 // ----------------- // /|\| XIN|- 32,768kHz // | | | // Taster blau-|RST (58) XOUT|- 32,768kHz // | P1.7|LED Grün // 6 Mhz X2IN- | P1.6|Taster für Entladung wiederholen rechts // | P1.5|Taster
in „MSP430 über UART Daten senden“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Ultraschall.pdf
Sequenz an die Leistungsstufe des Senders ¨bergibt. Als ein solcher Microcontrol¨er kame zu Beispiel der MSP430 von Texas Instruments in Frage, da dieser durch seinen niedrigen Energiever- brauch, grossen RAM und die vorhandenen Schnittstellen die Anforderungen zur Verwendung in einer Bake er¨ullen kann [6
in „schnelle Entfernungsmessung“ · Mikrocontroller und Digitale Elektronik ·