-
Bild
Visual Studio Code Fehlermeldung OpenOCD GDB Server
[ "/usr/share/openocd/scripts/interface/openocd-openxsr-ni.cfg", "/usr/share/openocd/scripts/board/stm32f1ob.cfg" ], "openOCDLaunchCommands": [ "arm7 9 force_hw_bkpts enable", "arm7 9 dcc_downloads enable", "arm7 9 fast_memory_access enable", "adapter speed 10000" ], "overrideLaunchCommands": [], "overrideLaunchCommands
in „OpenOCD, GDB Server Quit Unexpectedly in VS Code“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Datei
usb.c
**********/ void OnEpBulkIn (void) /* EP1 = Bulk-EP IN */ { int i, n; dword L, A; dword* P; /* bei STM32 muß man offenbar den Frame-Int benutzen, um alle 1 ms nach dem Rechten zu schauen. */ if (txr==txw) return; P = (dword*) EP1TxABuffer; i = txw - txr; if (i<0) i += txLen; /* i = Anzahl zu sendender
in „An W.S.: Läuft deine USB Implementierung auch auf STM32F303?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DSO203.pdf
channel digital Oscilloscope for common electronic engineering tasks. It's based on ARM cortex M3 (STM32F103VCT6) 32 bits platform, providing 72MS/s sampling rate with integrated FPGA and high speed ADC. Internal 2MB USB disk could be used to store waveform, user application and upgrade firmware. Due
in „Welches aktuelle DSO ist gut ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
simple_server.c
; plen = fill_tcp_data_p(buf, plen, "<html><head>\r\n"); plen = fill_tcp_data_p(buf, plen, "<title>STM32F103ZET6 HomeControl</title>"); plen = fill_tcp_data_p(buf, plen, "</head>\r\n"); plen = fill_tcp_data_p(buf, plen, "<body bgcolor='#A9ED61'>\r\n"); //Hintergrundfarbe plen = fill_tcp_data_p(buf, plen
in „Webpage Webserver“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f0xx.h" extern void Config_TIM16 (void); int main(void){ RCC->APB2ENR |= RCC_APB2ENR_DBGMCUEN; DBGMCU->APB2FZ|= DBGMCU_APB2_FZ_DBG_TIM16_STOP; Config_TIM16(); while(1){__NOP();} #pragma diag_suppress
in „STM32 INT wird sofort ausgeführt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Loesungsansatz.txt
Auf dem STM32 setze ich FreeRTOS ein. - In einem Lookup-Table stehen sämtliche zu sendenden Befehle, die Anzahl der Bytes, die auf den Befehl zurückgesendet werden sowie die Zeit, die der Chip braucht, um den Befehl
in „SPI - Daisy-Chain-Protokoll“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
beispiel.c
/* Includes ------------------------------------------------------------------*/ #include "stm32f4xx.h" #include "menu.h" #include <stdlib.h> void show_main_menu(void); #define LEDS_MENU_ENTRIES 5 #define MAIN_MENU_ENTRIES 5 #define COLOR_MENU_ENTRIES 8 menu_entries color_menu[] = { {"Color"}
-
PDF
PCF7936AS.pdf
...................................................................................................32 14.1 Data sheet status.........................................................................................................................................................32 14.2 Definitions.....
-
Datei
ili9341Driver.h
AUTHOR] * License: None */ #ifndef ILI9341_ILI9341DRIVER_H_ #define ILI9341_ILI9341DRIVER_H_ #include <stm32f1xx.h> #include <stdio.h> #include <stdlib.h> #include <stdint-gcc.h> #include <string.h> #include <math.h> #include "../delay.h" #include "../usart.h" //Control Pins #define DC_PIN 10 //LCD Register
in „ILI9486 8-Bit Parallel Bus deutlich langsamer als SPI“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
**** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" #include "adc.h" #include "i2c.h" #include "rtc.h" #include "spi.h" #include "tim.h" #include "usart.h" #include "gpio.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /*
in „STM32F4 HAL TIMER Interrupt läuft nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Layout einer Montageplatte für Elektronikkomponenten
loch, 144x44 18 loch, 36x44 18 loch, 288 Locher @ 12 mm, Power Supply 24 V DC max. 12 x 66, ESP8266, STM32 Nucleo Board 98mm x 66mm, 36x64 18 loch, 36x64 18 loch, 36x137 18 loch, 36x137 18 loch, 36x137 18 loch, 36x137 18 loch, 36x137 18 loch, 36x137 18 loch, 36x137 18 loch, 36x137 18 loch, 36x137 18 loch
in „Minutengenaue 24 Stunden-Wortuhr - wer will mitbauen?“ · Projekte & Code · · Screenshots
-
Datei
cm3-systick.h
clock, ticks=0: preset calibration value, held while debugging // calibration value is 1ms@72MHz on STM32 // core=1: processor clock, runs while debugging void systick_init (unsigned coreclk, unsigned ticks); ///////////////////////////////////////////////////////////////////////////// // Calibrate delays
in „[ARM / Cortex-M0(+)] delay-Funktionen "avr-libc style"“ · Projekte & Code ·
-
Datei
serial.h
/* UART-Ansteuerung für STM32F103C8T6 */ /* Senden + Empfangen erfolgt gepuffert über V24puffer per Interrupt. Beim Senden wird eine begrenzte Zeit gewartet, wenn der Sendepuffer voll ist Beim Empfangen wird nicht gewartet, sondern
in „Sende/Empfangsvorgang mittels nur 1St. µC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_fonts.h
#ifndef LCD_FONTS_H #define LCD_FONTS_H #include "stm32F10x_conf.h" /* -------------- Standard Include Files ----------------- */ #include <string.h> #include <stdint.h> /* ---------------Special Include Files / Librarys ------- */ /* -------------- Projekt
in „Basteltip: STM32F103 DIP40 Board“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_fonts.h
#ifndef LCD_FONTS_H #define LCD_FONTS_H #include "stm32F10x_conf.h" /* -------------- Standard Include Files ----------------- */ #include <string.h> #include <stdint.h> /* ---------------Special Include Files / Librarys ------- */ /* -------------- Projekt
in „Lebensdauer von lokalen Variablen“ · Softwareentwicklung ·
-
Datei
GPIO_INI.c
#include <STM32L1XX.h> #include <stdio.h> #include "GPIO_INI.h" void GPIO_INI() { //Enable Clocks für die Ausgänge RCC->AHBENR |= RCC_AHBENR_GPIOBEN; RCC->AHBENR |= RCC_AHBENR_GPIOAEN; //Operation Mode Register /
in „STM32L152RC HSI“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
spma014.pdf
Higher priority interrupt coming in (interrupt-continue for LDM and during servicing is held off. STM, unlike the blocking ARM7/ “Stubs” and hidden code to handle interrupts in ARM9 for example), and support software. 8 levels of fully nested priority. Variable size • Algorithm time Using variables
in „ARM Cortex & GCC: Worauf achten für "optimalen" Code?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/* Includes ------------------------------------------------------------------*/ #include "stm32f10x.h" #include "systick.h" #include <stdlib.h> #include <stdio.h> #ifdef __GNUC__ /* With GCC/RAISONANCE, small printf (option LD Linker->Libraries->Small printf set to 'Yes') calls __io_putchar(
in „STM32 can Message“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Screenshot einer Debugger-Ansicht von Speicherinhalten
Details: {0, 0, 0, 0, 16, 16, 16, 0, 0, 0} Default: 0x8001c40 <Arial_7x10_Table> Decimal: 134224960 STM32F103 St-Link [Prog
in „Nach Initialisierung falsche Werte im Struct“ · Softwareentwicklung · · Screenshots
-
Datei
main.c
#include"stm32f10x_conf.h" int main(void) { GPIO_InitTypeDef GPIO_InitStructure; TIM_TimeBaseInitTypeDef TIM_TimeBase_InitStructure; TIM_OCInitTypeDef TIM_OC_InitStructure; SystemInit(); RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA
in „Sinuswerte für PWM berechnen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
pgmspace.h
ifdef AVR #define constflash const __flash #include <avr/pgmspace.h> #include <stdio.h> #elif defined(STM32) #define PROGMEM #define pgm_read_byte(a) (*(a)) #define constflash const #define PSTR(a) (a) #define strlen_P strlen #define strncpy_P strncpy #define snprintf_P snprintf #define printf_P printf
in „AVR: fprintf_P String im Progmem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test_spi1_arduino_x5.ino
// Arduino STM32 core // BluePill // 2018 // Urheber: // mit PB13 und PB15 Problem #include <SPI.h> // Pin Belegung SS (CS) Signal #define SS_1_PIN PA4 #define SS_2_PIN PB12 SPIClass SPI_1(PA7, PA6, PA5); SPIClass
in „Arduino IDE mit STM32 Core Themen, BluePill, SPI 2“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Zusammenstellung von Elektronikkomponenten und Pinbelegungen
PB9 = Encoder Switch, G = ground, 5v = 5v, VB = VBAT, PC15 = IR Signal, PB10 = Play Led, KaradiuU8STM2, KaradiuUCSTM32 Pins usage
in „Suche STM32 binary für KaRadio-addons“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Datei
main.c
Includes ------------------------------------------------------------------*/ #include "main.h" #include "stm32f1xx_hal.h" /* USER CODE BEGIN Includes */ #include "x_user.h" /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ I2C_HandleTypeDef hi2c1;
in „CubeMX und HAL - I2C hängt sich auf“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
**** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f1xx_hal.h" /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ TIM_HandleTypeDef htim1; DMA_HandleTypeDef hdma_tim1
in „STM32F103 Hardfault“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
canbusboard.pdf
7 T D D D A NRST B V V V D 10K V V 44 Y1 BOOT0 1 5 PD0 2 6 3 PD1 R30 2 GND 357 PC13 U6 3 PC14 B 4 STM32F103C8T6 B PC15 R31 18 PB0 PA0 10 TH0 10K 19 11 PB1 PA1 BLTOUCHSERVO 20 PB2 PA2 12 39 13 PB3 PA3 40 PB4 PA4 14 ADX_CS E0_EN 41 PB5 PA5 15 ADX_SCL 42 16 E0_STEP PB6 PA6 ADX_SDO E0_DIR 43 PB7 PA7 17 ADX_SDA 45 29 CANRX PB8 PA8 ZSTOP CANTX 46 PB9 PA9 30 XSTOP 21 31 22 PB10 PA10 32 E0_UART_CS PB11 PA11 25 PB12 PA12 33 26 34 HE0 PB13 PA13 SW_DIO FAN1 27 PB14 A PA14 37 SW_CLK 28 S S S S 38 FAN0 PB15 V V V V PA15 3 5 7 2 3 4 8 C C GND Sheet: /Controller/ D D File: controller.kicad_sch
-
Datei
main.c
TEST */ /******************************************************************************/ #include "stm32f4xx.h" /*---------------------------------------------------------------------------- System init *----------------------------------------------------------------------------*/ void SystemInit(void
in „DMA,ADC bei Stm32f4“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c_simple.h
Einfache Variante von I2C-Routinen // als Übung zur Inbetriebnahme // // 22.12.13 Nicolas #include "stm32f10x_i2c.h" #include "misc.h" /* Timeout fuer jede I2C-Scan-Operation in Millisekunden */ #define I2C_SCANTIMEOUT 200 #define I2C_NORMALTIMEOUT 300 enum {i2c_ok, //0 i2c_noStart, //1 i2c_startTimeout
in „STM32 I2C mit EEPROM - funktioniert nur zuverlässig mit Bus-Sniffer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
angepasste_main.h
#endif /* Includes ------------------------------------------------------------------*/ #include "stm32f1xx_hal.h" /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Exported types --------------------------
in „STM32 mit AVR/FAT32 Bibliothek“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
function. ****************************************************************************** */ #include "stm32f10x.h" #include "systick.h" #include "led.h" #include "uart.h" #include "can.h" #include <stdint.h> int main(void) { SystemInit(); SysTick_Init(); UART2_Init(); LED_PC13_INIT(LED_ON); uint8_t ret
in „stm32f103 CAN-Interface“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.h
#endif /* Includes ------------------------------------------------------------------*/ #include "stm32u5xx_hal.h" /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Exported types --------------------------
in „STM32U599 reagiert nicht: Keine Funktion auf dem Custom Board“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
erb.pdf
66C_2 16C_C C_T4 Fn001IC2 3 Fn001 C_C7F C_C15 56C_C 1 2.2µF 100nF S Fn001 100nF Fn001 4 C_C6 C_C16 STM32F769BIT6 36C_C 100nF C_C5 100nF Fn001 100nF C_C17 46C_C C_T3 z100nF 220 C_C3 C_C19 n 2 n8 C n C 1µF 0 _ 07 CCC2 R2MHz100n0 nCF01n2 1 2C 12 1 0 1 _ _ X 3 4 4 1 C C F F 2 3 C p C1 p 2 2 C C C 1 C 1 1
in „1. PCB Layout - Unterstützung, µC, Ram, ADC, Co“ · Platinen ·
-
PDF
Log_12h.pdf
delay_init... board_led_init... button_init... timer2_init... wpsbutton_init... Version: 2.9.4 Hardware: STM32F103 Display: WC12h LEDs: SK6812 RGBW rtc is online eeprom is online sk6812: external pullup detected eeprom is online current eeprom version: 0x00020900 reading ir codes from eeprom DFPLAYER LOGGER
-
Datei
ffconf.h
Z80 0/1 V850ES 0/1 / Cortex-M0 0 *2 x86 0/1 TLCS-870 0/1 / AVR 0/1 RX600(LE) 0/1 TLCS-900 0/1 / AVR32 0 *1 RL78 0 *2 R32C 0 *2 / PIC18 0/1 SH-2 0 *1 M16C 0/1 / PIC24 0 *2 H8S 0 *1 MSP430 0 *2 / PIC32 0 *1 H8/300H 0 *1 8051 0/1 / / *1:Big-endian. / *2:Unaligned memory access is not supported. / *3:Some compilers generate LDM/STM for mem_cpy function. */
in „Problem mit VS1053“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Screenshot von Registerbelegungen eines Cortex-M33 Mikrocontrollers
:1] 0x1 HFSR_NS 0xe002ed2c 0x0 MMFSR_S 0xe000de28 0x0 UFSR_S 0xe000de2a 0x0 UFSR_NS 0xe002ed2a 0x0 STM32L562 RCC APB1R
in „STM32 startet im HardFault“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Datei
input.txt
STM32F746ZGT6 PE2 PE3 PE4 PE5 PE6 VBAT PC13 PC14 PC15 PF0 PF1 PF2 PF3 PF4 PF5 VSS VDD PF6 PF7 PF8 PF9 PF10 PH0 PH1 NRST PC0 PC1 PC2 PC3 VDD VSSA VREF+ VDDA PA0 PA1 PA2 PA3 VSS VDD PA4 PA5 PA6 PA7 PC4 PC5
-
Datei
main.h
#endif /* Includes ------------------------------------------------------------------*/ #include "stm32u5xx_hal.h" /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Exported types --------------------------
in „STM32U599 reagiert nicht: Keine Funktion auf dem Custom Board“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
******/ /* Includes ------------------------------------------------------------------*/ #include "stm32f10x_lib.h" #include "platform_config.h" /* Private typedef -----------------------------------------------------------*/ /* Private define ---------------------------------------------------------
in „STM32 103RB und Probleme mit SPI1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
bootloader.ld
application : { . = ALIGN(0x80); /* PM0056, Rev.1 (4/2009), 4.3.3 */ KEEP(*(.bl_jump)) /* Minimalistic STM32 ISR vector table for jumping to bootloader */ . = 4k; . = ALIGN(0x80); /* PM0056, Rev.1 (4/2009), 4.3.3 */ _isr_vectorsflash_offs = . - 0x08000000; KEEP(*(.isr_vector)) /* This is the real bootloader
in „Nicht genutzte globale Variablen werden wegoptimiert“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
resteliste_1.pdf
Tabelle1 Bezeichnung Menge Gehäuse Hersteller Bezeichnung Angebot 24C02 WMN6P 100 SO8 STM 2 KBit (256 x 8 Bit) 8,00 € AD1100A 10 SO8 Analog DevicesDUM1100 iCoupler 5,00 € BSP373 50 SOT223-4 Infineon Small-Signal MOSFET, 100V, SOT-223 5,00 € CA3240 E 50 DIL8 OP AMP DUAL MOS IP/BIPOLAR OPAMP
in „Aufräumen und Reste“ · Markt ·
-
Datei
edm_test.c
edm_variables.h" #include "edm_test.h" #include "../../ioMapping.h" // Alle Ports und Pins #include "stm32f10x_gpio.h" extern uint16_t ADC1ConvertedValues[10]; /* Test der ADC-Routinen (Multiplex und Interrupt-Aufruf) */ void edm_test_adc(void) { printf_P(PSTR("\fTest EDM-ADC \n" "Beenden durch Knopfdruck
in „STM32: Suche Hilfe zu ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
debugger_output.txt
match requested speed 8000 kHz, using 4000 kHz Info : Stlink adapter speed set to 4000 kHz Info : STM32F303RETx.cpu: hardware has 6 breakpoints, 4 watchpoints Info : Listening on port 3333 for gdb connections Info : accepting 'gdb' connection on tcp/3333 target halted due to debug-request, current mode
in „STM32 läuft mit Debugger schneller als er soll“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
io_test.c
Ursachenvorschung" fuer unterschiedliche Geschwindigkeiten beim Set / Reset von GPIO Pins Hardware : STM32F103C8 IDE : make - Projekt Library : libopencm3 Toolchain : arm-none-eabi 18.02.2020 R. Deelig ------------------------------------------------------------- */ #include <stdint.h> #include <stdlib.h
in „STM32F103: Unterschiedliche Puls-Pausezeiten, Pausezeiten länger“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SST25VF016B.h
SST25VF016B_H /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx.h" /* Private typedef -----------------------------------------------------------*/ typedef enum ERTYPE{Sec1,Sec8,Sec16,Chip} ErType; typedef enum IDTYPE{Manu_ID,Dev_ID,Jedec_ID} idtype; /* Private
in „Font in SPI Flash schreiben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <stm32f0xx.h> #include <string.h> int main() { RCC_HSICmd(ENABLE); RCC_HCLKConfig(RCC_SYSCLK_Div1); RCC_PCLKConfig(RCC_HCLK_Div1); RCC_SYSCLKConfig(RCC_SYSCLKSource_HSI); RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOA
in „[STM32F0] Problem mit ungenauem Timer (RX Signal)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nrf24l01_usr.c
----- */ #define RX_CMD_HISTORY 0x10 /* -------------- Public Variablen ----------------------- */ stm32f103_data_t actual_data; // Datensatz für Display volatile uint16_t RfTOCnt = 0; /* Flags */ volatile _Bool f_GotData = false; // Es liegen neue Daten vor volatile _Bool f_GotHistory = false; // Daten
in „[STM32F4xx] NRF24L01+ Funkmodul Source Code“ · Projekte & Code ·
-
Datei
irsnd_init.c
void irsnd_init (void) { // STM32 GPIO_InitTypeDef GPIO_InitStructure; TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; TIM_OCInitTypeDef TIM_OCInitStructure; /* GPIOx clock enable */ RCC_AHBPeriphClockCmd(IRSND_PORT_RCC, ENABLE); /
in „IRSND auf STM32F0“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TouchPanel.h
TOUCHPANEL_H_ /* Includes ------------------------------------------------------------------*/ #include "stm32f10x.h" /* Private typedef -----------------------------------------------------------*/ typedef struct POINT { uint16_t x; uint16_t y; }Coordinate; typedef struct Matrix { long double An, Bn, Cn,
in „ADS7843 Werte berechnen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Minilabortisch.pdf
Mosfet LDO h s , 4 Kippschalter O t b O 4 + Mosfet Mosfet 3,3 V I r e I + x n b n x ( l m r n ( i p c STM32 LEDs f p i i c 1 Display Display l o e r a Miniatur P K Elektronik r e B Kippschalter e ti i n Poti f s S c B 4 cm Drehencoder 10 cm 2 cm 2 cm 2 cm 10 cm 14 cm
in „Mobiler modularer Microlabortisch in Brotbüchse“ · Mechanik, Gehäuse, Werkzeug ·
-
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 „STM32 Virtueller EEPROM in Flash“ · Mikrocontroller und Digitale Elektronik ·