Ich habe hier auf uC.net ein STM32F4 Discovery geschossen und nach den Grundsatzspielhen möchte ich jetzt die verschiedenen Boot-Modi ausprobieren. Wie kann ich in keil MDK den Programm Code in den RAM schreiben, um danach mit der
Hallo ! Ich versuche gerade FreeRTOS auf meiner CooCox Plattform zu aktivieren. Dabei musste ich zunächst den Compiler auf FPU=hard umstellen. Beim Linken bekam ich dann [code] [cc] c:/program files/arm-none-eabi-gcc-4_6/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld.exe: error: rtostest.elf uses VFP register arguments, c:/program files/arm-none-eabi-gcc-4_6/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/armv7e-m\libg.a(lib_a-memcmp.o) does not [/code] Die Recherche ergab, dass ich (natürlich) auch mit der richtigen C-Library linken muss. Also
Ich habe eine Frage zum ADC beim STM32F4: ich möchte kurz nach der steigenden Flanke sowie kurz nach der fallenden Flanke eines 200Hz PWM-Signals (5..95%, generiert von Timer 4) eine ADC-Messung vornehmen. Geht das möglichst automatisch?
Hallo allerseits! Ich habe eine Frage zum dma controller der stm32. Verstehe ich den richtig, dass man keinen "next" pointer im Ofen haben kann? Bei avr32 hatte ich beim peripheral dma sowohl receive/receive_count als auch receive_next/receive_next_count. Ich finde jetzt beim stm32 nur den double Buffer Modus, der aber nur unterschiedliche Adressen bearbeiten kann bei gleicher Transfergröße. Danke
Hallo, ich versuche gerade ein PWM Signal an PA2 auszuwerten. Ich benutze dazu timer 2. An PA2 liegt ein Rechecksignal mit f=50Hz an (hab' ich oszilloskopiert). Unten folgenden Code benutze ich, jedoch wird nie ein Timer 2 interrupt ausgelöst. [code] static GPIO_InitTypeDef port_cfg_a2 = { .Pin = GPIO_PIN_2, .Mode = GPIO_MODE_AF_PP, .Speed = GPIO_SPEED_FREQ_HIGH, .Pull = GPIO_PULLUP, .Alternate = GPIO_AF1_TIM2, static TIM_HandleTypeDef timer_handle = { .Instance = TIM2, .Init.Prescaler = 0, .Init.CounterMode = TIM_COUNTERMODE_UP, .Init.Period
Hi, Ich möchte gerne mit dem TIM2 des STM32F4 und der Standard peripheral library drei PWM Signale wie auf dem Bild erzeugen, also den center aligned mode verwenden, doch welcher genau? Es gibt ja TIM_CounterMode_CenterAligned1, TIM_CounterMode_CenterAligned2
Hallo! Ich habe ein STM32F4 Discovery Board dazu benutze ich CubeMX und Keil v5. Nun wollte ich mal die ersten Versuche mit RTOS machen und im Zuge dessen die Trace Funktion nutzen. Erster Versuch: blinky mit Rtos (fertiges
Servus! Hat jemand eine Ahnung wie das mit der Priorität beim Speicherzugriff des ETH-DMAs ausschaut? Habe hierzu nichts finden können, weder in den Datenblättern noch im Internet. Viele Grüße und danke schonmal Reggie
Guten Tag, im uVision MDK4 lassen sich für einen STM32F4 und den uLink Pro eine Debugger Initialisation File.ini und Debugger Flash File.ini erstellen. Im Debugger Flash File.ini initialisiere ich beispielsweise meinen FMC um Programmcode oder Daten
Hallo zusammen, ich bin momentan auf der Suche nach einem Software-LIN-Treiber für den STM32F4. Dabei soll der STM32F4 über UART und einen LIN-Transceiver als LIN-Master fungieren. Der Hardware-UART scheint laut Reference Manual in der Lage zu sein, BREAK-Charakter zu senden und zu erkennen
Leider scheint der Treibercode verschlüsselt zu sein, daher wird man ihn nicht ohne weiteres auf den STM32F4 adaptieren können. Oder übersehe ich da ggf. eine Möglichkeit? Hat bereits jemand Erfahrungen gesammelt in dem Thema LIN für STM32F4 und kennt vielleicht noch alternative Möglichkeiten? Beste
Hi hat jemand Erfahrung mit CUBE und EMMC? in ca 8h habe ich eine MicroSD Karte (via SDIO 4 bit) & Fatfs mit Cube zum laufen bekommen. EMMC scheint da schwieriger zu sein. Kann jemand kurzfristig aushelfen via zoom? Ich wurde mich besonders erkenntlich zeigen.
Warum fängt eigentlich jeder zweite hier mit einem STM32F4 und Displays an? Und das scheinbar ohne wirklich einen genaueren Durchblick zu haben. Hast du denn schon irgendetwas in Code geschrieben? Dann wäre es hilfreich, wenn du diesen mit hier anhängst
Erster Treffer bei Google : Code für Copy+Paste: http://stm32f4-discovery.net/2014/04/library-08-ili9341-lcd-on-stm32f429-discovery-board/ Gruß, dasrotemopped.
leider schaffe ich es irgendwie nicht. Im main.c möchte ich auf die Variable zugreifen, welche im stm32f4xx_it.c inkrementiert wird. Dabei kann ich irgendwie nicht auf die Variable zugreifen, welche entweder in main.c / main.h / stm32f4xxit.c oder in stm32f4xx_it.h deklariert und initialisiert habe
Guten Abend , Ich hab mir jetzt ein Stm32f4-discovery board gekauft . Dazu hab ich jetzt ein Li9320 Display. Jetzt will ich einfach mal eine art Minicomputer basteln. Linux oder andere betriebsystem darauf laufen lassen , und über eine 1
Das ist relativ. Du hast zwar mit deinen Ausführungen recht, aber man könnte externes Memory am STM32F4 verbauen - allerdings nur statisches oder pseudo-statisches RAM. Beim PS Ram gibt aber durchaus bis 16 MB Speicher, ab 2 MB oft nur noch in BGA. Spaß macht das als Hobbyiest nicht, und mit dem STM32F4
for STM32F4xx devices, * and is generated by the clock configuration tool * stm32f4xx_Clock_Configuration_V1.0.1.xls * * 1. This file provides two functions and one global variable to be called from * user application
for STM32F4xx devices, * and is generated by the clock configuration tool * stm32f4xx_Clock_Configuration_V1.0.1.xls * * 1. This file provides two functions and one global variable to be called from * user application
#include <stdio.h> #include "stm32f4xx.h" #include "ws2812_stm32f4.h" #include "delay.h" // externally writable color data for all leds volatile uint32_t ws2812_framebuffer[WS2812_NR_LEDS]; // local buffer for timer/dma, one byte per
for STM32F4xx devices, * and is generated by the clock configuration tool * stm32f4xx_Clock_Configuration_V1.0.0.xls * * 1. This file provides two functions and one global variable to be called from * user application
for STM32F4xx devices, * and is generated by the clock configuration tool * stm32f4xx_Clock_Configuration_V1.0.0.xls * * 1. This file provides two functions and one global variable to be called from * user application
the STM32F4DISCOVERY, STM32F4DIS-BB, STM32F4DIS-CAM * and STM32F4DIS-LCD modules. ****************************************************************************** * @attention * * THE PRESENT FIRMWARE WHICH IS
stm32f407ig, based on an * example from the CMSIS packages of ARM. * 27.12.2012 mifi Tested with STM32F4-Discovery too. * 16.02.2013 mifi Align bss and heap too. ****************************************************************************/ /* Configure memory regions */ MEMORY { RAM (rwx) : ORIGIN =
* ****************************************************************************** * @file Project/STM32F4xx_StdPeriph_Templates/stm32f4xx_it.c * @author MCD Application Team * @version V1.5.0 * @date 06-March-2015 * @brief Main Interrupt Service Routines. * This file provides template for all exceptions
for STM32F4xx devices, * and is generated by the clock configuration tool * stm32f4xx_Clock_Configuration_V1.0.0.xls * * 1. This file provides two functions and one global variable to be called from * user application
/* File: startup_ARMCM4.S * Purpose: startup file for Cortex-M4 devices. Should use with * GCC for ARM Embedded Processors * Version: V1.3 * Date: 08 Feb 2012 * * Copyright (c) 2012, ARM Limited * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
for STM32F4xx devices, * and is generated by the clock configuration tool * stm32f4xx_Clock_Configuration_V1.1.0.xls * * 1. This file provides two functions and one global variable to be called from * user application
/* File: startup_ARMCM4.S * Purpose: startup file for Cortex-M4 devices. Should use with * GCC for ARM Embedded Processors * Version: V1.3 * Date: 08 Feb 2012 * * Copyright (c) 2012, ARM Limited * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
/* Blink Turns on an LED on for one second, then off for one second, repeatedly. Most Arduinos have an on-board LED you can control. On the Uno and Leonardo, it is attached to digital pin 13. If you're unsure what pin the on-board LED is connected to on your Arduino model, check the documentation at http://www.arduino.cc This example code is in the public domain. modified 8 May 2014 by Scott Fitzgerald */ #define REDLED PD12 // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin 13 as an output. pinMode(REDLED, OUTPUT); } // the loop function
for STM32F4xx devices, * and is generated by the clock configuration tool * stm32f4xx_Clock_Configuration_V1.0.1.xls * * 1. This file provides two functions and one global variable to be called from * user application
for STM32F4xx devices, * and is generated by the clock configuration tool * stm32f4xx_Clock_Configuration_V1.0.0.xls * * 1. This file provides two functions and one global variable to be called from * user application