-
Datei
main.c
------*/ USART_InitTypeDef USART_InitStructure; TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; uint8_t TxBuffer[UsartBufferSize] = "USART Interrupt Example:\n"; uint8_t RxBuffer[UsartBufferSize]; __IO uint8_t TxCounter = 0x00; __IO uint8_t RxCounter = 0x00; //uint8_t NbrOfDataToTransfer = countof(TxBuffer
in „Stm32: Übertragungsfehler bei dauerhafter Übertragung“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Ausschnitt einer Pin-Definitionstabelle aus einem Datenblatt
STM32F401xB STM32F401xC Pinouts and pin description Table 8. STM32F401xB/STM32F401xC pin definitions (continued) Pin Number UQFN48 WLCSP40 LQFP64 LQFP100 UFBGA100 Pin name (function after reset)(1) Pin
in „STM32 Timer2 Interrupt“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Bild
STM32U0 Mikrocontroller Werbeaufsteller und Entwicklungsboard
STM32U0 The latest generation of entry-level ultra-low-power MCUs STM32U0 ULP microcontroller Arm Cortex-M0+ 56 MHz-ultra-low-power Energy savings & longer product usage Embedded memory Up to 256 Kbytes
in „EmbeddedWorld 2024 - (weniger) neue Chips, FPGAs und die Raspberry Pi AI Camera“ · Mikrocontroller und Digitale Elektronik · · Fotos
-
PDF
Akkuschutz-V0.6.pdf
ZELLE1 Zelle 1 Zelle 2 Zelle 3 Zelle 4 Wassermelder und Bedienung R7 GND 1k F R13 n 10k Q1 X2-1 +3V3 X8-4 +3V3 7 0 BSS84 C 1 X8-5 WASSER X8-3 FLÄCHE1 R14 NTC-VERSORGUNG NTC-VERSORGUNG MESSGND 10k GND X8-2 +3V3 R8 T 1 S 0 0 e 1k RSENSE- RSENSE+ O T 0 1 5 1 4 X8-1 FLÄCHE2 d e C2 C1 C3 B 3 R R w n 100nF 100nF
in „STM32WB5MMG -* ADC wackelt um 10 digits“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
eeprom.c
I2C_EVENT_MASTER_RECEIVER_MODE_SELECTED) != SUCCESS) return ERROR; /* Wichtiger Hinweis, bzgl der Reihenfolge des Bit Setzens, Manual. STM32F407, S834 Die Konfiguration muss VOR dem Buszugriff erfolgen, d.h. das Datenbyte wird erst ganz zum Schluss ausgelesen */ uint8_t foo; for (uint16_t i = 0; i < (nrBytes-1); i++) { foo = I2C_ReceiveData
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
STM32 ST-LINK Utility Memory Display
STM32 ST-LINK Utility Device STM32F04xx Address: 0x1FFFF7AC Size: 0x0C Data Width: 32 bits Device ID 0x445 Revision ID Rev 1.0 Flash size 32KBytes Target memory, Address range: [0x1FFFF7AC 0x1FFFF7B8] Address
in „STM32F042 gecloned aber verhält sich seltsam“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Datei
mbportserial.c
/* * MODBUS Library: ARM STM32 Port (FWLIB 2.0x) * Copyright (c) Christian Walter <cwalter@embedded-solutions.at> * All rights reserved. * * ARM STM32 Port by Niels Andersen, Elcanic A/S <niels.andersen.elcanic@gmail.com> * * $
in „FreeRTOS + LWIP + UART Interrupt Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32_USART_Test.c
#include <stdio.h> #include "stm32f10x_usart.h" #include "stm32f10x_rcc.h" #include "stm32f10x_gpio.h" #include <stddef.h> #include "stm32f10x.h" // Function prototypes void InitUart1(void); void InitUart2(void); void USART1_SendString
in „STM32 und usart1/2 Initialisierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32_USART_Test.c
#include <stdio.h> #include "stm32f10x_usart.h" #include "stm32f10x_rcc.h" #include "stm32f10x_gpio.h" #include <stddef.h> #include "stm32f10x.h" void USART_NVIC_Config(void); // Function prototypes void InitUart1(void); void InitUart2
in „STM32 und usart1/2 Initialisierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32L562CEUX_FLASH.ld
****************************************************** ** ** File : LinkerScript.ld ** ** Author : STM32CubeIDE ** ** Abstract : Linker script for STM32L562xE Device from STM32L5 series ** 512Kbytes FLASH ** 256Kbytes RAM ** ** Set heap size, stack size and stack location according ** to application
in „STM32 startet im HardFault“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usbStefan_Aenderung.c
COM Port betreiben */ #include "usb.h" /* For devices with 2 x 16 bits / word access schema (e.g. STM32L0, STM32F303xD and xE) */ //#define UMEM_SHIFT 0 //#define UMEM_FAKEWIDTH word /* For devices with 1 x 16 bits / word access schema (e.g. STM32F103, STM32F302, STM32F303xB and xC) */ #define UMEM_SHIFT
in „USB CDC von Stefan Frings und WS“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Ausstellung verschiedener Modulplatinen und Herstellerlogos
MYC-JMX95X NXP LMX-95 MYC-JR3576 Rockchip RK3576 MYC-LF25X STMicroelectronics STM32MP257F MYC-YT2HX RENESAS RZ/T2H MYC-YM62LX Texas Instruments AM62L MYC-YT153MX ALLUMER T153 MYC-6ULX-V2 NXP LMX-63 MYC-J8MPQ AMD 4x3p1.60GHz MYC-J1028 AMD 2x1A/2x1.60GHz MYC-JMX95X MYC-YF12X STMicroelectronics STM32MP135 MYC-YA157C MYC-LF25X STMicroelectronics STM32MP257F MYC-YM62LX Texas Instruments AM62L MYC-YM62X Texas Instruments AM62L MYC-YG2LX 2x455p1.20GHz MYC-YT2HX MYC-C8MMX-V2 MYC-CT2020-V2 MYC-CZU3EG-V2
in „EmbeddedWorld 2026, Tag 1 – AI fressen Elektronik auf“ · Mikrocontroller und Digitale Elektronik · · Fotos
-
Datei
main.c
main.c ** ** Abstract : main function. ** ** Functions : main ** ** Environment : Atollic TrueSTUDIO/STM32 ** STMicroelectronics STM32F10x Standard Peripherals Library ** ** Distribution: The file is distributed �as is,� without any warranty ** of any kind. ** ** (c)Copyright Atollic AB. ** You may use
in „Konfiguration eines Timers auf dem STM32F100RB6“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32F10x_128k_32k_flash.ld
/* Default linker script for STM32F10x_128K_32K with GNU-ld Martin Thomas, 9/2009 A heavily modified "Default linker script for STM32F10x_512K_64K" Copyright RAISONANCE S.A.S. 2008 found in the STM fw-library. (there is not much left
in „STM32 ohne JTAG starten“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32F10x_128k_32k_flash.ld
/* Default linker script for STM32F10x_128K_32K with GNU-ld Martin Thomas, 9/2009 A heavily modified "Default linker script for STM32F10x_512K_64K" Copyright RAISONANCE S.A.S. 2008 found in the STM fw-library. (there is not much left
in „STM32 Speicherproblem?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32F10x_512k_64k_flash.ld
/* Default linker script for STM32F10x_512K_64K with GNU-ld Martin Thomas, 9/2009 A heavily modified "Default linker script for STM32F10x_512K_64K" Copyright RAISONANCE S.A.S. 2008 found in the STM fw-library. (there is not much left
in „STM32F103: CAN - Bus funktioniert bei Medium-Density-, nicht aber bei High-Density device“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32F10x_128k_20k_flash.ld
/* Default linker script for STM32F10x_128K_20K with GNU-ld Martin Thomas, 9/2009 A heavily modified "Default linker script for STM32F10x_512K_64K" Copyright RAISONANCE S.A.S. 2008 found in the STM fw-library. (there is not much left
in „STM32F103: CAN - Bus funktioniert bei Medium-Density-, nicht aber bei High-Density device“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
variant.h
PinName digitalPin[]; enum { PA3, //D0 PA2, //D1 PA10, //D2 PB3, //D3 PB5, //D4 PB4, //D5 PB10, //D6 PA8, //D7 PA9, //D8 PC7, //D9 PB6, //D10 PA7, //D11 PA6, //D12 PA5, //D13 PB9, //D14 PB8, //D15 // ST Morpho // CN7 Left Side PC10, //D16 PC12, //D17 NC_1, //D18 - BOOT0 PA13, //D19 - SWD PA14, //D20 - SWD
-
Datei
stm32f429i_discovery_lcd.c
**** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f429i_discovery_lcd.h" #include "../Common/fonts.c" /** @addtogroup Utilities * @{ */ /** @addtogroup STM32F4_DISCOVERY * @{ */ /** @addtogroup STM32F429I_DISCOVERY * @{ */ /** @defgroup STM32F429I_DISCOVERY_LCD
in „STM32F429 Display per SPI ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
STM32_ADC_modes_and_their_applications.pdf
AN3116 Application note STM32™’s ADC modes and their applications Introduction STM32 microcontrollers have one of the most advanced ADCs on the microcontroller market. You could imagine a multitude of applications based on the
in „STM32F103: Auswahl des richtigen ADC Modus“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Programmcode in Notepad++ für Atmel AVR Mikrocontroller
Atmel Studio/C_ProMini 328P PWM-PT4115_C_ProMini 328P PWM-PT4115.ioc STM32H750VBTX_FLASH_DTCMRAM.ld STM32H70BVTX_FLASH.ld STM32H70BVTX_DTCMRAM1.ld STM32F303CBT6_Verkauf_Blink.ioc 20-29 andere 328 SPI muss noch anschliessend eingeschaltet werden mit: subroutine init_spi_ein
in „25LC512 SPI EEPROM seltsames Verhalten / defekt?“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Datei
stm32f4xx_rng.c
**** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_rng.h" #include "stm32f4xx_rcc.h" /** @addtogroup STM32F4xx_StdPeriph_Driver * @{ */ /** @defgroup RNG * @brief RNG driver modules * @{ */ /* Private typedef ----------------------------------
in „Random Number Generator läuft nicht richtig,stm32f429“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
delay.c
#include "stm32f10x.h" #include "stm32f10x_tim.h" #include "stm32f10x_rcc.h" #include "delay.h" volatile uint16_t mult=25; // external quarz 25mhz // ** void delay_init(void) { RCC_ClocksTypeDef RCC_Clocks; RCC_GetClocksFreq
in „delay: nop() als Schleife ausführen?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
f_mess.c
// reziproke Frequenzmessung mit STM32F4-Discovery-Board /* Beispielprogramm für Frequenzmessung an PE5 mit Timer9. Das Ergebnis wird 8-stellig mit max. 2 Mess./s oder minimal 1 Periodendauer angezeigt. Der Frequenzbereich ist 0,05Hz -
in „reziproker Frequenzzähler mit STM32F4Discovery“ · Projekte & Code ·
-
Datei
ConsoleApplication1.c
---------------------------------------------------------------------------- } scEsc_SysTick; void stm32_time_addfct_1ms(fnPtr pfct) { //-- Eingangsvariablen prüfen ------------------------------------------------------------------------------------------------------------------- uint8_t u8Cnt = scEsc_SysTick.u8CntFct
in „STM32 komisches Verhalten bei include und leerer Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rfm22b.c
#include "rfm22b.h" #ifndef __STM32F4_DISCOVERY_RFM22B_H #define __STM32F4_DISCOVERY_RFM22B_H #ifdef __cplusplus extern "C" { #endif #include "stm32f4xx.h" #include "stm32f429i_discovery.h" #include "rfm22b.h" #include "systick.h" /
in „STM32 und RFM22B“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
***********************************************************************/ // Header Files #include <stm32f10x_gpio.h> #include "GPIO_HW_Init.h" #include "MyFunctions.h" #include "USART_HW_Init.h" #include "SPI_HW_Init.h" #include "EXTI_HW_Init.h" #include "NVIC_HW_Init.h" #include <stm32f10x_conf.h> #include <stm32f10x_spi.h> #include <stm32f10x_exti.h> // #defines // globale Variablen // void EXTI_Line_SyncDis( FunctionalState STATE ); int main () { /******************* Hardware Initialisation *************
in „UART Problem beim senden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32_ub_spi1.c
//-------------------------------------------------------------- // File : stm32_ub_spi1.c // Datum : 29.10.2013 // Version : 1.1 // Autor : UB // EMail : mc-4u(@)t-online.de // Web : www.mikrocontroller-4u.de // CPU : STM32F429 // IDE : CooCox CoIDE 1.7.4 // GCC : 4.7 2012q4
in „STM32F429 - kein Takt am SPI“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
f_mess_lcd.c
MIT_VORTEILER" definiert verschiebt sich die obere Grenzfrequenz auf 20MHz. Da ein interner Vorteiler /8 zugeschaltet wird, sollte die minimale Eingangsfrequenz > 20Hz sein, um die Messdauer (minimal 8 Perioden) klein zu halten. Das Messverfahren wird unter http://www.mino-elektronik.de/fmeter/fmeter.htm
in „reziproker Frequenzzähler mit STM32F4Discovery“ · Projekte & Code ·
-
Datei
twi_main.c
#include "twi_main.h" #include "../Std_lib/stm32f10x_i2c.h" #include "../Std_lib/stm32f10x_tim.h" #include "../lib/outpin.h"//debugging #include "../Std_lib/misc.h" //für NVIC #include "../Std_lib/stm32f10x_rcc.h" volatile unsigned char maxID =
in „stm32 Cortex I2C : Master zieht SCL auf Masse“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nrf24l01.c
Prescaler 64 => Fspi = 1.3 Mhz */ /* -------------- System Include Files ----------------- */ #include "stm32f4xx.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_spi.h" #include "stm32f4xx_gpio.h" /* -------------- Standard Include Files ----------------- */ #include <stdint.h> /* --------------- Special
in „Wer hat noch Ärger mit NRF24L01+ Funkmodulen?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
STM32F103_Industrial_Board_R1.pdf
0u1 0u1 3V3 SPI1 PA6 31 PA6/MISO1 PE6 5 PE6 1 5 C2- VCC 16 PA7 32 PA7/MOSI1 TIM1ETR/PE7 38 PE7 1 6 PA8 67 39 PE8 DB9 C1+ V- C1 U1TXD 68 PA8 T1CH1N/PE8 40 PE9 C3 C5 0u1 PA9/TXD1 TIM1CH1/PE9 U1RXD 69 PA10/RXD1 T1CH2N/PE10 41 PE10 0u1 3 15 0u1 PA11 70 42 PE11 C1- GND PA12 71 PA11/CTS1 TIM1CH2/PE11 43 PE12
in „STM32F103VET6 Industrial Board Schaltbild“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
miniblink.S
/** * A minimum blinky (2*42 bytes) written in assembly. It works with the "Blue Pill" called STM32F103R8C6 boards. * The LED is connected to PC13. Do not take this as a starting point for any serious project! * The program "lives", where the interrupt and fault vectors should be. Anyway it works
in „Assemblerprogrammierung ARM CORTEX“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
eeprom.c
I2C_EVENT_MASTER_RECEIVER_MODE_SELECTED) != SUCCESS) return ERROR; /* Wichtiger Hinweis, bzgl der Reihenfolge des Bit Setzens, Manual. STM32F407, S834 Die Konfiguration muss VOR dem Buszugriff erfolgen, d.h. das Datenbyte wird erst ganz zum Schluss ausgelesen */ uint8_t foo; for (uint16_t i = 0; i < (nrBytes-1); i++) { foo = I2C_ReceiveData
in „GCC Optimierung killt Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32F10x_128k_32k_flash.ld
/* Default linker script for STM32F10x_128K_32K with GNU-ld Martin Thomas, 9/2009 A heavily modified "Default linker script for STM32F10x_512K_64K" Copyright RAISONANCE S.A.S. 2008 found in the STM fw-library. (there is not much left
in „STM32 mit C++ stürzt bei Interrupt ab“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Fehlermeldung.txt
Waiting for debugger connection ------------------------------------------------------------------- STM32CubeProgrammer v2.11.0-RC1 ------------------------------------------------------------------- Log output file: C:\Users\PETER~1.LAP\AppData\Local\Temp\STM32CubeProgrammer_a11924.log ST-LINK SN : 55FF6D067880565348432067
in „Probleme beim Flashen (STM32G031)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32H743ZITx_FLASH.ld
is used. ** ** Target : STMicroelectronics STM32 ** ** ** Distribution: The file is distributed as is, without any warranty ** of any kind. ** ** (c)Copyright Ac6. ** You may use this file as-is or modify it according to the needs of your ** project
in „STM32 lwip UDP Empfang fehlerhaft“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Praktikumsbeleg_A3_1_.pdf
Asoll IA Ω N 1 1 cΦ 1 60 1 N mess R A sT A +1 k R sT M +1 2 π 0.25s +1 G A G M G 3 G 6 cΦ 1.2KV 0.8KV 0.4KV 0V 0s 1s 2s 3s 4s 5s 6s 7s 8s 9s 10s V(Nmess) Time Abbildung 1: Sprungantwort N (t) bei U (t)=4V* ε (t) mess Asoll 1.0V 0.5V 0V 0s 1s 2s 3s 4s 5s 6s 7s 8s 9s 10s V(IAmess) V(IA) Time Abbildung
in „Frage zu Übertragungsfunktion, Sprungantwort“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
adc_test.c
/* ------------------------------------------------------- adc_test.c MCU : STM8S103F3 Takt : interner Takt 16 MHz 19.05.2016 R. Seelig ------------------------------------------------------ */ #include "stm8s.h" #define u_ref 331ul // gemessene Betriebsspg.: 3.31 V ( * 100 ) #
in „STM8 und ADC“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
0269394001287118911.pdf
100k 3 +3V3 D3 D PMEG4005ET BATT 3V 4 BOOT0=1 J5 D BOOT1 5 J2 J3 VDD GND +3V3 L1 C2 U1 6 R3 PA0 PA1 PA8 PA9 PC12 RS 1 2 VO 10uF STM32F103RBT6(LQFP64) PA2-P 1 2 PA3-P PA10 1 2 PA11 PC10 EN 3 4 RW PC11 ferrite bead 560 PA4 3 4 PA5 PA12 3 4 PA13 D1 5 6 D0 C3 13 26 PB0 PA6 5 6 PA7 PA14 5 6 PA15 D3 7 8 D2 100n VDD_A PB0/ADC8/TIM3_CH3 7 8 7 8 9 10 PB1/ADC9/TIM3_CH4 27 PB1 +3V3 9 10 +3V3 9 10 PC2 D5 11 12 D4 PC3 12 VSS_A PB2/BOOT1 28 PB2 PC0 D7 13 14 D6 PC1 PB3/JTDO/TIM2_CH2/SPI1_SCK 55 PB3 PA0-PA7 PA8-PA15 1 VBATT PB4/JNTRST
in „Quarz an STM32F103 / Widerstand?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
debounce.h
signals. // Make sure you DO NOT use arrays, structs or unions as type. #define DEBOUNCE_TYPE uint8_t /* End of configuration section, do not change the following lines -----------*/ #if defined (STM32L1XX_MD) || defined (STM32L1XX_MDP) || defined (STM32L1XX_HD) #include <stm32l1xx.h> #define ENABLE_INTERRUPTS
in „Taster entprellen beim STM32f1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32_ub_rng.c
//-------------------------------------------------------------- // File : stm32_ub_rng.c // Datum : 23.02.2013 // Version : 1.0 // Autor : UB // EMail : mc-4u(@)t-online.de // Web : www.mikrocontroller-4u.de // CPU : STM32F4 // IDE : CooCox CoIDE 1.7.0 // Module : RNG // Funktion
in „Random Number Generator läuft nicht richtig,stm32f429“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f4x7_eth_bsp.c
/** ****************************************************************************** * @file stm32f4x7_eth_bsp.c * @author MCD Application Team * @version V1.1.0 * @date 31-July-2013 * @brief STM32F4x7 Ethernet hardware configuration. ************************************************************
in „Olimex STM32E407, FreeRTOS und lwip“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f10x_it.c
**** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f10x_it.h" #include "stm32f10x_i2c.h" #include "../lib/i2croutines.h" #include "../twi/stdbool.h" /** @addtogroup STM32F10x_StdPeriph_Examples * @{ */ /** @addtogroup CAN_Networking * @{ */ /* Private
in „stm32 Cortex I2C : Master zieht SCL auf Masse“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Verlauf.txt
Open On-Chip Debugger 0.10.0-dev-00004-gcef2a8c-dirty (2017-08-31-14:07) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html srst_only separate srst_nogate srst_open_drain connect_assert_srst Info : The selected
in „SW4STM32 hängt bei in procedure 'ocd_bouncer'“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f10x_gpio.h" #include "stm32f10x_rcc.h" #include "stm32f10x_spi.h" void SPI_test(void); uint8_t sendData = 0xAA; int main(void) { SystemInit(); SPI_test(); while(1) { } } void SPI_test(void) { GPIO_InitTypeDef
in „SPI Problem mit STM32 und CooCox IDE“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
WS2812Ctrl.h
04.05.2015 $ ID: $Id: WS2812Ctrl $ */ #ifndef WS2812CTRL_H_INCLUDED #define WS2812CTRL_H_INCLUDED #include "stm32f10x.h" #include "stm32f10x_ts.h" #define COLOR_CODING_RGB_DIRECT 0 #define COLOR_CODING_RGB 1 #define COLOR_CODING_HSV 3 typedef struct { uint8_t Coding; // Color Coding union { uint8_t h; uint8_t r; }; union { uint8_t s; uint8_t g; }; union { uint8_t v; uint8_t b; }; } COLOR; void initWS2812(void); uint8_t doTransferWS2812(COLOR *_pLEDData, uint16_t _nLED); #endif /* WS2812CTRL_H_INCLUDED */
-
PDF
STM32F107-SK-SCH-revA.pdf
USB_HOST NA(STM1001RWX6F) R69 PB2/BOOT1 2 8 7 6 5 PA5/SPI1_SCK/DAC_OUT2/ADC12_IN50 AUDIO_OUT_R OTG_VBUS 0R +5V_HOST_PWR 2VCC RESET 1 RST C C C C C PA6/SPI1_MISO/ADC12_IN6/TIM3_CH1/TIM1_BKIN AUDIO_IN +5V_OTG_PWR +5V_HOST_PWR
in „Cortex M3 STM32F107VC beim Reset passiert nichts“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32_ub_uart.c
typedef struct { char rx_buffer[RX_BUF_SIZE]; // RX-Puffer char tx_buffer[TX_BUF_SIZE]; // TX-Puffer uint8_t rx_ptr_head; // 2 Pointer für RX-Buffer uint8_t rx_ptr_tail; uint8_t tx_ptr_head; // 2 Pointer für TX-Buffer uint8_t tx_ptr_tail; uint16_t status; // RX-Status }UART_DATA_t; static volatile UART_DATA_t
in „STM32F030F4P6 und USART1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f0xx.h" #include "stm32f0xx_gpio.h" #include "stm32f0xx_rcc.h" #include "stm32_ub_uart.h" #include <string.h> void delay_us(uint32_t time_us) { SysTick->LOAD = 8 * time_us-1; SysTick->VAL = 0; /* Load
in „STM32F030 Takt/UART Frage“ · Mikrocontroller und Digitale Elektronik ·