Search found 1682 matches

by ag123
Tue May 14, 2024 6:12 am
Forum: General discussion
Topic: STM32F103CB ‘Sleepy mode’ and ‘Wake up’ function
Replies: 2
Views: 245

Re: STM32F103CB ‘Sleepy mode’ and ‘Wake up’ function

library is here https://github.com/stm32duino/STM32LowPower you need to use stm core for that low power is not for novices, to do low power, the simplest way is to consult the reference manual and figure out how to do that from there. in some low power modes, you need to trigger a reset after wake u...
by ag123
Tue May 07, 2024 1:11 am
Forum: General discussion
Topic: Using DMA to vary PWM duty cycle
Replies: 7
Views: 2486

Re: Using DMA to vary PWM duty cycle

Code: Select all

  timer_dma_enable_req(dev1, cc_channel1);
maybe it has to do with choosing the correct channel on the timer itself?
by ag123
Sat May 04, 2024 3:15 pm
Forum: General discussion
Topic: Synthesizer DSP STM32 resources
Replies: 7
Views: 4112

Re: Synthesizer DSP STM32 resources

for synthesizer codes I'd guess it'd take quite a lot of c/c++ codes etc to synthesize https://www.google.com/search?q=software+synthesizer+c%2B%2B if you're keen on midi there are things like gus patches the soundfonts files can easily be like > 100 megs https://www.google.com/search?q=midi+syn+gus...
by ag123
Sat May 04, 2024 2:09 pm
Forum: General discussion
Topic: Synthesizer DSP STM32 resources
Replies: 7
Views: 4112

Re: Synthesizer DSP STM32 resources

Unfortunately, F411 do not have DACs. https://www.st.com/en/microcontrollers-microprocessors/stm32f411ce.html Hence, for this chip PWM is about the only way to do some DAC. stm32g431, stm32f407, stm32f405 etc has DAC, check the specs https://www.st.com/en/microcontrollers-microprocessors/stm32g4x1.h...
by ag123
Wed May 01, 2024 3:40 pm
Forum: USB bootloader
Topic: Flash and Serial usb f103
Replies: 7
Views: 1851

Re: Flash and Serial usb f103

if you are using stm32f103c8 blue pill you need to choose generic_boot20_pc13.bin https://github.com/rogerclarkmelbourne/STM32duino-bootloader/blob/master/binaries/generic_boot20_pc13.bin and flash that using st-link (or uart) if you are in windows use stm32cube programmer to flash that boot loader ...
by ag123
Tue Apr 30, 2024 3:34 pm
Forum: USB bootloader
Topic: Flash and Serial usb f103
Replies: 7
Views: 1851

Re: Flash and Serial usb f103

for stm32f103 you need either a st-link v2 https://www.adafruit.com/product/2548 https://www.st.com/en/development-tools/st-link-v2.html https://octopart.com/search?q=st-link+v2 or a usb-uart (3.3v) dongle for a usb-uart you need to set boot0 to program it alternatively, get a stm32f401/f411 (e.g. 4...
by ag123
Mon Apr 29, 2024 7:31 am
Forum: General discussion
Topic: Stumbling at the first connection...
Replies: 7
Views: 3242

Re: Stumbling at the first connection...

for this maple DFU boot loader, after you press reset, it should blink fast for like 6 times, you need to click upload or run dfu-util within about 4-5 seconds when it blinks there is a 'perpetual' mode, and I think the setting is 'boot1' jumper this is from the good old days http://static.leaflabs....
by ag123
Mon Apr 29, 2024 5:21 am
Forum: Libraries & Hardware
Topic: Adafruit Nexopixel Library not working...
Replies: 8
Views: 3599

Re: Adafruit Nexopixel Library not working...

I think there is one more trouble, I think neopixels are driven at 5 V https://cdn-shop.adafruit.com/datasheets/WS2812B.pdf it may take a 74LVC1G17 to interface it https://www.nexperia.com/products/analog-logic-ics/logic/buffers-inverters-transceivers/schmitt-trigger-ics/series/74LVC1G17.html https:...
by ag123
Mon Apr 29, 2024 4:42 am
Forum: General discussion
Topic: STM32 Pinout Polarity
Replies: 5
Views: 2519

Re: STM32 Pinout Polarity

one should read datasheets e.g. https://www.st.com/resource/en/datasheet/stm32f103c8.pdf 5.2 Absolute maximum ratings Output current sunk by any I/O and control pin 25 mA Output current source by any I/Os and control pin − 25 mA in fact it should be much less than this like 5 mA max, at 20 mA you ri...
by ag123
Sun Apr 28, 2024 2:20 pm
Forum: General discussion
Topic: Stumbling at the first connection...
Replies: 7
Views: 3242

Re: Stumbling at the first connection...

custom bootloaders are 3rd party developed back in the 'old days' there is leaflabs maple, that is the first popular *duino running on stm32f103, the old forum which hosted this made improvements originally hosted by 'roger' https://github.com/rogerclarkmelbourne/Arduino_STM32 https://github.com/rog...

Go to advanced search