-
Datei
main.cpp
(DB4, B, 4); GPIO__IO(DB5, B, 5); GPIO__IO(DB6, D, 7); GPIO__IO(DB7, D, 6); using namespace xpcc::stm32; static bool initClock() { // use external 8MHz crystal if (!Clock::enableHse(Clock::HSE_CRYSTAL)) { return false; } Clock::enablePll(Clock::PLL_HSE, 4, 168); return Clock::switchToPll(); } void checkbusy
in „STM32F4_Discovery + LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usbview.txt
---------------------------------- STM32 X-NUCLEO-LPM01A Firmware version: 1.0.1 ---------------------------------- Device Descriptor: bcdUSB: 0x0200 bDeviceClass: 0x00 bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x40 (64
in „ST-LINK Zugriff von Mac M1 - Device nicht sichtbar“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f10x.h" uint32_t CRC32(uint8_t* buf, int len) { uint32_t crc = 0xFFFFFFFF; for(int i=0; i<len; i++) { uint32_t byte = buf[i]; crc = crc^byte; for(int j=7; j>=0; j--) { uint32_t mask = -(crc & 1); crc
in „STM32F103C8T6 - Fälschung von ST bestätigt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nrf24l01_drv.h
Files ----------------- */ /* -------------- System Include Files / Librarys -------- */ #include "stm32f10x_conf.h" /* -------------- Projekt Include Files ---------------- */ /* -------------- Defintionen ---------------------------- */ #define IRQ_LINE EXTI_Line2 #define IRQ_HDL EXTI2_IRQn #define
in „[STM32F4xx] NRF24L01+ Funkmodul Source Code“ · Projekte & Code ·
-
Datei
lcd_init.h
(C) Christian Julius 3.2016 ------------------------------------------------------- */ #include "stm32f10x_conf.h" /* ------------ Standard Include Files --------------- */ #include <stdint.h> /* ------------ Special Include Files --------------- */ /* ------------ Projekt Include Files ------------
in „Basteltip: STM32F103 DIP40 Board“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dht22.c
#include "dht22.h" #include "uart.h" #include "stm32f1xx_hal.h" extern DHT22_TypeDef dht22_1; int dht22_Init(DHT22_TypeDef* dht22){ int ret = -1; #ifdef DEBUG UART_printf(dht22->debug_uart.Instance, "(I) dht22: init"); #endif ret = dht22_gpio_init(dht22
in „stm32f103 Timer Input Capture Interrupt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_init.h
(C) Christian Julius 3.2016 ------------------------------------------------------- */ #include "stm32f10x_conf.h" /* ------------ Standard Include Files --------------- */ #include <stdint.h> /* ------------ Special Include Files --------------- */ /* ------------ Projekt Include Files ------------
in „Lebensdauer von lokalen Variablen“ · Softwareentwicklung ·
-
Datei
main.cpp
mTimUserHandle); // check against system clock timeStart = us_ticker_read(); } int main() { printf("Hello from STM32F407VE\n"); initHardwareTimeout(); int timeout = 2000; // µs startHardwareTimeout(timeout); ThisThread::sleep_for(1000); // sleep for 1s and let timeout ISR execute int measuredDiff = timeNow-timeStart
in „STM32F407 OnePulse Timer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
CAN2_1.txt
-------------------------------------------Testweise auskommentiert #include <assert.h> #include "stm32f103.h" // Bei selbst erstellten Bibliotheken der name immer in Anführungszeichen!! Nicht in größer kleiner als Zeichen! // EIngänge // Taster const int Taster = PB6; int TasterState = 0; // Ausgänge
in „Arduino Blue Pill & CAN mit SN65HVD230“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
CAN_Senden_4_0.txt
-------------------------------------------Testweise auskommentiert #include <assert.h> #include "stm32f103.h" // Bei selbst erstellten Bibliotheken der name immer in Anführungszeichen!! Nicht in größer kleiner als Zeichen! // EIngänge // Taster const int Taster = PB5; const int Taster1 = PB6; int
in „Arduino Blue Pill & CAN mit SN65HVD230“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
pinout_blackpill.pdf
1 1 A A P P K S STM32F103C8T6 BLACKPILL C M J J K O D C D 3 G W W 3 S S 37 34 5V 5V CK3 T1BKIN NSS2 SMBAI2 PB12 B12 25 5V 22 5V B11 PB11 SDA2 RX3 T2C4N CTS3 T1C1N SCK2 PB13 B13 26 5V 21 5V B10 PB10 SCL2 TX3 T2C3N RTS3 T1C2N
in „pinout blackpill STM32F103C8T6“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
corrupted-content-of-the-backup-domain.pdf
STM32G471xx/473xx/474xx/483xx/484xx System 2.2.6 Corrupted content of the backup domain due to a missed power-on reset after this domain supply voltage drop Description The backup domain reset may be missed
in „Auch bei den STM32 funktioniert Reset nicht richtig :(“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usart.c
------------------------------------------------------------------*/ #include <stdio.h> #include "stm32f10x.h" #include "usart.h" struct __FILE { int handle; }; FILE __stdout; FILE __stdin; /** Bevor Zeichen mit printf() ausgegeben werden, muss das Ausgabeziel * (USART1 bzw. USART2) festgelegt werden
in „[STM32] CMD0 liefert immer 0xFF zurück“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
spi1.h
#endif /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx.h" #ifndef NULL #define NULL 0 #endif /* SPI1 Interface pins */ #define SPI1_CLK RCC_APB2Periph_SPI1 #define SPI1_CLK_INIT RCC_APB2PeriphClockCmd #define SPI1_SCK_PIN GPIO_Pin_5 #define SPI1_SCK_GPIO_PORT
in „STM32 SPI Init“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD.h
------------------------------------------------------------------*/ #include <math.h> #include "stm32f4xx.h" #include "config.h" #include "AsciiLib.h" /* Private define ------------------------------------------------------------*/ #define USE_16BIT_PMP /********************************************
in „STM32F4 mit TFT Codeverständnis“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD.h
------------------------------------------------------------------*/ #include <math.h> #include "stm32f4xx.h" #include "config.h" #include "AsciiLib.h" /* Private define ------------------------------------------------------------*/ #define USE_16BIT_PMP /********************************************
in „STM32F4 Discovery + TFT + FSMC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
config.h
#ifndef _CONFIG_H #define _CONFIG_H #include <stdio.h> #include "stm32f4xx.h" /** * @brief Definition for COM port1, connected to USART1 */ #define Open207V_USART USART3 #define Open207V_USART_CLK RCC_APB1Periph_USART3 #define Open207V_USART_TX_PIN GPIO_Pin_10 #define
in „STM32F4 Discovery + TFT + FSMC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ds18b20.c
/* Includes ------------------------------------------------------------------*/ #include "stm32f10x_lib.h" #include "ds18b20.h" #include "Param.h" #include <string.h> #include <stdio.h> #include <stdlib.h> extern void Delay1(vu32 nTime); char Temperature[10]="00.0"; void delay_nus (vu32 nCount
in „STM32 DS1820“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
touch.h
########### //# TOUCHPANEL mit ADC # //################################################ #include <stm32f4xx_adc.h> #define TOU_RIG GPIO_Pin_0 #define TOU_LEF GPIO_Pin_1 #define TOU_BOT GPIO_Pin_2 #define TOU_TOP GPIO_Pin_3 //----------------------------------------------------------------------------
in „Touch - wie kalibrieren in C?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DisplayBusParallel.cpp
/* * DisplayBusParallel.cpp */ #include "DisplayBusParallel.h" #include "stm32f1xx_hal.h" #include "main.h" DisplayBusParallel::DisplayBusParallel() { // TODO Auto-generated constructor stub } void DisplayBusParallel::config() { } void DisplayBusParallel::init() { DisplayBusParallel
in „[Pollin] Grafik Display Anschluss Verständnisfragen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Modul1.txt
-------------------------------------------Testweise auskommentiert #include <assert.h> #include "stm32f103.h" // Bei selbst erstellten Bibliotheken der name immer in Anfuehrungszeichen!! Nicht in <> kleiner als Zeichen! // EIngaenge // const int SensorFahrstrom = PB1; uint8_t SensorFahrstromState =
in „Arduino Blue Pill CAN bibliothek“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
blinky.c
software. */ /******************************************************************************/ #include "stm32f10x.h" #define LED_BLINK_RATE 50 /* rate = LED_BLINK_RATE * systick */ #define LED_NUM 2 /* Number of user LEDs */ const unsigned long led_mask[] = { 1UL<<8, 1UL<<9 }; // = PORTC 8,9 erkannt #define
in „Suche etwas Hilfe bei ATM/STM32 Einstieg“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart5.c
string.h> /*FreeRtos includes*/ #include "FreeRTOS.h" #include "queue.h" /*ST includes */ #include "stm32fxxx.h" #include "config.h" #include "nvic.h" #include "uart5.h" #include "cfassert.h" #include "config.h" #include "nvicconf.h" #define DEBUG_MODULE "UART5" static xQueueHandle uart5queue; static bool
in „FreeROTS Fehler "AssertFail" durch Befehl xQueueReceive“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
USART_Module.c
**************************************************************************************/ #include "stm32f10x_conf.h" #include "USART_Module.h" uint8_t array[]={1,2,3,4,5}; /******************************************************************************************************************************* *
in „STM32F1 / USART1 + DMA“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
isrhdl.c
** */ #include "isrhdl.h" /* -------------- System Include Files ------------------- */ #include "stm32f10x_conf.h" /* -------------- Standard Include Files ----------------- */ #include <stdbool.h> #include <stdint.h> #include <stdio.h> /* -------------- Projekt Include Files ---------------- */ #include
in „Timer Interrupt STM32F103“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ureflow.pdf
B12 U4 C5 GND 5.1K 5.1K CH340B 100nF GND A12 C10 +3V3 EP 4.7uF Shield B B D GND N G C11 U6 100nF 4 STM32G031F8P6 RESET 6 PF2-NRST D PA0 7 BUZZER +5V +5V +5V +3V3 D 8 SCK BUZZER1 C9 / PA1 FAN1 SSR1 100nF D PA2 9 RXD + 2 V 10 TXD 1 D1 1 D4 D5 PA3 2 2 1 PA4 11 CS 1N4148W 1N4148W - 1N4148W 12 FAN R11 DSP1
in „Feedback Schaltplan STM32G0“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ureflow_1.0.1.pdf
B12 U4 GND 5.1K 5.1K CH340B GND A12 C9 +3V3 EP 4.7uF Shield B B D GND N G C10 U6 D? 100nF DS14W 4 STM32G031F8P6 RESET 6 PF2-NRST D PA0 7 BUZZER +5V +5V +5V +3V3 D 8 SCK BUZZER1 C8 / PA1 FAN1 SSR1 100nF D PA2 9 RXD R14 + 2 V 10 TXD 4.7K 1 D1 1 D4 D5 PA3 2 2 1 PA4 11 CS 1N4148W 1N4148W - 1N4148W 12 FAN
in „Feedback Schaltplan STM32G0“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
irUsbSender-v1-0-1.pdf
MountingHole_Pad 29 23 SWDIO GND 30 PB6 PA13 24 SWCLK PB7 A PA14 31 PB8 S S PA15 25 V V GND 6 2 1 3 R6 U2 1k STM32F042K6Tx GND D4 +3.3V +3.3V +3.3V LED-red C5 C6 C7 C GND C 100nF 100nF 100nF GND GND GND License: CC-BY-SA 3.0 DE (c) 2020 by Malte Marwedel Sheet: / D D File: irUsbSender-v1-0-1.sch Title: IRUSB Size
in „[V] Leerplatinen für USB <-> IRMP/IRSND und STM32 controller“ · Markt ·
-
Datei
nrf24l01.c
/* ******************************************** STM32F103 Mini Board Modul : NRF24L01 Routinen für dasNRF24L01 Funkmodul Autor : Christian Julius ******************************************** SPI2: MOSI = PB15 MISO = PB14 SCLK = PB13 CE = PB11 CSN = PB12
in „NRF24L01+ auf STM32F103: Ich weiss nicht mehr weiter :-(“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nrf24l01_drv.c
/* ******************************************** STM32F103 Mini Board Modul : NRF24L01 Routinen für dasNRF24L01 Funkmodul Autor : Christian Julius ******************************************** SPI2: MOSI = PB15 MISO = PB14 SCLK = PB13 CE = PB11 CSN = PB12 IRQ = PB10 */ /* -------------- System Include Files ------------------- */ #include "stm32f10x_conf.h" /* -------------- Standard Include Files ----------------- */ #include <stdbool.h> #include <stdint.h> #include <stdio.h> /* -------------- Special Include Files / Librarys ------ */ /*
in „[STM32F4xx] NRF24L01+ Funkmodul Source Code“ · Projekte & Code ·
-
Datei
nrf24l01_drv.c
/* ******************************************** STM32F103 Mini Board Modul : NRF24L01 Routinen für dasNRF24L01 Funkmodul Autor : Christian Julius ******************************************** SPI2: MOSI = PB15 MISO = PB14 SCLK = PB13 CE = PB11 CSN = PB12 IRQ = PB10 */ /* -------------- System Include Files ------------------- */ #include "stm32f10x_conf.h" /* -------------- Standard Include Files ----------------- */ #include <stdbool.h> #include <stdint.h> #include <stdio.h> /* -------------- Special Include Files / Librarys ------ */ /*
in „Basteltip: STM32F103 DIP40 Board“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ETEMB043013XDHAL_-_ver2.pdf
FAdLURECONCINUOUSoriGHTING LCD LUNINANCE izCOMES HiLF OF thE INITIAL VALUE. 5. TIMING CHORACTERhoTICS log tau REFER TO STM32F7u0 DAThnSHEET ou 6. MCU CHARACTERISTICS e ih ITEM IyTERNAEXeERNAL REMARK FLASHM pl64KBB b32 MB NOTETHE FLASH MiMORY strE CAN BE UP TO 128MB gD di gin not er o Em D 02101300-01-02 E MTECHNOLOGIES CORPORATION
in „EDT Display Interface mit STM32F7“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
display.c
/** * Ansteuerung des Display. * * Benötigte Hardware: PORTE */ #include "stm32f10x_gpio.h" #include "display.h" #define DATA (GPIO_Pin_0 | GPIO_Pin_1 | GPIO_Pin_2 | GPIO_Pin_3 | GPIO_Pin_4 | GPIO_Pin_5 | GPIO_Pin_6 | GPIO_Pin_7) #define RESET GPIO_Pin_8 #define RW GPIO_Pin_9
in „STM32 und ks0108-Display - keine Anzeige“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ADC_DMA.txt
#include "stm32l1xx.h" volatile uint16_t adcConversions[2]; volatile uint32_t avg_value1, avg_value2; volatile uint8_t samples; // function prototypes void InitGPIO(); void InitDMA(); void InitADC(); // main program
in „STM32: DMA mit 8 MHz Chiptakt?!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ADC_DMA.c
#include "stm32l1xx.h" volatile uint16_t adcConversions[2]; volatile uint32_t avg_value1, avg_value2; volatile uint8_t samples; // function prototypes void InitGPIO(); void InitDMA(); void InitADC(); // main program
in „STM32: DMA mit 8 MHz Chiptakt?!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test.c
#include "stm32f10x_conf.h" #include <inttypes.h> #include <stdarg.h> #include <math.h> #define BAUDRATE 9600 void Usart1_Init (void); void UsartPutC (char c); char UsartGetC (void); void putS (char *s); void printfTiny
in „EMBITZ math.h“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Hauptplatine.pdf
PISW201PISW203 4PIU1BOOT0 PB15 PIU1028NLSPI20MO 10k PIADC0OUT014 PISW202PISW2042 31 PIADC0OUT015 AGND SW2W CR4 STM32F103x8 PIADC0OUT016 10k PIADC0OUT017 C 41 GND PIADC0OUT018 C PIADC0OUT019 PIADC0OUT020 GND AVCC ADC_OUTU U2U2 1 3 1 5V CA C1C1PIUVIN VOUT PIU2IA C121 VCC VCC PI2SB5V R5R5 22 USBDMBDM CK 1u 2 IK 1u COL1
in „LDO wird warm, produziert zu wenig Ausgangsspannung“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
spi.cpp
#include "spi.hpp" #include <stm32l152xe.h> #include <cassert> namespace { enum { irq_pin = 0, // PA0 csn_pin = 1, // PA1 clk_pin = 3, // PB3 miso_pin = 6, // PA6 mosi_pin = 7, // PA7 reset_pin = 8 // PA8 }; void mode( GPIO_TypeDef*
in „STM32 SPI, fehlendes MOSI Signal“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
------------------------------------------------------------------*/ #include "main.h" #include "stm32f1xx_hal.h" #include "i2c.h" #include "tim.h" #include "gpio.h" /* USER CODE BEGIN Includes */ #include <string.h> /* USER CODE END Includes */ /* Private variables ---------------------------------
in „STM32F103 I2C HAL_BUSY“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <stdio.h> #include "stm32f3xx.h" // The current clock frequency uint32_t SystemCoreClock=8000000; // Counts milliseconds volatile uint32_t systick_count=0; // Interrupt handler void SysTick_Handler() { systick_count++; } //
in „Nutzt gcc/newlib-nano die FPU von Cortex M4F bei double?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
linker.ld
-------------------------------------------- * Linker script for running in internal FLASH on the STM32F407VG *----------------------------------------------------------------------------*/ OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") OUTPUT_ARCH(arm) SEARCH_DIR(.) /* Memory
in „STm32Fxxx: Kleiner Gefallen vom einem Profi erbeten“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
range.c
lidarlite.h" #include "debug.h" #include "eprintf.h" #include "cpal.h" #include "cpal_i2c.h" #include "stm32fxxx.h" /* Flag indicating if the rangeInit() function has been called or not. */ //static bool isInit = false; /* Internal values exported by functions below. */ static uint16_t rangeDistance = 0;
in „STM32 I2C Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
USBtreeview.txt
0x200 iManufacturer : 0x01 Language 0x0409 : "STMicroelectronics" iProduct : 0x02 Language 0x0409 : "STM32 Joystick" iSerialNumber : 0x03 Language 0x0409 : "8D7552995649" bNumConfigurations : 0x01 ------------------ String Descriptors ----------------- *!* string descriptors are not available because device
in „STM32 USB HID Keyboard“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MCP3911_Eval_1901A.pdf
MCP3911 EvalBoard databyte.ch D VSS PB6 30 GND PB7 1k GND LED Size Number Revision STMicroelectronics STM32F030K6T6 A4 1901 A Date: 08.05.2019 Sheet of File: main.SchDoc Drawn By: C. Hediger 1 2 3 4
in „[V] MCP3911 EVAL Board und EA Smart-Display TFT 4.3"“ · Markt ·
-
PDF
ureflow.pdf
A12 EP Shield B B USB & POWER GND C9 +3V3 +3V3 4.7uF D G +5V C10 U5 +5V +5V +5V BUZZER1 D8 100nF STM32G031F8P6 2 DS14W 4 + A D1 D4 D5 D7 RESET NRST 6 PF2-NRST D PA0 7 BUZZER 1 1N4148W V 8 SCK 1N4148W 1N4148W 1N4148W - D PA1 9 RXD R16 FAN1 SSR1 SSR2 R13 D PA2 4.7K R4 R6 R10 3 100 C8 V PA3 10 TXD 3 100
in „Feedback Schaltplan STM32G0“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
can_interface.c
CAN_Data_t ci_data[CAN_TABLE_SIZE]; void CAN1_RX0_IRQHandler() { uint32_t id; CAN_Data_t* pdata; STM32vldiscovery_LEDToggle(LED4); /* Check the parameters */ assert_param(IS_CAN_ALL_PERIPH(CAN1)); assert_param(IS_CAN_FIFO(CAN_FIFO0)); /* Get the Id */ id = (uint32_t) 0x000007FF & (CANx->sFIFOMailBox
in „Interruptroutine Timer Cotex M3“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usbd_usr.c
------------*/ #include "usbd_usr.h" #include "usbd_ioreq.h" #include "lcd_log.h" /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY * @{ */ /** @defgroup USBD_USR * @brief This file includes the user application layer * @{ */ /** @defgroup USBD_USR_Private_TypesDefinitions * @{ */ /** * @} */ /** @defgroup
in „STM32F2xx - USB_OTG_FS“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ds18b20.c
/* Includes ------------------------------------------------------------------*/ #include "stm32f10x_lib.h" #include "ds18b20.h" #include "Param.h" #include <string.h> #include <stdio.h> #include <stdlib.h> /*============================================================================== * File
in „STM32 DS1820“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ds18b20.c
--------------------------------------------------------------*/ #define _DS18B20_LOCAL #include "stm32f10x_lib.h" #include "ds18b20.h" #include "Param.h" #include <string.h> #include <stdio.h> #include <stdlib.h> char Temperature[10]="00.0"; char read_write_buffer[50]; void delay_nus (vu32 nCount) {
in „STM32 DS1820“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ds18b20.c
/* Includes ------------------------------------------------------------------*/ #include "stm32f10x_lib.h" #include "ds18b20.h" #include "Param.h" #include <string.h> #include <stdio.h> #include <stdlib.h> char Temperature[10]="00.0"; char read_write_buffer[50]; void delay_nus (vu32 nCount) {
in „STM32 DS1820“ · Mikrocontroller und Digitale Elektronik ·