Search found 1695 matches

by ag123
Sat May 25, 2024 6:21 pm
Forum: STM32F1 based boards
Topic: Help with STM32F103
Replies: 4
Views: 6194

Re: Help with STM32F103

stm32f103 can be programmed either by: - st-link (SWD) - uart boot mode (need to set boot0) what is strange on the original schematic is that boot0 is pulled up to 3v3 i.e. it is set. which means that the chip will always be in programming mode on reset. I think there'd be a jumper to pull that boot...
by ag123
Sat May 25, 2024 5:11 pm
Forum: General discussion
Topic: STM32C011 (WeAct) - first steps
Replies: 19
Views: 2177

Re: STM32C011 (WeAct) - first steps

for DAPlink, you may need to explore things like openocd https://openocd.org/ I heard about it. It's a CLI-program right? Can ArduinoIDE call it instead of STM32CubeProgrammer CLI? WeActStudio tells me " You can use another ST link to brush the daplink into ST link ". I only find in inter...
by ag123
Sat May 25, 2024 3:07 pm
Forum: General discussion
Topic: STM32C011 (WeAct) - first steps
Replies: 19
Views: 2177

Re: STM32C011 (WeAct) - first steps

for DAPlink, you may need to explore things like openocd https://openocd.org/ STM32Cubeprogrammer is generally made for st-link v2 ++. the main thing about STM32Cubeprogrammer is that it is from ST, and that if one are working in MS Windows, it saves one struggling with driver stacks issues. as othe...
by ag123
Thu May 23, 2024 9:24 am
Forum: Off topic
Topic: 3.3v - 5v level shifter - 74lvc1g17
Replies: 0
Views: 83

3.3v - 5v level shifter - 74lvc1g17

'level shifting' is a nuisance as there are too many cases of needing to interface 3.3v to 5v and vice versa. while looking around for 'solutions' I found this little rather interesting logic gate 74lvc1g17 https://www.ti.com/lit/ds/symlink/sn74lvc1g17.pdf https://assets.nexperia.com/documents/data-...
by ag123
Tue May 21, 2024 2:00 pm
Forum: General discussion
Topic: 'STM32WB55CE' What should I use to hold the boot?
Replies: 2
Views: 656

Re: 'STM32WB55CE' What should I use to hold the boot?

STM32WB55CE supports USB DFU bootloader, review the relevant specs and docs
https://www.st.com/en/microcontrollers- ... b55ce.html
it doesn't need a separate bootloader.

Alternatively, get a st-link v2 and newer and program away
by ag123
Sun May 19, 2024 8:59 pm
Forum: Libraries & Hardware
Topic: Bug in SPI-library or in example sketch?
Replies: 8
Views: 647

Re: Bug in SPI-library or in example sketch?

all the pins are normally GPIO, the alternate functions column are the alternate functions available at those particular pins, so for the gpio pin mux, you actually need to configure the pin mux so that it select the correct alternate function at the pin. If you do not know how to do that, this is d...
by ag123
Sun May 19, 2024 8:28 pm
Forum: Libraries & Hardware
Topic: Bug in SPI-library or in example sketch?
Replies: 8
Views: 647

Re: Bug in SPI-library or in example sketch?

STM32ardui in Arduino, it defines a default SPI port. Hence, selection of SPI device is not defined in the API https://www.arduino.cc/reference/en/language/functions/communication/spi/ hence, to an extent this is 'beyond Arduino' to put things in perspective. you need to consider the hardware on st...
by ag123
Fri May 17, 2024 4:06 pm
Forum: General discussion
Topic: STM32C011 (WeAct) - first steps
Replies: 19
Views: 2177

Re: STM32C011 (WeAct) - first steps

for this board, you are trying to 'fit an elephant in a small box'. :lol: If I have to mess with this board/chip, I'd resort to cmake https://github.com/stm32duino/CMake_workspace it may take leaving out lots of components to fit things in there, especially the *sram* usage. it takes *a lot more* th...
by ag123
Fri May 17, 2024 3:53 pm
Forum: General discussion
Topic: Is 'STM32F103C8' 'digitalWrite' and 'digitalRead' possible in FAST mode?
Replies: 2
Views: 327

Re: Is 'STM32F103C8' 'digitalWrite' and 'digitalRead' possible in FAST mode?

google search for "stm32 bsrr" and learn how to use that
e.g.
https://gist.github.com/iwalpola/6c36c9 ... 0a118571ca

and for *really fast*, stm32 spi can do like > 20 Mbps, not for novices
by ag123
Fri May 17, 2024 3:07 pm
Forum: General discussion
Topic: STM32F103CB ‘Sleepy mode’ and ‘Wake up’ function
Replies: 10
Views: 1891

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

it depends on how much data you are trying to store I've used some of these: https://www.digikey.com/en/products/detail/winbond-electronics/W25Q64FVSSIG/2815931 https://www.winbond.com/hq/product/code-storage-flash-memory/serial-nor-flash/?__locale=en&partNo=W25Q64FV https://www.aliexpress.com/w...

Go to advanced search