Search found 1657 matches
- Mon Jun 13, 2022 2:42 pm
- Forum: General discussion
- Topic: STM32F401 and Servo
- Replies: 4
- Views: 1354
Re: STM32F401 and Servo
for stm32, the 5v input need to goto the LDO, normally it is the 5v pin on the board. look in the datasheet https://www.st.com/en/microcontrollers-microprocessors/stm32f401cc.html some pins are 5v tolerant, various are not e.g. the ADC pins. to be on the safer side you may like to use a buffer such ...
- Sun Jun 12, 2022 2:11 pm
- Forum: General discussion
- Topic: timer source from other timer ?
- Replies: 16
- Views: 3762
Re: timer source from other timer ?
for very long intervals/periods, say seconds to even hours, actually there is another way. for that you can use the standard hardware timer https://github.com/stm32duino/wiki/wiki/HardwareTimer-library the idea is this. you can attachInterrupt() and put your own function there. so that if the period...
- Sat Jun 11, 2022 3:35 pm
- Forum: General discussion
- Topic: timer source from other timer ?
- Replies: 16
- Views: 3762
Re: timer source from other timer ?
you can try playing with the prescaler https://github.com/stm32duino/wiki/wiki/HardwareTimer-library note that there are some dependencies, e.g. if you use uS or Hz for setOverflow(), the prescaler would likely be re-configured. for very long periods, the problem is you could either have the low per...
- Fri Jun 10, 2022 6:20 pm
- Forum: Code snippets
- Topic: HardwareTimer + PWM combined example
- Replies: 9
- Views: 14396
Re: HardwareTimer + PWM combined example
welcome, take a look at hardware timer https://github.com/stm32duino/wiki/wiki/HardwareTimer-library e.g. try this example https://github.com/stm32duino/STM32Examples/blob/main/examples/Peripherals/HardwareTimer/InputCapture/InputCapture.ino I've not really tested input capture on timer, but i think...
- Thu Jun 09, 2022 2:55 pm
- Forum: General discussion
- Topic: Nucleo F411RE stm32cubeProg not detect USB
- Replies: 9
- Views: 2072
Re: Nucleo F411RE stm32cubeProg not detect USB
think that'd goto the F411, likely independent of the st-link. But check the docs / schematics etc. for one thing, after you have checked in schematics that it is only going to f411, and you have soldered the crystal you can try to set boot0 on f411, then connect usb to pc. the pc should detect it a...
- Thu Jun 09, 2022 2:50 pm
- Forum: General discussion
- Topic: Nucleo F411RE stm32cubeProg not detect USB
- Replies: 9
- Views: 2072
Re: Nucleo F411RE stm32cubeProg not detect USB
I think Nucleos has a separate st-link chip (probably a stm32f103) on board, it isn't a boot loader, it is a full SWD programmer.
it is probably also the firmware that offers serial, and other 'boot loader' (mass storage?) features.
Note that i'm not sure, you'd need to check that in the manuals etc.
it is probably also the firmware that offers serial, and other 'boot loader' (mass storage?) features.
Note that i'm not sure, you'd need to check that in the manuals etc.
- Thu Jun 09, 2022 2:18 pm
- Forum: General discussion
- Topic: Nucleo F411RE stm32cubeProg not detect USB
- Replies: 9
- Views: 2072
Re: Nucleo F411RE stm32cubeProg not detect USB
I'm not sure about the electrical aspects, i.e. 12 mhz, 16 mhz may or may not work. So for that you'd need to check and test it separately. if that works to use a 12 mhz or 16 mhz crystal, the main thing is to setup the SystemClock_Config() in a variant for your board. you can take a look at that in...
- Thu Jun 09, 2022 5:35 am
- Forum: General discussion
- Topic: Multiple UART1 pins?
- Replies: 4
- Views: 2210
Re: Multiple UART1 pins?
Thanks. I found in the datasheet that PA9 and PA10 TX1 and RX1 fall under "alternate function" and PB6 and PB7 fall under "remapped". I don't understand the difference completely, but can I assume that normally, PA9 and PA10 will be used for serial and PB6 and PB7 are free to us...
- Wed Jun 08, 2022 2:34 pm
- Forum: General discussion
- Topic: Nucleo F411RE stm32cubeProg not detect USB
- Replies: 9
- Views: 2072
Re: Nucleo F411RE stm32cubeProg not detect USB
i think it may need something like this:
- solder that 8 mhz crystal
- check the manuals set the jumpers so that the Nucleo use the crystal as HSE.
- you would need to configure your board as like a custom board
you need to make a SystemClock_Config() that runs on the 8 mhz crystal
- solder that 8 mhz crystal
- check the manuals set the jumpers so that the Nucleo use the crystal as HSE.
- you would need to configure your board as like a custom board
you need to make a SystemClock_Config() that runs on the 8 mhz crystal
- Sun Jun 05, 2022 11:25 am
- Forum: USB bootloader
- Topic: Choosing a suitable bootloader for stm32f103rct6
- Replies: 2
- Views: 5552
Re: Choosing a suitable bootloader for stm32f103rct6
that old 'roger's bootloader' may work too.
https://github.com/rogerclarkmelbourne/ ... bootloader
you could try flashing a stock firmware from there. it is normally for stm32f103c8. But f103rc may work, no guarantees though.
https://github.com/rogerclarkmelbourne/ ... bootloader
you could try flashing a stock firmware from there. it is normally for stm32f103c8. But f103rc may work, no guarantees though.