Search found 1697 matches

by ag123
Sun May 26, 2024 8:43 am
Forum: General discussion
Topic: STM32C011 (WeAct) - first steps
Replies: 23
Views: 2443

Re: STM32C011 (WeAct) - first steps

I *think* SD Fat requires more sram than do the 'low end' chips offer. I've tried an implementation running on stm32f103c8 20k sram, libmaple (roger's) core. It works well for a pretty long time, then as the number of files accumulate, the directory list become more verbose. Then one day I had a 'cr...
by ag123
Sun May 26, 2024 5:09 am
Forum: General discussion
Topic: STM32C011 (WeAct) - first steps
Replies: 23
Views: 2443

Re: STM32C011 (WeAct) - first steps

oh and for stm32f103 the rtc and 'bluepill' (or 'maple mini') type boards, I've used the RTC running on VBAT with the on board external crystal. I've got a defective chip for one, but that for a normal working stm32f103c8 chip, the RTC keeps time for a long time > 1 year on a single cr2032 lithium b...
by ag123
Sat May 25, 2024 6:21 pm
Forum: STM32F1 based boards
Topic: Help with STM32F103
Replies: 4
Views: 6221

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: 23
Views: 2443

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: 23
Views: 2443

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

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

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

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

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: 23
Views: 2443

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

Go to advanced search