Spark Logic

Microcontrollers and processors

STM32F1

Discussions and practical resources mentioning STM32F1.

Discussions 93

  1. Some pins not usable when using ST-Link ?

    stevestrong

    …ostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_generic_stm32f103c -DVECT_TAB_ADDR=0x8002000 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10612 -DARDUINO_GENERIC_STM32F103C -DARDUINO_ARCH_ST…
  2. Super Simple RTC

    … Simple RTC neo2121 Mon Aug 22, 2016 9:28 pm I’m building a smart watch based on the STM32F1 and I got to the RTC part. For this I need to use the RTC built into the STM. .. The full discussio…
  3. UECIDE with Roger’s core and latest gcc 7

    Pito

    …r.txt files.. As an UECIDE beginner I tried to add a new Maple Mini1 board, and a new stm32f1A core – and it was easy (sure, I asked Matt for a hint outside this forum) – I made copies of the Maple Mini and stm32f1 folders (called the Maple Mini1 and stm32f1A)…
  4. USB Composite (HID / MIDI / Mass Storage) library

    arpruss

    I’ve made major revisions to the library to save flash and RAM. Previously, there were lots of convenience instances like BootKeyboard and USBHID defined. In the new version, the only convenience object is USBComposite. Everything else needs to be explicitly i…
  5. USBComposite, Some help making a gaming HID…

    BennehBoy

    …in sub D connector now #include "USBComposite.h" // https://github.com/arpruss/USBHID_stm32f1 #define LED_BUILTIN PA1 // change to match your board ; PB12 for some black pills ; PC13 for blue/red pill const uint32 leftSwitch = PA7; const uint32 rightSwitch = P…
  6. USBSerial and Serial Terminal

    david.prentice

    I edited the C:\Users\David\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2017.3.26\boards.txt When I look at Device Manager, I see “Teensy USB Serial (COM28)” on my Win7-32 Laptop When I look at Tools->Port in the IDE, I see “COM28 (Maple Mi…
  7. Using Arduino for STM32 with Visual Studio 2013

    RogerClark

    …location visual micro expected it to be, but I now get Compiling ‘Test1’ for ‘Generic STM32F103C series’ stm32.h:255:2: error: #error “Bad STM32F1 configuration. Check STM32F1 <series\stm32.h> header.” stm32.h:85:2: error: #error “Bad STM32F1 configurati…
  8. Value Line Discovery Board

    Phisatho

    …ow I am not able to compile. Error message: “C:\arduino-1.6.12\hardware\Arduino_STM32\STM32F1\cores\maple/boards.h:39:25: fatal error: board/board.h: No such file or directory” I am stumped.
  9. W5500 library is (finally) ported

    …ue Aug 18, 2015 1:43 pm I ported the new W5500 Ethernet controller for using it with STM32F1 series. Actually, the new library will replace the old Ethernet_STM .. The full discussion was unav…
  10. [Completed] CAN for libemaple + F4

    I’m trying to get phonog’s HardwareCAN library to work with F4 libmaple. Here’s the original code: https://github.com/Phonog/Arduino_STM32 … areCAN/src I’ve added RCC_CAN into rccF4.h/rccF4.c [RCC_CAN] = { .clk_domain = APB1, .line_num = 25 }, and also changed…
  11. [PORTED] TaskScheduler

    …ying nudging) added support for the little blue pill. v3.0.2: 2018-11-11: Support for STM32F1 boards (including IDLE Sleep) I personally use OOP option almost exclusively, and the idle sleep functionality is just free real estate ! Just thought I’d share, espe…
  12. [SOLVED] VCO

    ted

    …dCrystal.h" Used: C:\Users\OWNER\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2018.1.3\libraries\LiquidCrystal Not used: C:\Users\OWNER\Documents\Arduino\libraries\Newliquidcrystal_1.3.5 Not used: C:\Users\OWNER\Desktop\183\arduino-1.8.3\librar…
  13. [SOLVED] Any way to improve ILI9486 SPI draw speed ? STM32F1

    Archived excerpt [SOLVED] Any way to improve ILI9486 SPI draw speed ? STM32F1 sajuukKahr Sun Feb 19, 2017 9:31 pm Hello all, I am building a project based on a STM32F1 running a…
  14. [SOLVED] Error with i2cdev library

    … in i2cdevlib In file included from /home/icelon/midro/hardware/Arduino_STM32-master/ STM32F1 /cores/maple/wirish.h:60:0, from /home/icelon/midro/hardware/Arduino_STM32-master/STM32F1/cores/mapl…
  15. [SOLVED] ILI9431 problem

    lapgoch

    …o box\demo\demo.ino:29:0: C:\arduino-1.6.9\portable\sketchbook\hardware\Arduino_STM32\STM32F1\libraries\Adafruit_ILI9341_STM/Adafruit_ILI9341_STM.h: In member function 'void Adafruit_ILI9341_STM::spiwrite16(uint16_t)': C:\arduino-1.6.9\portable\sketchbook\hard…
  16. [SOLVED] SPI slave with DMA

    stevestrong

    Ups, sorry, it seems that it is only in my repo here: https://github.com/stevstrong/Arduino_S … #L541-L543 You could import that part in your files. I just made a PR: https://github.com/rogerclarkmelbourne/ … 2/pull/534
  17. [SOLVED] STM32 in Sublime 3 & multiple libs

    Pararera

    …braries\Wire Not used: C:\Users\silvi\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\WireSlave Not used: C:\Users\silvi\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\Wire exit status 1 Error compiling for board Generic ST…
  18. [SOLVED] STM32F4 +RF24 library problem

    klerone

    …I.begin() in set up. Another thing I noticed is you’re using SPIClass(3) which on the STM32F1 that I’m using shares the pins with JTAG debug, to get round this you will need to put disableDebugPorts() in setup. Not sure if this effects the F4 but it wouldn’t h…
  19. [SOLVED] Sloeber and float sprintf: doesn’t work

    luca_stm32

    …. In file platform.txt that is under /home/luca/arduino/hardware/Arduino_STM32-master/STM32F1/platform.txt I added: name=STM32 Boards (STM32duino.com) version=0.1.2 compiler.warning_flags=-w -DDEBUG_LEVEL=DEBUG_NONE compiler.warning_flags.none=-w -DDEBUG_LEVEL…
  20. [SOLVED] Trying to use simple MBI5030 library

    stevestrong

    Have a look here: https://github.com/rogerclarkmelbourne/ … h#L43-L100