Figgering Out the Differences
Posted: Sat Mar 21, 2020 6:45 pm
Hi Team
I'm having great success using the Arduino IDE and STM32 boards from various sources; however one large bit of total confusion remains. I'm hoping very much that someone far cleverer than I can explain to me in a simple way.
There are two different board manager entries that include the STM32F103C "Blue Pill" board:
http://dan.drown.org/stm32duino/package ... index.json
https://github.com/stm32duino/BoardMana ... index.json
It seems I can use the HID bootloader from here:
https://github.com/Serasidis/STM32_HID_ ... r/releases
with the first set of board selections, but not the second. I have also tried a larger bootloader file I downloaded from the description of this YouTube video:
https://youtu.be/Tm7IWQLrKYs
This works with the "Generic STM32F103C series" from the board manager entries i.e. the second pacakge listed above.
I'm totally confused as to the differences between them, why the bootloaders are specific to the baord selection, and most importantly why some example code I have will only compile with one selection and not the other.
Can anyone explain to me?
Most recently I was trying to use a touchscreen which was on the SPI2 interface.
The example code I have does this:
Which will only compile on one of the two board selections.
I'm very confused.
Mark
Mark
G0MGX
I'm having great success using the Arduino IDE and STM32 boards from various sources; however one large bit of total confusion remains. I'm hoping very much that someone far cleverer than I can explain to me in a simple way.
There are two different board manager entries that include the STM32F103C "Blue Pill" board:
http://dan.drown.org/stm32duino/package ... index.json
https://github.com/stm32duino/BoardMana ... index.json
It seems I can use the HID bootloader from here:
https://github.com/Serasidis/STM32_HID_ ... r/releases
with the first set of board selections, but not the second. I have also tried a larger bootloader file I downloaded from the description of this YouTube video:
https://youtu.be/Tm7IWQLrKYs
This works with the "Generic STM32F103C series" from the board manager entries i.e. the second pacakge listed above.
I'm totally confused as to the differences between them, why the bootloaders are specific to the baord selection, and most importantly why some example code I have will only compile with one selection and not the other.
Can anyone explain to me?
Most recently I was trying to use a touchscreen which was on the SPI2 interface.
The example code I have does this:
Code: Select all
// Create an SPI instance on SPI2 port.
// this is for the touch screen functionality
SPIClass mySPI(2);
// now declare the touchsereen
// Chip Select pin, SPI port
XPT2046_touch ts(CS_PIN, mySPI);
I'm very confused.
Mark
Mark
G0MGX