-
Datei
disasm.asm
: 0AE4 lsrs r4, r4, #11 l000014f0: 07E1 lsls r1, r4, #31 l000014f2: 2000 movs r0, #0 l000014f4: E7A4 b.n l00001440 l000014f6: 2E20 cmp r6, #32 l000014f8: DD0B ble.n l00001512 l000014fa: 3E20 subs r6, #32
in „Flash im Cortex-M0 durch Codeinjektion ins SRAM auslesen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c_referenz.c
#include <stdio.h> #include "stm32f10x_gpio.h" #include "stm32f10x_rcc.h" #include "i2c.h" #include "debug.h" static void I2C1_InitI2C(void); static void I2C2_InitI2C(void); static int8_t I2C1_Timeout(I2C_TypeDef* I2Cx, int8_t val)
in „STM32F103C8T6 Blue Pill - SSD1306 - u8g2“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c.c
#include <stdio.h> #include "stm32f10x_gpio.h" #include "stm32f10x_rcc.h" #include "i2c.h" #include "debug.h" static void I2C1_InitI2C(void); static void I2C2_InitI2C(void); static int8_t I2C1_Timeout(I2C_TypeDef* I2Cx, int8_t val)
in „STm32Fxxx: I2C Hardware Experten gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
FK743M5-XIH6.pdf
1 2 3 4 5 6 L11 此处将STM32H743分为两部分,实则为同一芯片 CBG160808U121T 磁珠/120Ω ±25% @100MHz 200MA 3.3V PIL10 1 PIL 102 VDDA 模拟电压 采用的是V版本的型号,主频可以跑480M P2 P SWD和USART1接口 MCU1A1UCMOC O1 CC2 PA0 N5 G4 NFMC_A0 PF00FP P 10uF P 0.1uF A LN1 IPCU10N5
in „STM32H743 mit 32MByte externem SDRAM“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mmc_config.h
/* * Doku, siehe http://www.mikrocontroller.net/articles/AVR_FAT32 * Neuste Version: http://www.mikrocontroller.net/svnbrowser/avr-fat32/ * Autor: Daniel R. */ #ifndef CONFIG_H_ #define CONFIG_H_ #include <ctype.h> #include <stdint.h> //#include "stm32f10x.h" // wegen
in „MMC SD library FAT16 FAT32 read write“ · Projekte & Code ·
-
Datei
mmc_config.h
/* * Doku, siehe http://www.mikrocontroller.net/articles/AVR_FAT32 * Neuste Version: http://www.mikrocontroller.net/svnbrowser/avr-fat32/ * Autor: Daniel R. */ #ifndef CONFIG_H_ #define CONFIG_H_ #include <ctype.h> #include <stdint.h> //#include "stm32f10x.h" // wegen
in „AVR und großer Speicher“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Webinterface einer WordClock mit Systemstatus und Einstellungen
WordClock Main Main Name Value Name Value Processor STM32F103C8 RTC online Hardware WC12h EEPROM online Display WS2812 GRB EEPROM Version 2.9 Version 2.9.5 DFPlayer offline ESP8266 version 3.0.0T5 Display power on YYYY MM DD hh mm Action 2023 08 10 10 46
in „WordClock mit WS2812“ · Projekte & Code · · Screenshots
-
Datei
MyFunctions.c
Geraet: ******************************************************************************/ #include <stm32f10x_conf.h> #include "MyFunctions.h" #include "EXTI_HW_Init.h" #include <stm32f10x_spi.h> #include <stdio.h> #include "stm32f10x_usart.h" // globale Variablen // statische Variablen uint8_t s_Rx =
in „UART Problem beim senden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f10x_conf.h" #include "main.h" void eraseFlashPage(uint8_t page) { uint32_t addr = FLASH_ADDR + 0x400 * page; FLASH_Unlock(); FLASH_ClearFlag(FLASH_FLAG_PGERR | FLASH_FLAG_WRPRTERR | FLASH_FLAG_EOP
in „STM32F103 bootloader tool“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Blockdiagramm des STM32MP215 Mikrocontrollers
STM32MP215 block diagram Arm® Cortex®-A35 1.2GHz / up to 1.5GHz L1 32KB I-Cache / 32KB D-Cache 128KB L2 cache NEON TrustZone Arm® Cortex®-M33 300MHz 16KB I-Cache 16KB D-Cache FPU / MPU / NVIC TrustZone
in „ESP32-E22, schneller Chip aus dem Hause WCH, ressourcensparendes WiFi 7 uvam“ · Mikrocontroller und Digitale Elektronik · · Diagramme
-
PDF
eGC.pdf
DISP_R7 DPIIC20D16 R7 DISP_G0 F13 IO_L31N_A18_M1A12_1 13 DISP_G0 DISP_G1 F14IC20IO_L32P_A17_M1A8_1 G0 PIDISP1013 NLDISP0G PIIC20IO_L32N_A16_M1A9_1 G1 PIDISP1014G1 DISP_G2 CPIIC20IO_L33P_A15_M1A10_1 G2 PIDISP1015G2 DISP_G3 CPIIC20IO_L33N_A14
in „[Suche] Interessierte(n) an Projekt (ARM/FPGA)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
extended_serial_library.pdf
Progressbar ansi.progbar.x = 14; ansi.progbar.y = 4; ansi.progbar.anz = 51; ansi.progbar.percentage = 0; ansi.progbar.barattr = 0xf1; // Balken Blau-Weiss ansi.progbar.barendattr = 0x0f; // Farbe der Begrenzung ansi.progbar.drawboth = 1; // komplette Progressbar zeichnen for (int i = 0; i < 101; i++) {
in „Arduino und struct gefallen sich nicht !“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f1xx_hal_msp.c
/** ****************************************************************************** * File Name : stm32f1xx_hal_msp.c * Description : This file provides code for the MSP Initialization * and de-Initialization codes. ****************************************************************************** * * COPYRIGHT
in „STM32F103 Hardfault“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Schaltplan STM32F334K8T6 Mikrocontroller Anschlussbelegung
SWD1, UDD, SWCLK, GND, SWDIO, anstelle von 4,7uF kann man auch 10uF nehmen, C1 100nF, C2 4,7uF, C3 100nF, C4 4,7uF, UDD A=UDD, +3.3U VCC, optional D2, TUS, C5 1uF, C6 10nF, LED_VCC, R z.B. 10k, GND, IC STM32F334K8T6_LQFP32, PA0 bis PA15, PB0 bis PB7, NRST, BOOT0, SWDIO/PA13, SWCLK/PA14, PA15, GND, PAD31, 4,7-10k RR, Reset, CR 100nF, JB 10k oder gebrückt, R, GND
in „STM32: Flashen geht nicht, wenn PLL aktiv (nur HSI oder HSE gehen)“ · Mikrocontroller und Digitale Elektronik · · Schaltpläne
-
Datei
Beispiel.txt
Beispiel 1: Konstrukte für STM32F1xx ==================================== /* Hilfsbezeichnungen zum Port-Konfigurieren */ /* Beispiel: #define wert_fuer_pa0 (mode?+conf?) */ #define input 0 /* Pin ist Input */ #define out10 1 /*
in „STM32F103C8 Platformprojekt mit Display, FATFS und Examples“ · Projekte & Code ·
-
Datei
CANmc.cpp
#include "stm32f4xx_conf.h" #define USE_CAN1 #ifdef USE_CAN1 #define CANx CAN1 #define CAN_RX_PIN GPIO_Pin_0 #define CAN_TX_PIN GPIO_Pin_1 #define CAN_RX_SOURCE GPIO_PinSource0 #define CAN_TX_SOURCE GPIO_PinSource1
in „STM32F4 CAN Mailbox Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32_ub_uart.c
//-------------------------------------------------------------- // File : stm32_ub_uart.c // Datum : 28.11.2013 // Version : 1.3 // Autor : UB // EMail : mc-4u(@)t-online.de // Web : www.mikrocontroller-4u.de // CPU : STM32F4 // IDE : CooCox CoIDE 1.7.0 // Module : GPIO, USART
in „STM32F030F4P6 und USART1“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Blockschaltbilder eines GPIO-Connectors und eines STM32MP2 Systems
Block diagram 40 Pin GPIO Connector ID_SD, ID_SC, LPUART(RX TX)*, LPUART(RX TX)*, EN, FDCANTX, RX, UART0, X, TX, I2C_SCL, I2C_SDA, RST, I2C_SCL, I2C_SDA, IRQ, SQW, SWITCH EEPROM (M24C32-RMNSTP), RS232 (ST3232CTR), RS485 (ST4E1240), CAN Transceiver (XR31235ED), STSAFE-A110, RTC (M41T83ROAF6), 4 LEDs, BATT
in „Neue Bauteile: Passives, Spannungsmanagement und MPUs“ · Mikrocontroller und Digitale Elektronik · · Diagramme
-
PDF
STM32F407ZG-board-schematic.pdf
/SPI3_MISO 1 CD/DAT3/CS JOYSTICK STM32F407ZGT6 R89 100nF 2 C88 100nF 2 C93 SD_CMD 2 CAMERA J1 CS_UEXT 0R(NA) A23 3 V+ 100nF 3 V+ 100nF 3 CMD/DI 2 1 D0 UP UP LEFLEFT R78 LEFT TEMP_ALERT 0R A22 C1- 6 C89 C1- 6 C94 L7 4 VSS1 4 3 D1 B<4> A
in „8Mbit/s Manchester Code codieren und decodieren mit STM32F407“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
STM32F407ZG-board-schematic.pdf
/SPI3_MISO 1 CD/DAT3/CS JOYSTICK STM32F407ZGT6 R89 100nF 2 C88 100nF 2 C93 SD_CMD 2 CAMERA J1 CS_UEXT 0R(NA) A23 3 V+ 100nF 3 V+ 100nF 3 CMD/DI 2 1 D0 UP UP LEFLEFT R78 LEFT TEMP_ALERT 0R A22 C1- 6 C89 C1- 6 C94 L7 4 VSS1 4 3 D1 B<4> A
in „Problem: SPI Remap am STM32F407ZG“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
startup_stm32.s
/** ****************************************************************************** * @file startup_stm32.s dedicated to STM32F303RETx device * @author Ac6 * @version V1.0.0 * @date 2019-03-03 ****************************************************************************** */ .syntax unified .cpu cortex-m4
in „An W.S.: Läuft deine USB Implementierung auch auf STM32F303?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
startup_stm32.s
/** ****************************************************************************** * @file startup_stm32.s dedicated to STM32F303RETx device * @author Ac6 * @version V1.0.0 * @date 2019-03-03 ****************************************************************************** */ .syntax unified .cpu cortex-m4
in „Timer Interrupt am STM32F103RB“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
README.TXT
Dieses Programm lässt die LED an PC13 blinken und testet, ob der Chip ein originaler STM32F103C8C6 ist. Hochladen z.B. seriell mit dem Kommando stm32flash -w Blinky_Test-v0.21.bin /dev/ttyUSB2 Die Ausgabe findet seriell mit 115200 Baud statt. Beispiel für ein Original: [08:09:02:129] **
in „Interrupt verhalten bei STM32F103“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
graphik.c
<stdlib.h> #include <math.h> /* ------------ Special Include Files --------------- */ #include "tm_stm32f4_ili9341.h" #include "tm_stm32f4_rtc.h" /* ------------ Projekt Include Files --------------- */ #include "config.h" #include "graphik.h" #include "rtc_user.h" /* ------------ Typen Deklarationen
in „Zeigt her eure Kunstwerke (2017-2019)“ · Projekte & Code ·
-
Datei
WC-Arduino_1.txt
\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.5.0-beta2\\libraries\\esp8266\\src" "C:\\Users\\Heiko\\AppData\\Local\\Temp\\arduino_build_123708\\sketch\\stm32flash.cpp" -o "C:\\Users\\Heiko\\AppData\\Local\\Temp\\arduino_build_123708\\sketch\\stm32flash.cpp.o
-
PDF
Dokumentation.PDF
SPI2_SCK 02 Title D PIIC101VSS_4 I2S2_SD / PB15IIC1036 SPI2_CS R38 1k 01 Size Number Revision GND STM32F105RB A4 GND Date: 15.08.2014 Sheet of File: F:\Benutzer\..\MCU.SchDoc Drawn By: 1 2 3 4 1 2 3 4 A A P0X10 IC14A P2Lotbrücke Lotbrücke OE PIIC1401 NAUX1 X12 18 2 AUX_3 NAUX2 21IPIIC14016 A1 PIIC1404
-
Datei
ADC_dual_103.c
#include "main.h" #include "stm32f1xx_hal.h" /* USER CODE BEGIN Includes */ #include <string.h> #include "stdio.h" /* USER CODE END Includes */ /* Private variables ---------------------------------------------------------*/ ADC_HandleTypeDef
in „STM32F1xx: Injected simultanous ADC läuft nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f446.c
+ 0x00); volatile uint32_t *RCC_AHB1ENR = (void *)(RCC_BASE + 0x30); volatile uint32_t *RCC_AHB2ENR = (void *)(RCC_BASE + 0x34); volatile uint32_t *RCC_AHB3ENR = (void *)(RCC_BASE + 0x38); volatile uint32
in „Linux auf dem STM32 externes RAM“ · 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
dogm_spi_cs.c.c
#include <stm32f10x_conf.h> GPIO_InitTypeDef GPIO_InitStructure; void delayLoop() { volatile uint32_t delayCount = 12000000; /* volatile to avoid compiler optimization */ while (delayCount > 0) { delayCount--; }
in „EA DOGM162 mit STM32 reagiert nicht mit SPI“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
VitoMirrorCtrl_V1.0.pdf
DRIVER_LEFT.kicad_sch Datei: 05_DRIVER_RIGHT.kicad_sch C C Andreas Hagen Sheet: / D D File: VitoMirrorCtrl V1.0.kicad_sch Title: Control Modul Test 1 Size: A4 Date: 2026-07-14 Rev: A KiCad E.D.A. 10.0.4 Id: 1/7 1 2 3 4 5 6 1 2 3 4 5 6 A A GND GND GND GND GND C7 C8 22µF 100 nF GND T C3 C4 O C2 R1 R 47 µF 2,2 µF
in „Hilfe beim KiCad-Layout gesucht: 2-Fach Motorsteuerung (KFZ-Bereich)“ · Platinen ·
-
PDF
VitoMirrorCtrl_V1.0_B.pdf
01_POWER.kicad_sch D Title: Control Modul Test 1 Size: A4 Date: 2026-07-14 Rev: B KiCad 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
in „Hilfe beim KiCad-Layout gesucht: 2-Fach Motorsteuerung (KFZ-Bereich)“ · Platinen ·
-
PDF
SAM3X.pdf
PA25 E12 PB21 H12 PA2 L12 PB16 C1 PA13 F1 PD8 J1 XIN M1 DFSDP C2 PA12 F2 PD6 J2 GNDPLL M2 DFSDM C3 PB25 F3 PD9 J3 PD10 M3 VBG C4 PB22 F4 PA0 J4 PB31 M4 VBUS C5 PC22 F5 PD7 J5 TST M5 XIN32 C6 PC21 F6 GND J6 FWUP M6 XOUT32 C7 PB11 F7 GND J7 PB27
in „ARM SAM3x Zähleingang“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SAM3X.pdf
PA25 E12 PB21 H12 PA2 L12 PB16 C1 PA13 F1 PD8 J1 XIN M1 DFSDP C2 PA12 F2 PD6 J2 GNDPLL M2 DFSDM C3 PB25 F3 PD9 J3 PD10 M3 VBG C4 PB22 F4 PA0 J4 PB31 M4 VBUS C5 PC22 F5 PD7 J5 TST M5 XIN32 C6 PC21 F6 GND J6 FWUP M6 XOUT32 C7 PB11 F7 GND J7 PB27
in „Arduino Due: Programmierung ohne 16U2“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
**** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f7xx_hal.h" #include "fatfs.h" /* USER CODE BEGIN Includes */ #include "stm32746g_discovery.h" #include "stm32746g_discovery_lcd.h" #include "stm32746g_discovery_sdram.h" #include "rk043fn48h.h" #define
in „STM32F7 Disco und das Display-->hard fault error“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
BluePillPlus_V10_SchDoc.pdf
PIU 104 PC15 X2 PB6PI2014 14 PA2PIP104 14 CO5 PC15/OSC32_OUT NX3215SA-32.768K PB7PI2015 15 PA1IP105 15 P1 BOOT0 44 PB8PI2016 16 PA0PIP106 16 PI50 PC51 PI U1044 BOOT0 P0 C6 PI2017 PC15IP107 17 PC0 PI61 GND PB9 17 PIP108 10pF NRST P IU1707 NRST 1.5pF VCC PI2018
in „BluePill STM32 Bezugsquelle“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sections.ld
/* * Default linker script for Cortex-M (it includes specifics for STM32F[34]xx). * * To make use of the multi-region initialisations, define * OS_INCLUDE_STARTUP_INIT_MULTIPLE_RAM_SECTIONS for the _startup.c file. */ /* * The '__stack' definition is required by crt0,
in „lwIP 1.4.1 + freeRTOS 8.2.3 + stm32f107vb“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sections.ld
/* * Default linker script for Cortex-M (it includes specifics for STM32F[34]xx). * * To make use of the multi-region initialisations, define * OS_INCLUDE_STARTUP_INIT_MULTIPLE_RAM_SECTIONS for the _startup.c file. */ /* * The '__stack' definition is required by crt0,
in „ARM, GCC, Linker-Skripts“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DM00135183.pdf
page 847 0x4001 1000 - 0x4001 13FF USART1 0x4001 0400 - 0x4001 07FF TIM8 Section 16.4.21: TIM1&TIM8 register map on 0x4001 0000 - 0x4001 03FF TIM1 page 517 DocID026976 Rev 2 55/1323 60 RM0390 Table 1. STM32F446xx
in „STM32F446 FMP I2C kein Open Drain möglich?!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lwipopts.h
********************************** * @file lwipopts.h * @author MCD Application Team * @version V1.0.0 * @date 31-October-2011 * @brief lwIP Options Configuration. * This file is based on Utilities\lwip_v1.3.2\src\include\lwip\opt.h * and contains the lwIP configuration for the STM32F4x7 demonstration
in „Olimex STM32E407, FreeRTOS und lwip“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f1xx_hal_msp_-_slave.c
/** ****************************************************************************** * File Name : stm32f1xx_hal_msp.c * Description : This file provides code for the MSP Initialization * and de-Initialization codes. ****************************************************************************** ** This
in „STM32F103 SPI Slave + Master“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
graphik.c
<stdlib.h> #include <math.h> /* ------------ Special Include Files --------------- */ #include "tm_stm32f4_ili9341.h" #include "tm_stm32f4_rtc.h" /* ------------ Projekt Include Files --------------- */ #include "config.h" #include "graphik.h" #include "rtc_user.h" /* ------------ Typen Deklarationen
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Windows Systeminformationen und ST-Link Debugger Terminal
specifications Device name BUREAU Processor AMD Ryzen 9 3900X 12-Core Processor 3.60 GHz Installed RAM 32.0 GB Windows specifications Edition Windows 10 Pro Version 20H2 f:\software\ELink\win32\ELink.exe Interface USB# : 0671FF343537424257231318 Interface type : STlink/V2.1 STlink connect : Under reset Target voltage : 3.23V Target detected: Cortex-M4 (r0p1) with FPv4_SP HW breakpoints: 6 HW watchpoints: 4 Fault unwind : Active break (level 2) STmicro family : STM32F4x/43x Detected FLASH : 0x20000000 Configured RAM : 0x20000000 GDB listening (0.0.0.0
in „STM32F103 Bluepill mit 128kb lässt sich nicht flashen“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Datei
lwipopts.h
******************************** * @file lwipopts.h * @author MCD Application Team * @version V1.1.0 * @date 31-July-2013 * @brief lwIP Options Configuration. * This file is based on Utilities\lwip_v1.4.1\src\include\lwip\opt.h * and contains the lwIP configuration for the STM32F4x7 demonstration. *
in „LwIP Sockets API vs. Raw API vs. uIP Stack“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
STM32F407 Discovery Board Leiterplatte
ST STM32F407 ARM Cortex-M4 stm32.st.com SWD PWR GND VDD PA0 bis PD15
in „[V] Diverse Evaluation-Boards - ca. 2014-2016“ · Markt · · Platinenfotos
-
Datei
lwipopts.h
********************************** * @file lwipopts.h * @author MCD Application Team * @version V1.0.0 * @date 11/20/2009 * @brief lwIP Options Configuration. * This file is based on Utilities\lwip-1.3.1\src\include\lwip\opt.h * and contains the lwIP configuration for the STM32F107 demonstration. **
in „lwIP 1.4.1 + freeRTOS 8.2.3 + stm32f107vb“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
STM32F103_Ind_Board_Worksheet_V1.pdf
/PE10 12B 12 13B 13 PB6/SCL1 TIM1CH3/PE13 14B 14 PB5 T1CH3N/PE12 15B PB0/AN8 TIBKIN/PE15 16B TIM1CH4/PE14 15 PD0/CANRX* C 16 PD1/CANTX* AN10/PC0 17B C 17 PD2 AN11/PC1 18B 18 PD3/CTS2 AN12/PC2 19B 19 20B 20 PD4/RTS2 AN13/PC3 21B 21 PD5/TXD2 PC6 22B 22 PD6/RXD2 PC7 23B 23 PD7
in „STM32F103VET6 Industrial Board Schaltbild“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SPI_Setup.c
#include "stm32f4xx.h" #include "stm32f4xx_spi.h" #include "gDef.h" #include "gVar.h" #include "gType.h" #include "gFunc.h" void SPI_Setup(void) { GPIO_InitTypeDef GPIO_InitStruct; SPI_InitTypeDef SPI_InitStruct;
in „STM32F4: Flash Speicher Zugriff über SPI“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.txt
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 */ #include "stm32f4xx.h" uint32_t i; void WriteNibble(char data){ GPIOD->BSRRL |= data; GPIOD->BSRRH |= ~data; GPIOD->BSRRL |= (1<<6); //E=1; for (i=0;i<10000;i++){} //delay GPIOD->BSRRH |= (1<<6); //E=0; for (i=0;i<10000;i++){} //delay } void WriteIns (char ins){ GPIOD->BSRRH |= (1<<4); //RS=0; GPIOD->BSRRH |= (1<<5); //RW=0; WriteNibble((ins&0xF0)>>4); //High nibble WriteNibble(ins&0x0F); //Low nibble
in „STM32: Ich finde einfach keinen Fehler in meinem Code“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
startup_stm32f030xc.s
**************** (C) COPYRIGHT 2014 STMicroelectronics ******************** ;* File Name : startup_stm32f030xc.s ;* Author : MCD Application Team ;* Version : V1.5.0 ;* Date : 24-December-2014 ;* Description : STM32F030xC devices vector table for EWARM toolchain. ;* This module performs: ;* - Set the
in „uint16_t Division compilerabhängig? HardFault bei bestimmtem Compiler“ · Mikrocontroller und Digitale Elektronik ·