-
Datei
2usart_2.c
#include "msp430x14x.h" void wait(unsigned int i); void SendUSART1(unsigned char* str); void SendUSART0(unsigned char* str); void SendUSART1c(unsigned char str); void SendUSART0c(unsigned char str); void IntToString
in „MSP 430: Beide USARTs nutzen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430xG46x.h> int i,a,b1,b2; void main(void) { WDTCTL = WDTPW +WDTHOLD; P1DIR = 0xFF; // Port1 als Ausgang gesetzt (Interrupt) P10DIR = BIT6 + BIT7; // P10.6 & P10.7 als Ausgang (LED I-ROT & LED-Rot) P6SEL
in „MSP430 - ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Datenspeicher.c
// MSP430F1611 // ----------------- // /|\| XIN|- 32,768kHz // | | | // Taster rot--|RST (58) XOUT|- 32,768kHz // | P2.2|LED Grün // 8 Mhz X2IN- | P2.1|Taster für löschen // | P2.0|Taster für Start //8 MHz X2OUT
in „MSP430 Interrupt verschachteln“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Datenspeicherkorrigiert.c
// MSP430F1611 // ----------------- // | XIN|- 32,768kHz // Taster rot--|RST (58) XOUT|- 32,768kHz // | P2.2|LED grün //8 Mhz X2IN- | P2.1|Taster für löschen // | P2.0|Taster für Start //8 MHz X2OUT- | P1.0.
in „MSP430 Interrupt verschachteln“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "msp430x14x.h" volatile unsigned char ADC_Results[16]; unsigned int sample_count; volatile unsigned int samples; void main (void) { char i = 0; WDTCTL = WDTPW + WDTHOLD; // watchdog aus BCSCTL1|=XTS+XT2OFF
in „MSP430 Taktdiagramm“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_moni.c
// Ansteuerung des LCD-Displays #include <msp430x14x.h> #define STOP_WATCHDOG WDTCTL = WDTPW + WDTHOLD; // Watchdog anhalten int main(void); void init(void); void LCD_clear(void); void LCD_init(void); void wait(long i); long i=0; int main(void) {
in „Hilfe mein Display streickt !!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include<msp430x14x.h> /* Typen mit Vorzeichen */ typedef signed char int8_t; typedef signed int int16_t; typedef signed long int32_t; typedef unsigned char uint8_t; typedef unsigned int uint16_t; typedef unsigned
in „1bit dac am msp430“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TS_5435_0118-adc12_03.c
// AD-Wandler lesen #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; float g,d,e; char zab[8]; char z1a; int main(void
in „Bedeutung?: Error: cannot load from …..“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "msp430f5529.h" // Einbinden der Definitionen #define LED_X 0x01 // LED (rot) an P1.0 unsigned int MAX = 5; // oberes Ende beider Arrays unsigned int MIN = 0; // unteres Ende beider Arrays unsigned int Wobbel_Dir
in „LED toggelt nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "msp430f5529.h" // Einbinden der Definitionen #define LED_X 0x01 // LED (rot) an P1.0 unsigned int MAX = 5; // oberes Ende beider Arrays unsigned int MIN = 0; // unteres Ende beider Arrays unsigned int Wobbel_Dir
in „LED toggelt nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430g2553.h> #include <math.h> #ifndef TIMER0_A1_VECTOR #define TIMER0_A1_VECTOR TIMERA1_VECTOR #define TIMER0_A0_VECTOR TIMERA0_VECTOR #endif //PWM #define PWM_TIME 2000 //timer clock: 12e6/8 = 1,5e6 =
in „MSP430G2553 PWM flackert beim Verstellen der Pulsweite“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stepper.c
/* * stepper.c * * erstellt von: Hessen Boudache */ #include <msp430.h> #include "stepper.h" /* Bit number of PORT2 where APH pin is connected*/ #define STEPPER_APH (1) /* Bit number of PORT2 where BPH pin is connected*/ #define STEPPER_BPH (4) /* Bit number of PORT2
in „Motor steuern mit DDS Prinzip (direct digital synthesis)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
basic_wifi_application.c
POSSIBILITY OF SUCH DAMAGE. * */ #include <stdint.h> #include <stdio.h> #include <string.h> #include "msp430.h" #include <msp430xG46x.h> #include "hal_board.h" #include "hal_buttons.h" #include "hal_rfspi.h" #include "hal_uart.h" // #include "dispatcher.h" #include "board_spi.h" #include "application_version.h
in „Probleme mit CC3000 auf dem MSP-EXP430FG4618“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uhr.c
#include <msp430x14x.h> void init_Clock( void ); void init_Timer(void); void main(void); struct tm { int tm_sec; /* 0..59 */ int tm_min; /* 0..59 */ int tm_hour; /* 0..23 */ int tm_mday; /* 1..31 */ int tm_mon; /*
in „MSP 430 & Uhrzeit“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SCHEMA.pdf
VCC_TARGET ST1-D 3 1 DVCC AVCC 64 2 4 ST1-C TDI IC1 2 P6.3/A3 DVSS 63 n J3-C 3 NC 6 ST1-F ST1-E 5 TMS MSP430F149 0 3 P6.4/A4 AVSS 62 1 NC 8 ST1-H ST1-G 7 TCK V 4 P6.5/A5 P6.2/A2 61 1 1 NC 10 ST1-J ST1-I 9 DGND 1 C u 5 P6.6/A6 P6.1/A1 60 C 1 NC 12 ST1-L ST1-K 11 RST_NMI SQ1 6 P6.7/A7 P6.0/A0 59 2.2u 10V NC
in „Ist die Hardware so richtig? (SCM Review)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430x14x.h> #include <math.h> #include <inttypes.h> unsigned int i=0; unsigned int j=0; unsigned int RMS_SIG1,RMS_SIG2,RMS_SIG3,Test; unsigned long int MW_SIG1,MW_SIG2,MW_SIG3; unsigned long long int SUM_SIG1
in „RMS über 8192 Werte auf MSPF149 sehr langsam“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd16x2.c
---------------------------------------------- // Project: LCD16x2 functions // Used components: MSP430-169STK // Date: 10/28/2007 // Author: Stephan Plaschke //------------------------------------------------------------------------------ #include <main.h> void Delay_ms(unsigned char delay_ms) { switch
in „LCD Code Problem mit MSP430“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c2.c
/* * uuu.c * * Created on: 04.07.2011 * Author: praktikant */ #include "msp430x21x2.h" #define UCB0CTL0_ 0x0068 sfrb(UCB0CTL0,UCB0CTL0_); #define UCB0CTL1_ 0x0069 sfrb(UCB0CTL1,UCB0CTL1_); #define UCB0BR0_ 0x006A sfrb(UCB0BR0,UCB0BR0_); #define UCB0BR1_ 0x006B sfrb(UCB0BR1,UCB0BR1
in „I2C bei MSP430F2122“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430x26x.h> volatile unsigned int i; void transmit(char data) { while (!(IFG2 & UCB0TXIFG)); UCB0TXBUF = data; // Transmit first character while (!(IFG2 & UCB0TXIFG)); } void data(char data) { while (!(
in „DOGM128 an MSP430“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
flash.c
/* * flash.c * * Created on: 09.11.2013 * Author: wv */ #include <msp430.h> #include "flash.h" void writeWord(int *Flash_ptr, int value) { FCTL3 = FWKEY; // Clear Lock bit FCTL1 = FWKEY + WRT; // Set WRT bit for write operation *Flash_ptr = value; // Write value to flash
in „MSP430 Gleitkommazahl in Flash speichern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
target_schematic.pdf
P3.5 JUMPER2 Vcc Vcc USB_PWR 22pF C28 Q1 P P P P P P P P P P P P P P P P e e c f d J1 g dp D2 1 MSP430F133IPM 2 22pF C27 3 RN4 1N4148 4Meg JUMPER3 +5V +5V +5V +5V IC3 J2 GND GND TXD OSCO L1 1 DTR# OSCI R1 4 5 6 2 RTS# TEST USB_PWR +5V VCC3V Vcc R R R VCCIO AGND 4,7K 10nH JUMPER2 RXD NC R K RI# CBUS0
-
PDF
target_schem.pdf
P3.5 JUMPER2 Vcc Vcc USB_PWR 22pF C28 Q1 P P P P P P P P P P P P P P P P e e c f d J1 g dp D2 1 MSP430F133IPM 2 22pF C27 3 RN4 1N4148 4Meg JUMPER3 +5V +5V +5V +5V IC3 J2 GND GND TXD OSCO L1 1 DTR# OSCI R1 4 5 6 2 RTS# TEST USB_PWR +5V VCC3V Vcc R R R VCCIO AGND 4,7K 10nH JUMPER2 RXD NC R K RI# CBUS0
-
Datei
0167-iar_V07-UART_DS04_16bit.c
#include <msp430x16x.h> #include <string.h> // für Zeichen (Infotext) notwendig #include <stdio.h> // für sprint #include <signal.h> void Timer_einstellen(void); void UART_einstellen(void); void werte_feld_fuellen(
in „MSP430 über UART Daten senden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Main_256_Sinwerte.txt
#include <msp430g2553.h> #ifndef TIMER0_A1_VECTOR #define TIMER0_A1_VECTOR TIMERA1_VECTOR #define TIMER0_A0_VECTOR TIMERA0_VECTOR #endif #define TORKONTAKT BIT4 #define SCHLUESSELSCHALTER BIT5 #define ALARM BIT7 #define
in „MSP430: Sinus höherer Frequenz per PWM erzeugen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Main_256_Sinwerte.c
#include <msp430g2553.h> #ifndef TIMER0_A1_VECTOR #define TIMER0_A1_VECTOR TIMERA1_VECTOR #define TIMER0_A0_VECTOR TIMERA0_VECTOR #endif #define TORKONTAKT BIT4 #define SCHLUESSELSCHALTER BIT5 #define ALARM BIT7 #define
in „MSP430: Sinus höherer Frequenz per PWM erzeugen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tastatur.c
#include <msp430x14x.h> void wait(unsigned int i); // prototypen void LCDOutc(char str); void LCDOuts(char* str); void LCDInit(void); void LCDClear(void); void LCDClock(void); int main(void); int chars=0; // var. zur
-
Datei
LCD.c
******************************************** // // LCD-Library // // Stellt LCD-Routinen für den MSP430F2013 bereit. die Pins werden in der // LCD.h Datei definiert. // // Last update: 20.03.2010 by Mojo // // Original writen by Mathar.com changed by Mojo // //****************************************
in „LCD versagt beim anschließen der BackLight“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fram.c
#include <msp430x23x.h> #include "fram.h" #define DELAY 2 /* 2 ergibt ca. 200kHz Clockfrequenz */ #define SDA 0x40 #define SCL 0x80 #define SDASET (P1OUT |= SDA) #define SDACLR (P1OUT &= ~SDA) #define SCLSET (P1OUT
in „EEPROM 24C04 anbinden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430x12x2.h> /*void delay(int z_wert) { int v; for (v=z_wert; v>=0; v--); }*/ void delay(unsigned int z_wert) { volatile unsigned int i; while (z_wert > 0) { z_wert--; for (i=0; i<60; i++); // equals 1
in „DOGM162 an MSP430F1232 betreiben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430x16x.h> int main() { WDTCTL = WDTPW + WDTHOLD; // watchdog ausschalten BCSCTL2 = SELM_2; // Select XT2 clock for main clock BCSCTL2 |= SELS; // Select XT2 clock and LFXT1 clock respectively for sub
in „MSP430 F1611 Sequence-of-Channels Mode (ADC12)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430x16x.h> int main() { int i = 10; WDTCTL = WDTPW + WDTHOLD; // watchdog ausschalten BCSCTL2 = SELM_2; // Select XT2 clock for main clock BCSCTL2 |= SELS; // Select XT2 clock and LFXT1 clock respectively
in „MSP430 F1611 Sequence-of-Channels Mode (ADC12)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main5.c
//Datenauslesen aus einem ADC ADS7888 (TI) #include <msp430x14x.h> void wait(unsigned int j); //initalisieren von Variablen (global) unsigned char ADC_Byte1, ADC_Byte2; //max. verfügbarer RAM 1964 263 für 132 Messwerte char i, b, k; void main(void) { i = 0;
in „MSP430 ADS7888 RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c3.c
/* * i2c3.c * * Created on: 20.07.2011 * Author: Michael S. */ #include "msp430x21x2.h" #define UCB0CTL0_ 0x0068 sfrb(UCB0CTL0,UCB0CTL0_); #define UCB0CTL1_ 0x0069 sfrb(UCB0CTL1,UCB0CTL1_); #define UCB0BR0_ 0x006A sfrb(UCB0BR0,UCB0BR0_); #define UCB0BR1_ 0x006B sfrb(UCB0BR1,UCB0BR1
in „I2C bei MSP430F2122“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usart-adc.txt
#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 ·
-
Datei
6.5.2013_Code_Forum.txt
// // //// SPI Communication #include "msp430F5438A.h" // einfžgen der Mikroprozessordaten #include "stdint.h" //Variables uint8_t addr; uint8_t dataX0; uint8_t dataX1; uint8_t dataY0; uint8_t dataY1; uint8_t dataZ0; uint8_t dataZ1; uint8_t Test
in „MSP430 mit ADXL345 kommunizieren lassen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
W5500_SPI.c
******** // W5500_SPI.c // by Wastl *************************************************/ #include <msp430g2553.h> #include <stdint.h> #include <stdio.h> #include "W5500_SPI.h" // W5500 Data Modes #define OM10_VDM 00 /* variable data mode */ #define OM10_FDM1 01 /* fixed data mode, 1 byte */ #define OM10
in „Wiznet W5500 Datenübertragung via Ethernet“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
divtest.lst
..\obj\divtest.o: file format elf32-msp430 SYMBOL TABLE: 00000000 l df *ABS* 00000000 divtest.c 00000000 l d .text 00000000 00000000 l d .data 00000000 00000000 l d .bss 00000000 00000130 l *ABS* 00000000 __MPY 00000132 l *ABS* 00000000 __MPYS
in „MSPGCC baut dint ein“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c.c
*********************************************** // I2C-Library // // Stellt I2C-Routinen für den MSP430F149 bereit. SDA // ist an Pin 47 angeschlossen, SCL an Pin 48. Wenn // ihr andere Ports benutzt , müsst ihr nur die // #defines passend ersetzen. //*************************************************
in „MSP430F2013 I2C Library gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
signal.h
coppice Exp $ */ #if !defined(__SIGNAL_H_) #define __SIGNAL_H_ #include <iomacros.h> #if defined(__MSP430X__) #define INTERRUPT_VECTOR_SLOTS 32 #define RESET_VECTOR 62 #else #define INTERRUPT_VECTOR_SLOTS 16 #define RESET_VECTOR 30 #endif #if !defined(_GNU_ASSEMBLER_) #define Interrupt(x) void __attribute
in „MSP430 GPS-Daten von UART0 Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
re- und initialierung für die RS232 erforderlich ansonsten ist das Umsetzten fehlerhaft #include <msp430x14x.h> void wait(unsigned int j); //initalisieren von Variablen (global) unsigned char ADC_results[2]; //max. verfügbarer RAM 1964 263 für 132 Messwerte unsigned int sample_count; volatile unsigned
in „MSP430 ADS7888 RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main2.c
re- und initialierung für die RS232 erforderlich ansonsten ist das Umsetzten fehlerhaft #include <msp430x14x.h> void wait(unsigned int j); //initalisieren von Variablen (global) unsigned char ADC_results[2]; //max. verfügbarer RAM 1964 263 für 132 Messwerte unsigned int sample_count; volatile unsigned
in „MSP430 ADS7888 RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main6.c
re- und initialierung für die RS232 erforderlich ansonsten ist das Umsetzten fehlerhaft #include <msp430x14x.h> void wait(unsigned int j); //initalisieren von Variablen (global) unsigned char ADC_results[4]; //max. verfügbarer RAM 1964 263 für 132 Messwerte unsigned int sample_count; volatile unsigned
in „MSP430 ADS7888 RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main7.c
//Datenauslesen aus einem ADC ADS7888 (TI) //und zum PC senden dauer ca 1ms! #include <msp430x14x.h> void wait(unsigned int j); //initalisieren von Variablen (global) unsigned char ADC_results[4]; //max. verfügbarer RAM 1964 263 für 132 Messwerte unsigned int sample_count; volatile unsigned
in „MSP430 ADS7888 RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
EKG-Quelltext.TXT
/* Messung eines EKG und Ausgabe auf Grafik-FKA + Speichern auf SD*/ // // MSP430F168 // ----------------- // | XIN|- 32,768kHz // | | // Taster rot--|RST (58) XOUT|- 32,768kHz // | P2.0|Programm Taster 1 // 8 Mhz X2IN- | P2.1|Programm Taster 2 // P2.2|RxD BSL // | P2.4|Programm
in „grafische Flüssigkristallanzeige schnell löschen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
bauen * *****************************************************************************/ #include "msp430x20x3.h" #include "signal.h" #define counter 0x1f short m_SD16 = 0; // membervariable des SD16 fuer alle berechnungen short m_VarArray[counter]; char i = 0; long temp = 0; short X1,X2,Y1,Y2 = 0; //#
in „MSP430 can't allocate stack“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
steuerung.c
/* * steuerung.c * * Created on: 17.04.2013 * Author: Michael Schreiber */ #include <msp430.h> #include "steuerung.h" #include "system.h" #include "lcd.h" #include "dcf77.h" #include "globalvars.h" /* * Startet die FSM, der aktualle State wird ausgeführt. Bei einem Wechsel werden die Transisions
in „Linker error redefined: defined“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ACC__4_wire_SPI.txt
#define delay_2 __delay_cycles(10); // eine andere M glichkeit ein Delay zu definieren #include "msp430F5438A.h" // einfžgen der Mikroprozessordaten #include "stdint.h" //Variablen char addr; char data; char Test; char receive_byte; char receive_data; uint8_t i; //Einstellunmgen ADXL345 void spi_senden_CONFG
in „MSP430 mit ADXL345 kommunizieren lassen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Schematic_Prints.pdf
UCB0SCL P2.2/UCB0STE/TB1CLK 12 Asel SDA 10 11 SCLK_DISPLAY P2.4/UCB0SIMO/UCB0SDA P2.3/UCB0CLK/TB1TRG MSP430FR2310 TP1 GND Plug 3.3V FP1 3.3V SBW Connector JT1 1 8 GND C4 100uF 6.3V RST/SBWTDIO 1 OA0 2 7 Ain 3.3V GND R18 47k SBWTCK 2 Title D 3 TRI0- 3 6 Asel D 3.3V 4 SPYbyWire JTAG 4 5 Size Number Revision
in „[S] Bestückung von Adapterplatinen für elektronische Preisschilder“ · Markt ·
-
PDF
Schematic_Prints.pdf
UCB0SCL P2.2/UCB0STE/TB1CLK 12 Asel SDA 10 11 SCLK_DISPLAY P2.4/UCB0SIMO/UCB0SDA P2.3/UCB0CLK/TB1TRG MSP430FR2310 TP1 GND Plug 3.3V FP1 3.3V SBW Connector JT1 1 8 GND C4 100uF 6.3V RST/SBWTDIO 1 OA0 2 7 Ain 3.3V GND R18 47k SBWTCK 2 Title D 3 TRI0- 3 6 Asel D 3.3V 4 SPYbyWire JTAG 4 5 Size Number Revision
in „[S] Bestückung von Adapterplatinen für elektronische Preisschilder“ · Markt ·
-
PDF
RepPCF8583ByF2013.pdf
September 2022 15:37 ;******************************************************************************* ; MSP430F2013 Intelligent PCF8583 Replacement with 4 Conter and 1 A/D Chanel ; Initiatet By: Michael Lavalle ; Programmed By Patrick Linder ; Description: Design for 1 Hardware Counter as Timer A2(HighSpeed
in „Fragen zum PCF8583 als Event Counter“ · Mikrocontroller und Digitale Elektronik ·