found my own solution.
the problem with mapping new serial pins is a bit deeper than it presents itself initially in the source code.
hardware serial devices can only be remapped to particular predefined pins. In my case, USART1 > Serial1 is the device I want as it can be remapped from PA9/PA10 to ...
Search found 5 matches
- Wed Oct 14, 2020 5:25 am
- Forum: Maple & Maple mini etc
- Topic: Use pins PB6 PB7 for USART [solved]
- Replies: 2
- Views: 20278
- Wed Oct 14, 2020 2:23 am
- Forum: Maple & Maple mini etc
- Topic: Use pins PB6 PB7 for USART [solved]
- Replies: 2
- Views: 20278
Re: Problem with pin mapping
or is the pin number returned just the position in PIN_MAP?
- Wed Oct 14, 2020 1:46 am
- Forum: Maple & Maple mini etc
- Topic: Use pins PB6 PB7 for USART [solved]
- Replies: 2
- Views: 20278
Use pins PB6 PB7 for USART [solved]
Hello,
[edit: this might be the wrong thread for this question... sorry]
I've built a custom board with STM32F103C8 mcu and I'm trying to run hardware serial on PB6 And PB7, these are listed as alternative USART pins
I'm using the maple core, and the standard pc13 stm32duino bootloader
I ...
[edit: this might be the wrong thread for this question... sorry]
I've built a custom board with STM32F103C8 mcu and I'm trying to run hardware serial on PB6 And PB7, these are listed as alternative USART pins
I'm using the maple core, and the standard pc13 stm32duino bootloader
I ...
- Mon Jun 01, 2020 10:09 am
- Forum: USB bootloader
- Topic: recompiling bootloader for 16Mhz external clock
- Replies: 2
- Views: 36524
Re: recompiling bootloader for 16Mhz external clock
ok, solved it
I didnt have a boot1 breakout on my board, didn't think it was necessary...
It turns out the bootloader looks at PB2 (aka boot1) and it must have been floating, not pulled low.
but I did have PB4 next to a ground pin, so when that's configured as the buttonpin and tied to ground, it ...
I didnt have a boot1 breakout on my board, didn't think it was necessary...
It turns out the bootloader looks at PB2 (aka boot1) and it must have been floating, not pulled low.
but I did have PB4 next to a ground pin, so when that's configured as the buttonpin and tied to ground, it ...
- Mon Jun 01, 2020 7:29 am
- Forum: USB bootloader
- Topic: recompiling bootloader for 16Mhz external clock
- Replies: 2
- Views: 36524
recompiling bootloader for 16Mhz external clock
Hello!
I'm working on a custom board, one of my first after playing around with the same chip on a bluepill. The MCU is a STM32F103C8, it has LED on pin 13 and basically the same idea a a blue pill except instead of an 8Mhz crystal, I've got a 16Mhz crystal on the board. I think the next revision ...
I'm working on a custom board, one of my first after playing around with the same chip on a bluepill. The MCU is a STM32F103C8, it has LED on pin 13 and basically the same idea a a blue pill except instead of an 8Mhz crystal, I've got a 16Mhz crystal on the board. I think the next revision ...