Microcontrollers and processors
STM32F1
Discussions and practical resources mentioning STM32F1.
Discussions 93
- Porting Marlin to STM32.
youprint
Hi everybody i’m trying to compile the code on a Open103Z (STM32F103ZET) very close of 103RET but i’ve an issue during compilation : sketch\src\HAL\HAL_STM32F1\persistent_store_impl.cpp: In function 'bool HAL::PersistentStore::access_start()': sketch\src\HAL\H…
- Problems with regular simultaneous dual ADC conversion with DMA transfer
robca
…ated SPI files if you don’t use DMA mode. DMA can be enabled or disabled editing SdSpiSTM32F1.cpp, read the file to know what to modify. Is that info still correct? If not, might be worth updating the page
- RTC Libs.
hyperion
hi. I try calibrate RTC by this method. Cant found english manual for this. Only in Russian http://spec-project.ucoz.ru/index/kalib … m32f1/0-14 to calibrate i need record bit 1 to BKP_RTCCR_CCO backup register. example BKP->RTCCR |= BKP_RTCCR_CCO; i correc…
- Reading internal temperature sensor
ahull
… play with the internal temperature sensor, so I grabbed the example from ../hardware/STM32F1/2016.11.18/libraries/A_STM32_Examples/examples/General/InternalTempSensor/InternalTempSensor.ino .. but it fails to compile for the generic stm2f103 board with the fo…
- Recomendations for working components – TFT, OLED, ..
mrburnette
[68gt500 – Wed Nov 22, 2017 8:03 am] – <…> I know that is part of the challenge, but wouldn’t it be nice to have a list of proved & tested HW & corresponding libraries components all in one place? It sure would save a lot of time and frustration.…
- SD only partially works.
Vassilis
Today I found some time to test the default arduino SD library (SD) with my STM32F103CT8. At the first, It didn’t worked (at least to me). But after a few additional lines to the standard library it worked. Edit the file Sd2PinMap.h (arduino-1.6.4\libraries\SD…
- SPI + ISR + SPCR etc.
HexTank
… needed, the one with _currentSetting->dataSize is. diff -r hardware/Arduino_STM32/STM32F1/libraries/SPI/src/SPI.cpp hardware_2/Arduino_STM32/STM32F1/libraries/SPI/src/SPI.cpp 145c145 < uint32 flags = ((_currentSetting->bitOrder == MSBFIRST ? SPI_FRAM…
- SPI DMA new functions
stevestrong
In this case this line should be removed/commented out.
- SPI interface freezes within the DMA ISR – [SOLVED] –
ahull
…ory as the corresponding vector_table.S. For example, for Maple, the file is libmaple/stm32f1/performance/isrs.S. These aren’t complicated; read the source to see how they work. 4. Adding your own interrupt handlers ————————————- When adding an interrupt handl…
- SPI on F4
…me what are the differences Very Happy i noted the following as 1 of the difference: STM32F1 RM0008 p710 25.3.3 Configuring the SPI in master mode 25.3.3 Configuring the SPI in master mode Pro…
- SSD1306 OLED problems
gigabyte091
…32 I2C example, here is compiler output C:\Program Files (x86)\Arduino\hardware\STM32\STM32F1\libraries\Adafruit_SSD1306\Adafruit_SSD1306_STM32.cpp: In member function 'virtual void Adafruit_SSD1306::drawPixel(int16_t, int16_t, uint16_t)': C:\Program Files (x8…
- STM32F030F4P6 using Arduino IDE
mrburnette
Arye: A general overview of upload capability: http://wiki.stm32duino.com/index.php?ti … g_a_sketch At present, the Blue Pill is the most common board. I far prefer a newbie with STM32 clones to purchase the Maple Mini and branch-out as familiarity sets in. Bu…
- STM32F103 BPSK
…dulate the phase of each pulse (10-30 pulses max). Do you think it’s possible with a STM32F1 ? I saw this project where it’s generating several king of signal but it’s working at lower frequenc…
- STM32F103C8 & TFT (ili9325)
Версия от 2020-05-07stm32user Thu Nov 26, 2015 1:07 pm Stm32f103c8 Mini Board ili9325 2.4” TFT (arduino uno compotible) HI How do I program with these two products arduino ide thanks! madias Thu Nov 26, 2015 11:41 pm I’m sure you can use the UTFT library for t…
- STM32F103C8T6 extreme low power consumption (frequency, periphery)
ag123
the main trouble with systick is *it keeps the mcu awake* the systick interrupt mainly updates systick_uptime_millis https://github.com/rogerclarkmelbourne/ … tick.c#L84 i think this is used by the functions millis(), micros(), and you may be caught off guard …
- STM32F303CC on Cheap Mini Dev Board: Support for SMT32F3
arpruss
… What tool did you use for this? Does the stm32f3 use the same serial protocol as the stm32f1? I did a transplant myself just now, but the STM Flash Demonstrator doesn’t recognize the patient.
- STM32F4 Discovery
ChrisMicro
Using Roger’s repository, you can simply copy the Wire library from STM32F1 into STM32F4, or even create a symbolic link. Thank you very much. That’s a good hint. I wonder why Roger is not copying the library itself in the repository. My goal is to use the cod…
- STM32F4 upload questions
…ards – with STM32F103RB (Olimexino-STM32) and with STM32F407ZG (STM32-E407). For the STM32F1 board I follow these instructions and I managed to make it work. I uploaded the bootloader. After t…
- SdFat with support for long filenames
…pport for long filenames WereCatf Sun Apr 24, 2016 8:28 am Greiman added support for STM32F1 in his still-in-beta version of SdFat at The library supports long filenames and all such fancy stu…
- SoftPWM via DMA and no CPU cycles
victor_pv
… 2 ms. What do you mean that the classic PWM is analog and slow? are you referring to STM32F1 or something else? He refers to a standard used in RC systems since sixties – a channel “pwm” period 20ms (50Hz), with active “pwm” pulse length 1-2ms where 1500us is…
