-
Datei
main.c
*** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ UART_HandleTypeDef huart1; /* USER CODE BEGIN
in „STM32F4 CubeMX UART Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
*** */ /* Includes ------------------------------------------------------------------*/ #include "stm32l1xx_hal.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ UART_HandleTypeDef huart1; /* USER CODE BEGIN
in „Überlauf UART“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
definitions.h
#ifndef DEFINITIONS_H #define DEFINITIONS_H #include "stm32f0xx_hal.h" typedef struct SR_STR{ GPIO_TypeDef* port; uint16_t pin; }SR_STR_t; typedef struct SR_D{ GPIO_TypeDef* port; uint16_t pin; }SR_DATA_t; typedef struct SR_C{ GPIO_TypeDef* port; uint16_t pin
in „Interrupt wird ständig aufgerufen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
create_header.pl
#!/usr/bin/perl $family ="stm32f1xx"; $deffile = "unilib.def"; $outfile = ">unilib.h"; $outfile2 = ">unilib_internals.h"; $outfile1 = ">inc/unilib_defs.h"; $infunc=0; open(WFILE,$outfile); open(XWFILE,$outfile2); open(RFILE,"/usr
in „Bauen von Libs - Anhängigkeiten“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
httpd_cgi_ssi.c
strcmp(pcValue[i], "4") ==0) STM_EVAL_LEDOn(LED4); } } } /* uri to send after cgi call*/ return "/STM32F4x7LED.html"; } /** * Initialize SSI handlers */ void httpd_ssi_init(void) { /* configure SSI handlers (ADC page SSI) */ http_set_ssi_handler(ADC_Handler, (char const **)TAGS, 2); } /** * Initialize
in „LWIP Webserver“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
FreeRTOSConfig.h
dependability. 1 tab == 4 spaces! */ #ifndef FREERTOS_CONFIG_H #define FREERTOS_CONFIG_H #include "stm32f4xx.h" //#include "ustime.h" /*----------------------------------------------------------- * Application specific definitions. * * These definitions should be adjusted for your particular hardware
in „Olimex STM32E407, FreeRTOS und lwip“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
httpd_cgi_ssi.c
strcmp(pcValue[i], "4") ==0) STM_EVAL_LEDOn(LED4); } } } /* uri to send after cgi call*/ return "/STM32F4x7LED.html"; } /** * Initialize SSI handlers */ void httpd_ssi_init(void) { /* configure SSI handlers (ADC page SSI) */ http_set_ssi_handler(ADC_Handler, (char const **)TAGS, 2); } /** * Initialize
in „LWIP Webserver“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
FEZ_Cerb40.pdf
PC14 3 PC14/XO32 47 VCAP_2 PC15 4 PC15/XI32 PD2 54 PD2/SD_CMD C8 C9 S S S 2.2uF 2.2uF V V V Q2 GND STM32F40X 1 1 6 32k VBUS GND C21 C22 D 18pF USB_DP D+ 18pF USB_DM D- B VBUS VBUS S GND GND U GNDX4 1M R7 C11 4700pF,250V Open Source Hardwar GND Licensed under Creative Commons Share A E http://creativecommons.org
in „Störsignal auf Spannungsversorgung“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
r3-180-z.pdf
18.432MHz NMI Y A + J 3 2 C 15p 15p 2 74HCT125 U3 CONN1 C1 C2 U3 100n NC 1 RST 6 Y A 5 ZRST TX 2 STM32 Serial EN 4 K 4 RX (Bootloader) 74HCT125 5 R 3 4 +5V +5V +5V +5V 7 8 9 C C C 13EN 100n 100n 100n A Y NC 12 11 U3 74HCT125 R3 - HD64180 TITLE FILE: REVISION: PAGE OF DRAWN BY:
in „CP/M auf ATmega88“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
GameOfLife.c
#include "GameOfLife.h" #include "main.h" #include "stm32f7xx_hal.h" #include "stm32f7xx_hal_rng.h" uint8_t Layerswitch = 0; void GameOfLife (void) { const uint16_t Spielfeldgroesse_x = 90; const uint16_t Spielfeldgroesse_y = 50; uint8_t Wahrscheinlichkeit
in „Game of Life läuft nur eine Runde!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ffconf.h
ID */ /* Includes ------------------------------------------------------------------*/ #include "stm32f10x.h" /*---------------------------------------------------------------------------/ / Function and Buffer Configurations /-------------------------------------------------------------------------
in „elm-chan FatFS“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
swd_analyzer.c
chris http://www.mikrocontroller.net/topic/309185 Based on: http://sourceforge.net/apps/mediawiki/stm32primer2swd/index.php?title=Main_Page#SWD_Packet_Construction */ #include <stdio.h> typedef unsigned char byte; typedef unsigned short word; typedef unsigned int dword; typedef unsigned long long qword
in „Hackbarer(?) 21 EUR Quadcopter“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
gfx_pictures.c
5 Bit fuer blau) Verfuegbare Formate sind: PCX 256 Farben BMP s/w, 4, 16, 256 Farben MCU : AVR / STM32 / STM8 25.01.2019 R. Seelig ------------------------------------------------------ */ #include "gfx_pictures.h" /* ---------------------------------------------------------- bmpsw_show Kopiert ein
-
Datei
myfirst.lst
0x18 69 70 .equ RXNE, BIT5 71 .equ TC, BIT6 72 .equ TXE, BIT7 73 74 75 76 Reset: 77 @ Initialize STM32 Clocks 78 79 @ Ideally, we would just take the defaults to begin with and 80 @ do nothing. Because it is possible that HSI is not 81 @ accurate enough for the serial communication (USART2), we 82 @
in „mein erstes STM32F4 .asm/ .s Program stürzt ab im gdb“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
------------------------------------------------------------------*/ #include "main.h" #include "stm32f7xx_hal.h" #include "rtc.h" #include "usart.h" #include "gpio.h" /* USER CODE BEGIN Includes */ #include <ctype.h> #include <string.h> /* USER CODE END Includes */ /* Private variables ------------
in „STM32Cube HAL UART Einstieg“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
interrupts.c
include "OS/FreeRTOS.h" #include "OS/task.h" #include "Libraries/DebugBuffer.h" #include "Hardware/stm32f4xx.h" #include <stdlib.h> // private functions void DumpCfsrRegister (uint32_t PC); void DumpCfsrRegister (uint32_t PC) { uint8_t AddressBuffer[10]; if (SCB->CFSR & 0x02000000) { Debug("\tDivide by
-
Datei
main.c
------------------------------------------------------------------*/ #include "main.h" #include "stm32f0xx_hal.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ I2C_HandleTypeDef hi2c1; /* USER CODE BEGIN PV
in „STM32 I2C byte lässt sich nicht ändern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
------------------------------------------------------------------*/ #include "main.h" #include "stm32f0xx_hal.h" #include "i2c.h" #include "usart.h" #include "gpio.h" /* USER CODE BEGIN Includes */ #include "Pro.h" //Defines (Buffergrösse, Delaytime) /* USER CODE END Includes */ /* Private variables
in „STM32F0 HardFault bei UART Empfang“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
------------------------------------------------------------------*/ #include "main.h" #include "stm32f4xx_hal.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ /* USER CODE BEGIN PV */ /* Private variables
in „STM32 - GPIOs funktionieren nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usbd_storage_if.c
related *****/ extern FATFS *pfs; extern DWORD fre_clust; /* USER CODE END PV */ /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY * @brief Usb device. * @{ */ /** @defgroup USBD_STORAGE * @brief Usb mass storage device module * @{ */ /** @defgroup USBD_STORAGE_Private_TypesDefinitions * @brief Private types
in „ARM [STM32] microSD SPI USB Massenspeicher“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
*** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ ADC_HandleTypeDef hadc1; DAC_HandleTypeDef hdac
in „STM32F4 auf eigenem Board / GPIO Ansteuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
------------------------------------*/ #include "main.h" /* USER CODE BEGIN Includes */ #include "stm32f0xx_hal.h" #include "gpio.h" #include "definitions.h" #include "dma.h" #include "spi.h" #include "adc.h" #include "tim14_flame_led.h" #include "delay.h" #include "digitcommands.h" #include "tim6.h"
in „Interrupt wird ständig aufgerufen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
I2CPort.cpp
framlin * * Taken from Tutorial * https://sites.google.com/site/johnkneenmicrocontrollers/18b-i2c/i2c_stm32f407#linki2cpins */ #include "I2CPort.h" #include <stdio.h> #include <stdlib.h> #include "diag/Trace.h" I2CPort::I2CPort(unsigned int port, unsigned int sdaPin, unsigned int sclPin): _port(port), _sdaPin
in „I2C auf dem STM32 F411RE“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
gfx_pictures.c
5 Bit fuer blau) Verfuegbare Formate sind: PCX 256 Farben BMP s/w, 4, 16, 256 Farben MCU : AVR / STM32 / STM8 25.01.2019 R. Seelig ------------------------------------------------------ */ #include "gfx_pictures.h" /* ---------------------------------------------------------- bmpsw_show Kopiert ein
-
Datei
main.c
*** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" #include "usb_device.h" /* USER CODE BEGIN Includes */ #include "usbd_cdc.h" /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/
in „STM32F4 USB CLASS CDC (Virtueller Com Port)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
eth_bsp.c
¯ÎÄŒþ ****************************************************************************** */ #include "stm32f4x7_eth.h" #include "eth_bsp.h" #include "Param.h" __IO uint32_t EthInitStatus = 0; static void eth_gpio_init(void) { /* ****************************************************************************
in „stm32f4xx lan8720 uip“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
error.txt
cmake-3.26.4-linux-x86_64/bin/cmake --build /home/jojo/projects/mbed-ce-hello-world/build/JZ_F407VE_STM32CUBE-Debug --config Debug --target flash-Fingerprint -- exited with code: 1 [driver] Build completed: 00:00:02.168 [build] Build finished with exit code 1
in „C++: Callback Funktion kann nicht aufgelöst werden“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
VitoMirrorCtrl_V1.0.pdf
3 4 5 6 GND GND GND 3 C9 C10 C11 V 3 100 nF 100 nF 4,7 µF + A A R10 3 V 10 kΩ 3 +U2 NRST PWR_FLAG STM32G031K8Tx 4 D D C12 6 V 7 NRST PF2 PA0 LOCK_IN 100 nF 8 PA1 UNLOCK_IN 20 9 PC6 PA2 IGN_IN 2 10 PC14 PA3 FOLD_BUTTON 3 11 PC15 PA4 CURRENT_LEFT 12 GND PA5 CURRENT_RIGHT 15 13 LEFT_SLEEP PB0 PA6 LEFT_EN
in „Hilfe beim KiCad-Layout gesucht: 2-Fach Motorsteuerung (KFZ-Bereich)“ · Platinen ·
-
PDF
VitoMirrorCtrl_V1.0_B.pdf
E.D.A. 10.0.4 Id: 2/7 1 2 3 4 5 6 1 2 3 4 5 6 3 V 3 A + A 3 V 3 +U2 R10 100 nF 100 nF 4,7 µF PWR_FLAG STM32G031K8Tx 10 kΩ 4 C9 C10 C11 D D 6 V 7 NRST NRST PF2 PA0 LOCK_IN 8 C12 PA1 UNLOCK_IN GND GND GND 20 9 100 nF PC6 PA2 IGN_IN 2 10 PC14 PA3 FOLD_BUTTON 3 11 PC15 PA4 CURRENT_LEFT 12 PA5 CURRENT_RIGHT 15
in „Hilfe beim KiCad-Layout gesucht: 2-Fach Motorsteuerung (KFZ-Bereich)“ · Platinen ·
-
PDF
Strommessung.pdf
MISO C219 S S 3 N 10n 3 R_Shunt SMBJ6.5CA V V ALERT G 4 8 2 R201 R202 1 1 U202 7 10R 10k 10k D C S S STM32L476RGTx R206 D201 L 1 D203 O SMJ85CA 2 0 3 1 4 3V3_{OLED} D S MP U201 5 GND 1 6 S 3 - U204 4 6 5 L 6 6 B 1 C U 3 4 2 6 4 L 6 B R204 S 10k U 2 GND GND D303 R311 10R 1N5819WS V_{BAT} } I _ V U304 U303
in „Prüfung Schaltplan Power Profiler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
------------------------------------------------------------------*/ #include "main.h" #include "stm32f1xx_hal.h" #include "can.h" #include "usart.h" #include "gpio.h" #include "xprintf.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private variables ------------------------------
in „STM32 CAN Botschaft empfangen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Modul2.txt
-------------------------------------------Testweise auskommentiert #include <assert.h> #include "stm32f103.h" // Bei selbst erstellten Bibliotheken der name immer in Anführungszeichen!! Nicht in <> kleiner als Zeichen! // Eingaenge // Lichtschranke const int LSEinfahrtSBHSud = PB12; const int LSEinfahrtWendelSudU
in „Mehrere CAN Teilnehmer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
------------------------------------------------------------------*/ #include "main.h" #include "stm32f4xx_hal.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ TIM_HandleTypeDef htim2; UART_HandleTypeDef huart2
in „UART USB STM32F407VGT“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
*** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" /* USER CODE BEGIN Includes */ // **INCLUDES** /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ SPI_HandleTypeDef hspi1; SPI_HandleTypeDef
in „STM32: interne Pull-Ups für SPI“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
readme.txt
eigentlich unglaublich. Leider ist die Unterstuetzung fuer diese MCU im Netz verglichen mit AVR und STM32 relativ duerftig. Auch freie Compiler hierfuer sind fast nicht verfuegbar und ausser dem SDCC habe ich keinen freien (zumindest nicht limitierten) Compiler hierfuer gefunden. Von Cosmic gibt es zwar
-
Datei
DSO_Test.cpp
#include "stm32f10x_conf.h" #include <stdlib.h> #include <string.h> #include <stdio.h> #include <stdint.h> #define BufSize 8192 //Size of ADC buffer, in halfword #define TIM_MAX 83 // Reload value for ADC trigger
in „STM32F103 ADCs mit externem Trigger langsamer?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
*** */ /* Includes ------------------------------------------------------------------*/ #include "stm32l1xx_hal.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ UART_HandleTypeDef huart1; /* USER CODE BEGIN
in „Überlauf UART“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
eeprom.h
EEPROM_H /* Includes ------------------------------------------------------------------*/ #include "stm32f3xx_hal.h" /* Exported constants --------------------------------------------------------*/ /* EEPROM emulation firmware error codes */ #define EE_OK (uint32_t)HAL_OK #define EE_ERROR (uint32_t)HAL_ERROR
in „STM32F3 Virtual EEPROM für große Look Up“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
eeprom.h
EEPROM_H /* Includes ------------------------------------------------------------------*/ #include "stm32f3xx_hal.h" /* Exported constants --------------------------------------------------------*/ /* EEPROM emulation firmware error codes */ #define EE_OK (uint32_t)HAL_OK #define EE_ERROR (uint32_t)HAL_ERROR
in „STM32F3 Virtual EEPROM für große Look Up“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
------------------------------------------------------------------*/ #include "main.h" #include "stm32f7xx_hal.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ TIM_HandleTypeDef htim3; /* USER CODE BEGIN PV
in „Probleme beim Debuggen mit SW4STM32 und und F7Disco“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sdcard.c
#include <stm32f10x.h> #include "sdcard.h" #include "utils.h" /* MMC/SD command */ #define CMD0 (0) /* GO_IDLE_STATE */ #define CMD1 (1) /* SEND_OP_COND (MMC) */ #define ACMD41 (0x80+41) /* SEND_OP_COND (SDC) */ #
in „Problem FatFS + SPI“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Controller.pdf
PIJ303 I0 P P P P P P P P P P V V GND CON_3_Screw GND U1P I1P U1P 16P 1P 18P 19P 2P 21P 2P 23P 22 STM32F091CCT6 +3.3V R8R t L D R R LDR PIR801PIR802 R D E _ E 2CC26 ICC272 100K C1100N e p o e a e N0T Lor 0B 10U 100N M U D S C S S E H 20C0805 I0 0 GND GND 7 Segment Display C C NSeg_B R1R0901PIR470 TIM1
in „RTC Kapazitäten abgleichen, Genauigkeit erhöhen (STM32)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DT0001.pdf
increased feedback can be very important for low speed applications. Some microcontrollers, like the STM32, have timer channels that can be configured to do the exclusive OR of the three signals to automatically get a signal for all six edges. April 2012 DT0001 Rev 1 2/4 www.st.com www.BDTIC.com/ST Support
in „Mit L6235 einen BLDC ohne sensoren ansteueren?“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
controller.pdf
PB13 34 STEP_Y 3 35 LCD7 PC14 A PB14 DIR_Y LCD6 4 PC15 S S S S S PB15 36 EN_X V V V V V 1 3 4 6 1 U2 STM32F103RETx C C GND Sheet: /MCU/ D D File: MCU.sch Title: Size: A4 Date: Rev: KiCad E.D.A. kicad (5.1.5)-3 Id: 3/3 1 2 3 4 5 6
in „mp2451 funktioniert nicht korrekt“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
nm.txt
08003101 00000090 T getTimerUpIrq 20000a04 000002d4 B g_hpcd 08002cb1 0000001c t _GLOBAL__sub_D__Z22stm32_interrupt_enable7PinNameSt8functionIFvvEEm 08003419 0000001c t _GLOBAL__sub_I_SerialUSB 08002bd9 000000d8 t _GLOBAL__sub_I__Z22stm32_interrupt_enable7PinNameSt8functionIFvvEEm 08000000 R g_pfnVectors
in „Warum ist die USB/CDC Implementierung der Cube HAL so groẞ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nrf24l01_drv.c
to standby-I mode immediately if CE is set low. */ /* ******************************************** 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 = PA2 */ /* -------------- System Include Files ------------------- */ #include "stm32f10x_conf.h" /* -------------- Standard Include Files ----------------- */ #include <stdbool.h> #include <stdint.h> #include <stdio.h> /* -------------- Special Include Files / Librarys ------ */ /*
in „NRFL24L01+ - Immer Ärger mit den Paarungen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MonoGLCD.cpp
/* * MonoGLCD.cpp */ #include "MonoGLCD.h" #include "stm32f1xx_hal.h" // defines ------ #define DISPLAY_ON 0xAF #define DISPLAY_OFF 0xAE #define DISPLAY_START_LINE_SET 0x40 //0x40 to 0x7F 63-Stufen #define PAGE_ADRESS_SET 0xB0 //0xB0 to 0xB8 8-Stufen #define
in „[Pollin] Grafik Display Anschluss Verständnisfragen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
REZFrag.ASM
Intervall) https://www.netzfrequenzmessung.de/ (eine Sekunde Intervall) https://50hz.ewelt.net mit STM32 (tendentiell immer geringerer Wert als die anderen beiden, 4 Nachkommastellen) Es zeigt sich, daß mein Programm in etwa das gleiche anzeigt, jedoch immer etwas mehr, nämlich in der dritten Nachkommastelle
in „reziproker 50-Hz Netzfrequenz-Zähler; AVR-assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
alt.txt
#include "stm32f4xx.h" /* Pinout 1 VSS GND 2 VDD VDD 3 nc nc 4 RS PD4 5 R/W PD5 6 E PD6 7 nc nc 8 nc nc 9 nc nc 10 nc nc 11 D4 PD0 12 D5 PD1 13 D6 PD2 14 D7 PD3 15 nc nc 16 nc nc */ int i=0; void initDisplay(void)
in „STM32: Ich finde einfach keinen Fehler in meinem Code“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
*** */ /* Includes ------------------------------------------------------------------*/ #include "stm32l1xx_hal.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ UART_HandleTypeDef huart1; /* USER CODE BEGIN
in „Überlauf UART“ · Mikrocontroller und Digitale Elektronik ·