Which variant of STM32 on PlatformIO with UP Xtreme
Hi,
I'm trying to use the HardwareTimer Library by stm32duino on the integrated STM32 of the UpBoard Xtreme i7, to generate a PWM signal. Unfortunately the proposed board variant to use in PlatformIO is a bluepill board (https://github.com/up-board/up-communit ... Xtreme_MCU) which does not seem to be correct, as they have different external oscillator frequencies and therefore the HardwareTimer Library outputs a PWM signal with a wrong frequency e.g. duty cycle. To fix this I would have to define a new board variant according to this discussion here (https://www.stm32duino.com/viewtopic.php?f=7&t=1515&p=9724#p9724) . I was wondering if something like this already exists and if someone had the same issue before? Or if somebody more experienced could explain to me how to exactly define a new board variant.
Thanks in advance!
Matthias
Answers
-
Hello @mrubio
Sorry for the problem you have encountered.
There was a mistake in the documentation (where early version of the board used a 12MHz oscillator), but we have now updated the tutorial to use the right settings: https://github.com/up-board/up-community/wiki/Pinout_Xtreme_MCU#platformio-projects
You won't need a variant as it is the same as a Bluepill
Please let me know if it works for you.
Tagged
Categories
- All Categories
- 63 Announcements & News
- 48 Product News - New Product/Product Change Notice/ End-of-life
- 96 Welcome Developers!
- 45 Unboxing & Project Sharing
- 22 Tech Updates
- 3.4K UP Products
- 15 UP 7000
- 1 UP Squared i12
- 11 UP Xtreme i12
- 13 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 23 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 56 UP Squared Pro
- 136 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 264 Starter Kits & Peripheral