Search found 1655 matches

by ag123
Wed Nov 22, 2023 7:18 am
Forum: General discussion
Topic: STM32F401CCU Black Pill not detected by Win 7
Replies: 9
Views: 8566

Re: STM32F401CCU Black Pill not detected by Win 7

well. you need to mention which core you are using. The 'official' STM core is here https://github.com/stm32duino/Arduino_Core_STM32 and wiki here https://github.com/stm32duino/Arduino_Core_STM32/wiki install instruction is here https://github.com/stm32duino/Arduino_Core_STM32/wiki/Getting-Started a...
by ag123
Sun Nov 19, 2023 9:33 pm
Forum: General discussion
Topic: Convert Arduino cod from stm
Replies: 2
Views: 3941

Re: Convert Arduino cod from stm

Codes like SPCR, SPIE, CPHA are likely registers and definitions relevant to other mcus (e.g. ATmega, etc). It would be necessary to review the functionalities / ref manuals for both the different processors e.g. ATmega and say an STM32 (a particular processor e.g. stm32f401) to understand how to tr...
by ag123
Sat Nov 18, 2023 4:11 am
Forum: General discussion
Topic: current in deepSleep mode STM32F103C8, STM32F401CC
Replies: 10
Views: 7073

Re: current in deepSleep mode STM32F103C8, STM32F401CC

among the possibilities, peripherals e.g. ADC, USB, GPIO etc if they are clocked could be in a 'running state' even if they are 'disabled' https://github.com/stm32duino/Arduino_Core_STM32/blob/main/variants/STM32F1xx/F103C8T_F103CB(T-U)/variant_PILL_F103Cx.cpp#L125 Hence, I'd guess it'd help to revi...
by ag123
Fri Nov 17, 2023 9:11 am
Forum: General discussion
Topic: current in deepSleep mode STM32F103C8, STM32F401CC
Replies: 10
Views: 7073

Re: current in deepSleep mode STM32F103C8, STM32F401CC

for low power, normally it means putting the processor in 'suspended' mode, where the cpu is turned off until a 'wakeup' event is triggered, e.g. from a pin. i've not tried working with low power, hence won't be good to comment much about it. But that as I'm aware, there are options for 'sleep' mode...
by ag123
Fri Nov 17, 2023 8:49 am
Forum: General discussion
Topic: STM32F103C8T6 'interrupt pin' How do I use it?
Replies: 1
Views: 2067

Re: STM32F103C8T6 'interrupt pin' How do I use it?

I've not tried it, but that apparently STM 'official' core may have that https://github.com/stm32duino/Arduino_Core_STM32/tree/main https://github.com/stm32duino/Arduino_Core_STM32/blob/main/cores/arduino/WInterrupts.h https://github.com/stm32duino/Arduino_Core_STM32/blob/main/cores/arduino/WInterru...
by ag123
Wed Nov 15, 2023 5:02 pm
Forum: General discussion
Topic: current in deepSleep mode STM32F103C8, STM32F401CC
Replies: 10
Views: 7073

Re: current in deepSleep mode STM32F103C8, STM32F401CC

if you have an external module such as a TFT LCD that can consume a lot of power, independent of stm32. The peripherals ADC/i2c etc when they are clocked consume power, if you want to turn off the peripherals, you would need to un-clock them. The downside is that on resume, you would need to restore...
by ag123
Wed Nov 15, 2023 5:27 am
Forum: General discussion
Topic: STM32F103C8 and 9325 unusual display
Replies: 5
Views: 2445

Re: STM32F103C8 and 9325 unusual display

ok found the datasheet for ILI9341 from adafruit here as well https://cdn-shop.adafruit.com/datasheets/ILI9341.pdf it seemed differences are the hardware - parallel interface - ILI9341 has an additional led driver - ILI9325 uses RS / RW in the control signal line(s), ILI9341 uses D/C data / command ...
by ag123
Tue Nov 14, 2023 2:38 pm
Forum: General discussion
Topic: STM32F103C8 and 9325 unusual display
Replies: 5
Views: 2445

Re: STM32F103C8 and 9325 unusual display

I've done something, but that it is for ILI9341 LCD https://github.com/ag88/Adafruit_ILI9341_SPI_stm32duino you can try adapting the codes to see if it works for your LCD. The control codes for ILI9341 vs ILI9325 are likely somewhat different, but I have not reviewed any spec sheets that provide the...
by ag123
Tue Nov 14, 2023 11:18 am
Forum: General discussion
Topic: Cannot use STM32FreeRTOS with STM32duinoBLE
Replies: 2
Views: 2517

Re: Cannot use STM32FreeRTOS with STM32duinoBLE

for those who may be interested i've got this so called 'A stm32duino event loop' https://github.com/ag88/stm32duino-eventloop it is original build around libmaple core (https://github.com/rogerclarkmelbourne/Arduino_STM32), but that it would likely 'just works' on STM core (https://github.com/stm32...
by ag123
Tue Nov 14, 2023 9:07 am
Forum: General discussion
Topic: STM32Dunio and Android
Replies: 4
Views: 4341

Re: STM32Dunio and Android

if you prefer python for a start Adafruit has a stm32f405 feather express (rather pricy, but that it is a fast microcontroller has 1 Meg flash and 512 k sram, deemed generous among microcontrollers, and lots of on-chip peripherals) https://learn.adafruit.com/adafruit-stm32f405-feather-express that o...

Go to advanced search