Search found 1684 matches

by ag123
Thu May 16, 2024 6:57 am
Forum: General discussion
Topic: Is the 'EEPROM' library of 'STM32F103CB' safe?
Replies: 1
Views: 59

Re: Is the 'EEPROM' library of 'STM32F103CB' safe?

stm32f103cb has 128k flash, stm32f103c8 has 64k flash. EEProm library use that flash that is shared with program codes to store your data. check that storing data will not erase part of your program. note that normally, erasing a full block at the 'back' is 1/2 of the flash so for stm32f103cb it can...
by ag123
Wed May 15, 2024 6:21 am
Forum: General discussion
Topic: STM32F103CB ‘Sleepy mode’ and ‘Wake up’ function
Replies: 5
Views: 554

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

that is designed for Arduino_Core_STM32 I've not used it prior, hence you would need to review the examples, codes yourself. beyond the library, review the reference manual for your soc https://www.st.com/resource/en/reference_manual/rm0008-stm32f101xx-stm32f102xx-stm32f103xx-stm32f105xx-and-stm32f1...
by ag123
Tue May 14, 2024 6:12 am
Forum: General discussion
Topic: STM32F103CB ‘Sleepy mode’ and ‘Wake up’ function
Replies: 5
Views: 554

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: 2561

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: 4126

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: 4126

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: 1906

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: 1906

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: 3394

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: 3758

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:...

Go to advanced search