Suchergebnisse für ""MSP430G2231""
#include <msp430g2231 .h> #include <stdio.h> #include <stdint.h> #define I2C_add_read 0xD0 #define I2C_add_write 0xD1 void main(void) { WDTCTL = WDTPW + WDTHOLD; //disable watchdog timer //-I2C init USICTL0 |= USIPE7
in
„MSP430 I2C Kommunikation Slave ACK wird nicht gesendet“
·
Mikrocontroller und Digitale Elektronik
·
27.06.2023 01:23
#include <msp430g2231 .h> void main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer P1DIR |= 0x01; // Set P1.0 to output direction P1DIR |= 0x40; P1IE |= 0x20; // P1.5 interrupt enabled P1IFG &= ~0x20; // P1.5
in
„MSP430 G2231 Pull Up Widerstand !“
·
Mikrocontroller und Digitale Elektronik
·
18.05.2011 13:47
#include <msp430G2231 .h> // Header file for this device #include <intrinsics.h> // Intrinsic functions #define LED = BIT6 // Output bit for LED void wait (long int pwmpause); void main (void) { long int i, istwert, sollwert
in
„MSP430G2231 mit BUZ 11 PWM Ansteuerung“
·
Mikrocontroller und Digitale Elektronik
·
13.04.2011 21:37
#include <msp430G2231 .h> // Header file for this device #include <intrinsics.h> // Intrinsic functions int AD = 8; volatile int PWM; void main (void) { P1DIR = BIT3; // Setze LED1 als Ausgang WDTCTL = WDTPW | WDTHOLD
in
„MSP430G2231 PWM mit Duty Cycle 0 und 1“
·
Mikrocontroller und Digitale Elektronik
·
19.04.2011 19:36
//#include "io430.h" //#include <msp430g2231 .h> //#include <stdint.h> //#include "msp430x26x.h" #include <msp430g2553.h> #include "TI_USCI_I2C_master.h" // Autor: Andreas V. (Firma: anvado) (andreas_va) // EEPROM Basisadresse: 0x3333; // Daten
in
„MSP430 Aufkündigung?“
·
Mikrocontroller und Digitale Elektronik
·
25.11.2018 16:39
#include "msp430g2231 .h" #include "inttypes.h" #define LED1 BIT0 // red Led #define LED2 BIT6 // green Led #define TXD BIT1 // TXD on P1.1 #define Bitime 104 // 9600 Baud, SMCLK=1MHz (1MHz/9600)=104 uint8_t BitCnt; /
in
„MSP 430 Launchpad TX, printfEasy“
·
Mikrocontroller und Digitale Elektronik
·
30.09.2010 17:19
#include "msp430g2231 .h" #include "inttypes.h" #define LED1 BIT0 // red Led #define LED2 BIT6 // green Led #define TXD BIT1 // TXD on P1.1 #define Bitime 104 // 9600 Baud, SMCLK=1MHz (1MHz/9600)=104 uint8_t BitCnt; /
in
„Erfahrungen UART TI Launchpad“
·
Mikrocontroller und Digitale Elektronik
·
17.11.2010 16:08
#include <msp430G2231 .h> void main(void) { //Variablen Deklaration long int i, istwert, sollwert, regeldifferenzalt, regeldifferenzneu, integrationssumme, kp, ki, kd, ausgang; WDTCTL = WDTPW | WDTHOLD; // Stopt Watchdogtimer
in
„MSP430G2231 PWM mit Duty Cycle 0 und 1“
·
Mikrocontroller und Digitale Elektronik
·
20.04.2011 20:48
Thread
Lauchpad (MSP430G2553) auslesen. Ich hab noch das alte (Rev.1.4) Board bei dem urspruenglich ein MSP430G2231 gesteck war. Gibts da igendwas zu beachten? Muss ich da vielleicht die Firmware von http://processors.wiki.ti.com/index.php/MSP430_LaunchPad_Firmware_Update updaten? Um den HW-UART nutzen zu koennen
Mikrocontroller und Digitale Elektronik
· mmax
· 29.05.2013 09:03
· 10 Antworten
Thread
vom Array zu sehen. Hier das Programm: -------------------------------- [c] #include "msp430g2231 .h" unsigned int sin[40]; unsigned int i=0; #pragma vector = TIMERA0_VECTOR __interrupt void TIMERA0_sin (void) { P1OUT ^= BIT0; if (i==39) { i = 0; }
Mikrocontroller und Digitale Elektronik
· Benjamin Hase
· 17.03.2015 11:33
· 5 Antworten
#include "msp430g2231 .h" #include "inttypes.h" #include "stdlib.h" #include "stdio.h" #define LED1 BIT0 // red Led #define LED2 BIT6 // green Led #define TXD BIT1 // TXD on P1.1 #define Bitime 104 // 9600 Baud, SMCLK
in
„MSP430G2231 USART letztes Zeichen kaputt“
·
Mikrocontroller und Digitale Elektronik
·
06.05.2011 18:28
Thread
an die 16-Bit. Das bemerkt man sehr deutlich bei den 2k-Winzlingen (attiny2313 vs. msp430g2211/msp430g2231 - alle mit 128 Byte RAM). Wenn es auf dem attiny lief, läuft es u. U. auf dem msp nicht. Der benötigt mehr für den Stack. Welcher der MSP430 hat denn "viel" RAM? "Viel" bedeutet bei mir ">= 32KB
Mikrocontroller und Digitale Elektronik
· Tom M.
· 01.05.2012 20:19
· 14 Antworten
Thread
//sonst ok =0 damit abgebrochen wird } } [/c] und der zu prüfende: [c]#include <msp430g2231 .h> #define BIT0 (0x0001) #define BIT1 (0x0002) #define BIT2 (0x0004) #define BIT3 (0x0008) #define BIT4
Mikrocontroller und Digitale Elektronik
· maik kaurik
· 14.10.2012 01:25
· 19 Antworten
green LED -------------- */ #include "msp430g2211.h" #include "inttypes.h" #include "stdbool.h" // MSP430g2231 Signale / PINs #define TXD BIT1 // TXD an P1.1 #define RXD BIT2 // RXD an P1.2 // Timing for the Software UART #define BitTime 104 // 9600 Baud, SMCLK=1MHz (1MHz/9600)=104 #define BitTime_5 52 /
in
„Problem mit UART und PWM auf MSP430G2211“
·
Mikrocontroller und Digitale Elektronik
·
03.05.2011 20:28
5.10 //****************************************************************************** #include "msp430g2231 .h" //------------------------------------------------------------------------------ // Hardware-related definitions //----------------------------------------------------------------------------
in
„Erfahrungen UART TI Launchpad“
·
Mikrocontroller und Digitale Elektronik
·
22.11.2010 22:13
5.10 //****************************************************************************** #include "msp430g2231 .h" //------------------------------------------------------------------------------ // Hardware-related definitions //----------------------------------------------------------------------------
in
„MSP430 - Timer Operation Wechsel?“
·
Mikrocontroller und Digitale Elektronik
·
31.05.2013 10:52
5.10 //****************************************************************************** #include "msp430g2231 .h" //------------------------------------------------------------------------------ // Hardware-related definitions //----------------------------------------------------------------------------
in
„MSP430 - Timer Operation Wechsel?“
·
Mikrocontroller und Digitale Elektronik
·
31.05.2013 10:58
Thread
dann die Verzögerungswarteschleife: [code]__delay_cycles(1250);[/code] Das produziert auf dem MSP430G2231 ca. 1ms Verzögerung und muß bei dir dann durch etwas eigenes, das 1 ms wartet, ersetzt werden. Dementsprechend muß die 60 µs Warteschleife: [code] __delay_cycles(75);[/code] ebenfalls durch
Mikrocontroller und Digitale Elektronik
· Wolle G.
· 23.12.2020 23:10
· 46 Antworten
**************************************************************** #include <signal.h> #include "msp430g2231 .h" //------------------------------------------------------------------------------ // Hardware-related definitions //----------------------------------------------------------------------------
in
„MSP430 launchpad TimerA_UART“
·
Mikrocontroller und Digitale Elektronik
·
07.03.2011 18:39
2018 //****************************************************************************** //#include <msp430g2231 .h> #include <legacymsp430.h> #include <msp430g2553.h> //#include "msp430x22x4.h" //#include "msp430x23x0.h" //#include "msp430xG46x.h" // ... // more devices are possible #include "TI_USCI_I2C_master.h
in
„MSP430 Aufkündigung?“
·
Mikrocontroller und Digitale Elektronik
·
25.11.2018 16:40
Thread
du mal herunterladen, falls du es nicht schon getan hast: http://focus.ti.com/lit/ds/symlink/msp430g2231 .pdf
Mikrocontroller und Digitale Elektronik
· Michael N.
· 27.03.2011 16:03
· 36 Antworten
5.10 //****************************************************************************** #include <msp430g2231 .h> void Master_Transmit(void); void Setup_USI_Master_TX(void); void ADC1(void); void ADC2(void); char *Daten; //..................................................................................
in
„MSP430G2231 - I2C TI-Code funktioniert nicht“
·
Mikrocontroller und Digitale Elektronik
·
04.05.2011 17:38
Bsp. Pollin-Display C0802-04 --------------------------------------------------- o +5V | Display MSP430G2231 _ Funktion PIN PIN Funktion | | |_| GND 1 ------------ | +5V 2 ------------ o----o Kontrast --- Kontrast 3 ------------ _|_ RS 4 ------------ 9 P0_0 \ / GND 5 ------------ -'- (Takt) E 6 -------
in
„LCD im 4-Bit Modus an nur einem Port betreiben“
·
Mikrocontroller und Digitale Elektronik
·
15.12.2020 21:22
Thread
Erweiterungen sind grundsätzlich per I²C-Bus möglich, mal sehen wann die 2 KB Flash des mitgelieferten MSP430G2231 voll sind und ein größerer Prozessor her muss. Ich beginne mit der Low-Cost-Variante: 3 Tasten und eine LED. Die Zeitprogrammierung erfolgt nach dem Prinzip vom ECOroll: http://www.lottgmbh.com
Mikrocontroller und Digitale Elektronik
· Torsten C.
· 15.12.2013 23:46
· 62 Antworten
Thread
abspeichern kann. Steht auch unter "Save Memory" in der Hilfe. Das Programm sollte im Flash beim MSP430G2231 im Prinzip ab Adresse 0xf800 oder so zu finden sein. "Load" funktioniert natürlich auch. Ähnliches gilt auch für IAR Embedded Workbench. Remo schrieb im Beitrag #1864157: > Frage 1) Nach
Mikrocontroller und Digitale Elektronik
· Tine Schwerzel
· 23.07.2011 05:19
· 471 Antworten
MSP430G2221 G2xx 16-bit Ultra-Low-Power Mikrocontroller, 2kB Flash, 128B RAM, USI für SPI/I2C MSP430G2231 G2xx 16-bit Ultra-Low-Power Mikrocontroller, 2kB Flash, 128B RAM, 10-Bit SAR A/D, USI für SPI/I2C MSP430G2102 G2xx 16-Bit Ultra-Low-Power-Mikrocontroller, 1kB Flash, 256B RAM, USI für SPI/I2C, 16
in
„gutes Übersetzungsprogramm für Datenblätter gesucht“
·
Offtopic
·
05.07.2022 21:51
MSP430G2221 G2xx 16-bit Ultra-Low-Power Microcontroller, 2kB Flash, 128B RAM, USI for SPI/I2C MSP430G2231 G2xx 16-bit Ultra-Low-Power Microcontroller, 2kB Flash, 128B RAM, 10-Bit SAR A/D, USI for SPI/I2C MSP430G2102 G2xx 16-bit Ultra-Low-Power Microcontroller, 1kB Flash, 256B RAM, USI for SPI/I2C, 16
in
„gutes Übersetzungsprogramm für Datenblätter gesucht“
·
Offtopic
·
05.07.2022 21:50
16pin QFN, 2KB Flash Memory, 128B RAM MSP430G2230ID 8pin SOIC, 2KB + 256B Flash Memory, 128B RAM MSP430G2231 IN14 14pin PDIP, 2KB Flash Memory, 128B RAM MSP430G2231 IPW14 MSP430G2231 , 14pin PDIP, 2KB Flash Memory, 128B RAM MSP430G2231 IRSA16 MSP430G2231 , 16pin QFN, 2KB Flash Memory, 128B RAM MSP430G2232IN20
in
„KiCAD Eeschema, Bibliotheksdokumentation *.dcm als PDF-Datei“
·
Platinen
·
31.08.2017 21:40
Microcontrollers [Desc]: Ultra-low-power ARM Cortex-M3 MCU with 128 Kbytes Flash, 32 MHz CPU, USB MPN: MSP430G2231 IRSA16R [ID]: 000155 [Price]: 0.8 USD [QTY]: 2 [Category]: Microcontrollers [Desc]: 16 MHz MCU with 2KB Flash, 128B SRAM, 10-bit ADC, SPI/I2C, timer 16-QFN -40 to 85 Page 51/87 Bauteileliste vom
in
„[V] Grosse Menge an Bauteilen :)“
·
Markt
·
12.08.2022 19:05
Microcontrollers [Desc]: Ultra-low-power ARM Cortex-M3 MCU with 128 Kbytes Flash, 32 MHz CPU, USB MPN: MSP430G2231 IRSA16R [ID]: 000155 [Price]: 0.8 USD [QTY]: 2 [Category]: Microcontrollers [Desc]: 16 MHz MCU with 2KB Flash, 128B SRAM, 10-bit ADC, SPI/I2C, timer 16-QFN -40 to 85 MPN: MSP430G2121IPW14R [ID]:
in
„[V] Grosse Menge an Bauteilen :)“
·
Markt
·
12.08.2022 20:18
Microcontrollers [Desc]: Ultra-low-power ARM Cortex-M3 MCU with 128 Kbytes Flash, 32 MHz CPU, USB MPN: MSP430G2231 IRSA16R [ID]: 000155 [Price]: 1.1024 USD [QTY]: 2 [Category]: Microcontrollers [Desc]: 16 MHz MCU with 2KB Flash, 128B SRAM, 10-bit ADC, SPI/I2C, timer 16-QFN -40 to 85 MPN: MSP430G2121IPW14R [ID
in
„[V] Grosse Menge an Bauteilen :)“
·
Markt
·
12.08.2022 23:41