-
Thread
Getting PWM counter value STM8S003K3
hello, MCU: STM8S003K3 In my application I using 16MHz of system clock and l create a PWM (in this case PWM_D) of 200Hz generated by 4MHz clock. Therefor my timer's counter value is (4M/200=) 20,000. Also, l have
-
Article
STM32 Eclipse Installation
OpenOCD und LD Linker-Datei src: die eigenen Quellcodes makefile Das Projekt wurde geschrieben für den STM32F103RC (256K Flash/48K RAM), läuft aber auch mit einem STM32F103xB da der Stack-Pointer auf 20K initialisiert wird. Details stehen in der Datei "src/stm32f10x_vector.c", Zeile 29,30: Damit wird der
Dennoch hilft es die Peripherie einfacher planen zu können. Weblinks, Foren, Communities. Artikel STM32 Artikel STM32 CooCox Installation Thread zu diesem Thema
-
Thread
STM32F429 DMA2D bilinear bitmap resize
Hello everyone, I wrote a simple but powerful DMA2D app to resize a bitmap using bilinear interpolation using very low CPU resource. A demo video is on https://www.youtube.com/watch?v=TgTxBIYUuVM and the source code is available on http://www.mediafire.com/download/w25kovq8umnmou0/DMA2D_bilinear_resize.rar Enjoy !!!
-
Thread
STM32F0 Discovery Port C Pin 1 and Pin 2 problem
Hello Folks, I tear my hair out over this. I have a STM32F0 Discovery board here and i would like to get all 16 bits of PORTC high. Most of the pins do what i expect them to do, but PC1 and PC2 dont. They stay low out of what ever reason. I am a bloody newbie
I am chewing on this problem already since a week and ready to give up on it. [c] #include "stm32f0xx.h" #include "stm32f0xx_rcc.h" #include <stm32f0xx_conf.h> #include "stm32f0xx_gpio.h" #include "diag/Trace.h" //#include <stdio.h> int main() { GPIO_InitTypeDef GPIO_InitDef;
-
Thread
Arm STM32F0 Discovery PORT C Problem
Hallo Gurus, Ich versuche mein Glueck mit dem STM32F0 Discovery board. Fuer ein project brauche ich den Port C die unteren 8 bits. Aus irgendwelchen Gruenden kann ich die bits PC1 and PC2 nicht zum gehen bekommen. Alle anderen Bits arbeiten so wie
-
Thread
Possible wrong explanation on "STM Discovery as Black Magic Probe" page
Hi, There is a tutorial how to use the STM32 Discovery boards as Back Magic probes, and one section refers to why the DFU does not work on the STM32F429I board. http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe#F429Discovery_board_doesn.27t_enter_System_DFU_bootloader I believe the explanation is wrong, and the reason it does not work on the STM32F429I discovery board is that the USB OTG wired out is the USB OTG2 peripheral in FS mode. DFU supports the only the OTG1 peripheral, see STM32 AN2606, section 18.1.1, table 38. PA11, PA12 pins used
-
Thread
STM32F4 PWM outputs do not have the same frequency after updated
Hello. I have a problem. I'm using Kit STM32F407VG Discovery to control frequency of FullBridge LLC Converter. I use 50kHz Interrupt TIM2 and CH1,1N,3,3N PWM TIM1. The PWM frequency band is 80-140kHz. When updating new frequency (TIM1->ARR)
-
Article
Temperaturmessungs Überblick
spielt die Rechenzeit bei einem Thermometer in vielen Fällen sowieso keine große Rolle. Auf einem STM32 mit 72MHz Taktfrequenz dauert die faktorisierte Polynomial Berechnung nur 14uS. Natürlich dauert das auf einem 8-Bit MCU schon etwas länger. PTCs Bei PTCs wie z. B. beim KTY81, kann man durch einen
-
Thread
[HOW TO] Interface an SD XC 64GB Card Class 10 Locked
FAT32 filesystem you could look into FatFS by Elm Chan, which is available to AVR controllers and the STM32 series of MC. Its probably easy to port to other architectures: http://elm-chan.org/fsw/ff/00index_e.html
-
Thread
AVR Transistortester
can optionally set 5v on GPIO, which iirc would be of benefit. I saw other project that use the STM32 to lesser effect and seeing that the Flipper Zero uses the STM32WB55, I was curious if that could be leveraged too. welcoming any input, even if it's confirming this as a foolish idea.
-
Article
STM32F10x Standard Peripherals Library
=Allgemeines= Die STM32F10x Standard Peripherals Library ist eine umfangreiche komfortable C-Bibliothek, die den Zugriff auf alle Funktionen der STM32F10x Familie erlaubt. Dabei ist für die verschiedenen Peripheriekomponenten
ist hier als "STSW-STM32054" bezeichnet Nach der Auswahl kann diese über den Download-Button in einem *.zip-Archiv heruntergeladen werden Alternativ ist hier ein Direktlink. In dem Archiv ist die STM32F10x Standard Peripherals
-
Article
Beschleunigungssensor
Stromschnittstelle). Beispieltypen. Analog (d.h Auswertung über ADC) Freescale MMA7260 (3,3V, Low G, 3 Achsen) STM LIS302SG (3,3V, Low G, 3 Achsen) Colibrys VS9000.d (high-end 3D Mems Sensor) VTI SCA610 Digital (d.h spricht I2C, SPI) Freescale MMA7455 (3,3V, Low G, 3 Achsen) STM LIS302DL (2.16-3.6V, Low G, 3 Achsen
-
Article
Datei:3pcs.jpg
Auf dem STM32F103C8T6 Entwickler Board sind BOOT0 und BOOT1 vertauscht beschriftet. Auf dem roten ST-Link Emulator ist das Plastik etwas aufgeschnitten. Auf dem blauen ST-Link Emulator sind CLK und TCK sowie DIO
-
Thread
unrecognised emulation mode: cpu=cortex-m3
I have attached the makefile that I use to compile compile my first simple code (main.c) for the stm32VL board. My operating system is OS X Maverics and I use Yagarto with STLINK. I attached the bash_profile file to show how the Yagarto toolchain is set. The main.c file gets operated first by the local
this? Demo Ruslan$ make /Users/Ruslan/yagarto/yagarto-4.7.2/bin/arm-none-eabi-ld -T/Users/Ruslan/STM32-Template/stm32f100.ld -mthumb -mcpu=cortex-m3 -o Demo.elf startup_stm32f10x.o system_stm32f10x.o main.o /Users/Ruslan/yagarto/yagarto-4.7.2/bin/arm-none-eabi-ld: unrecognised emulation mode: cpu
-
Thread
STM32 GDB on Mac OS
(GPIOx=0xa, PortVal=<optimized out>) at /l/arm/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c:423 423 /l/arm/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c: No such
with fixing this issue. Could someone advice on how to address this problem? I started by loading the STM32VL library into my project folder STM32 Template but the error persists. I don't understand why gdb is looking for thestm32f10x_gpio.c since the .elf file is already a compiled and ready to be loaded
-
Article
STM32F103C8T6 Boards
Hauptsächlich aus China gibt es preiswerte STM32F103C8T6 Boards in 600 mil und 1300 mil Breite. Pinbelegung. Nachfolgend die Pinbelegung beider Versionen: Pin Name 600 mil 1300 mil Type POR-Fct Default Remap 1 VBAT 1 5 S VBAT 2 PC13-TAMPER- RTC(
-
Article
Datei:STM32BreakoutBoardBottom.png
Rückseite des STM32 Breakout Board v1.1
-
Article
Datei:STM32BreakoutBoardTop.png
Vorderseite des STM32 Breakout Board v1.1
-
Article
Benutzer:Sengp
How-to manual - Installing a toolchain for Cortex-M3/STM32 on GNU/Linux
-
Thread
STM32F051 I2C slave problem
Hi, I have in a STM32F051k project a problem with the I2C as Slave. I send from an AVR: Start/address Wr/command/repStart/address RD/ ... read information / Stop) The read information is command/count/data. Exact
-
Article
Benutzer:Mtothea
// Mein erstes Mainfile // Mit der conf-Datei beherrschen und steuern wir // die gesammte include "stm32f4xx_conf.h" include "stm32f4xx.h" void RCC_init(void){ // ueber die RCC werden die diversen Peripherie-Einheiten eingeschaltet // (durch konfiguration der RCC) RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD
Nasebohren } } Systick. //Mit der CONF-Datei beherrschen und steuern wir //die ganze FW-Lib include "stm32f4xx_conf.h" //die Includes, damit wir und nichtmehr //irgedwelche Adressen zusammensuchen muessen include "stm32f4xx.h" void RCC_initialisieren(void){ //ueber die RCC werden die diversen Peripherie-Einheiten
-
Article
Datenuebertragung-STM32F4
Datenübertragung über 4 Datenleitungen. Zwei STM32F4 Discovery Boards sollen durch 4 parallele Datenleitungen und eine Steuerleitung, ähnlich der LCD-Implementierung, miteinander kommunizieren. An einem Board werden über eine PS/2 Tastatur Zeichen
-
Thread
SPI communication between two microcontrollers
Hello everyone, I am trying to make communication between an STM32F3 microcontroller and a custom board baser on PIC microcontroller using SPI protocol. The STM32F3 acts as a Slave and the custom board as a Master. The clock is set to 10 MHz. I’m using NSS hardware
-
Thread
nsec-resolution time measurement with MSP430 or alternatives ?
While the STM32F334 has a timer with 217 ps resolution, it is a pity that this resolution is only for output, not for capture, as the poster asked. The Infineon Cortex Parts also have sub-nanosecond timers, but
capture. And datasheet download still requires a NDA! You can get about 5 ns resolution with the STM32F405 and bigger parts, running the timer at 168/180 MHz or LPC43xx at 204 MHz.
-
Thread
USART1 issue with a STM32F030R8 Nucleo Board
MAIN_H /* Includes ------------------------------------------------------------------*/ #include "stm32f0xx.h" #include "stm32f0xx_rcc.h" #include "stm32f0xx_it.h" #include "stm32f0xx_gpio.h" #include "stm32f0xx_rtc.h" #include "stm32f0xx_nucleo.h" #include "stm32f0xx_conf.h" #include "stm32f0xx_usart.h
Hey, Benoit wrote in post #3658640: > GPIO_PinAFConfig(GPIOA, GPIO_Pin_2, GPIO_AF_0); STM32F030R8 hasn't mapped USART1 on PA2, please read the datasheet page 31. USART1 is available on STM32F030x6 and STM32F030x4 devices only. Benoit wrote in post #3658640: > GPIO_PinAFConfig(GPIOA,
-
Thread
[Solved] STM32F0 Discovery Board: Connect faild, check config and cable connection
Hi I bougth the Stm32F0 Discovery to get into microcontrollers. I have only knowlegth about c# and java programming. I followed this tutorial (video http://www.youtube.com/watch?v=nP6TR6NAZTQ) Downlaoding coocox
HI, I am new to stm I am using MB1034B BOARD this error "Connect faild, check config and cable connection" I had tried all possible solution but its still not working pls somebody help
-
Thread
SimpleSerialTerminal
during debugging of baud rate difficulties in a timer controlled bitbanging software serial of an STM32F103RBT ARM Cortex M3. If you wish a line feed carriage return in the monitor, your MIC has to send the #13 #10 chars. @Moby: which is the reason for better having a more condensed representation
-
Thread
Still missing crt0.o
I had the same problem wit trying to compile for STM32F4xx (Cortex M4). I ditched Yagarto and switched to using GNU Tools ARM Embedded - toolchain (4.8_2014q2): https://launchpad.net/gcc-arm-embedded Seems to work for me.
-
Thread
STM32F1xx EXTI problem to trigger interrupt by SWIER
Hallo, i have the following problem to solve: an interrupt should be triggered when the frame-signal of a SPI-interface changes from 0 to 1. If, at the time of enabling this interrupt, the frame-signal is already high, the interrupt should be triggered by software instead of the rising edge. I am using int-structures representing the register-bits of EXTI and other peripherals mapped to the according places within the bit-banding-area of the micro. These are name XXXbbbits. I am also using bit-structures which are representing the structures of their according registers to manipulate two
-
Thread
STM8S Discovery board, Code::Blocks and SDCC
stm8 code. The installation procedure and some supporting files are included in the attached zip file. In lack of a proper license agreement for STM's "Standard Peripheral Library" I cannot freely publish
This blog entry describes in detail how to configure Code::Blocks to run with SDCC and STM's toolchain: http://blog.podstuff.de/setup-codeblocks-for-stm8s-discovery/
-
Thread
STM32F4 IMPRECISERR, trouble debugging
First off I did make a Debug Fault Handler, this is what I am getting r0 = 1200 0x000004B0 r1 = 0 0x00000000 r2 = 1200 0x000004B0 r3 = 1 0x00000001 r12 = 0 0x00000000 lr = 134228401 0x080029B1 pc = 134228410 0x080029BA psr = 553648128 0x21000000 OST = 536881104 0x200027D0 HFSR = 1073741824 0x40000000 CFSR = 1024 0x00000400 Showing BUSFAULT IMPRECISERR DFSR = 0 0x00000000 MMFAR = 3758157108 0xE000ED34 BFAR = 3758157112 0xE000ED38 AFSR = 0 0x00000000 PSP = 536881200 0x20002830 SHCSR = 0 0x00000000
-
Article
LPC1xxx für Umsteiger
diesem Artikel wird die 32-Bit Familie LPC1xxx von LPC kurz betrachtet. Die 32-Bit Controller der STM32-Familie werden in den Betrag STM32_für_Einsteiger und STM32 sehr schön vorgestellt, und sehr rudimentär mit dem LPC1xxx verglichen. Die aktuellen 32-Bit Controller (zumindest von LPC) kostet weniger
Installationsanleitung zur IDE LPC1xxx Codebase LPDXpresso Download (Kostenlos mit Debugger) LPCXpresso Homepage STM32 für Einsteiger
-
Thread
STM32F0 ADC input noise investigations
ADC input voltage stable during this time. References ---------- [1]: RM0091: Reference Manual, STM32F05xxx/06xxx advanced ARM-based 32-bit MCUs (http://www.st.com/web/en/resource/technical/document/reference_manual/DM00031936.pdf) [2] STM32F051x4 STM32F051x6 STM32F051x8: Data sheet (http://www.st.com/web/en/resource/technical/document/datasheet/DM00039193.pdf) [3] UM1525: User Manual, STM32F0DISCOVERY, Discovery kit for STM32 F0 microcontrollers (http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00050135.pdf)
-
Thread
ARM Integrator/CP and general portability
actual, instead of a virtual, prototype with a lean, cheap and also modern eval board such as the STM32F4 Discovery Board (Cortex-M4F, ARMv7M, ~15€) while encapsulating the hardware accesses into an exchangeable hardware access layer? This allows you to use the modern ARMv7M architecture, gets rid of
-
Thread
STM32F429 Discovery Sega Master System emulator
Hi all, To test the new ST discovery kit I made a minimal SMS emulator running on it. The code is released as Open Source and it is avaliable on http://www.codeforge.com/article/218395 A small demo video is on http://www.youtube.com/watch?v=qtNLctyoxU8 The project is developed using Keil MDK (evaluation version) so everyone can test and enhance it.