Search found 1657 matches

by ag123
Thu Nov 23, 2023 3:43 am
Forum: General discussion
Topic: STM32F401CCU Black Pill not detected by Win 7
Replies: 9
Views: 10668

Re: STM32F401CCU Black Pill not detected by Win 7

You can try to install this: https://www.st.com/en/development-tools/stsw-link009.html Thanks I downloaded this and installed it. Made no difference I still have no COM port assigned to the STM32 in Device Manager. I should have noted STM32 Cube Programmer is installed. This is with the STLink plug...
by ag123
Wed Nov 22, 2023 11:15 am
Forum: General discussion
Topic: STM32F401CCU Black Pill not detected by Win 7
Replies: 9
Views: 10668

Re: STM32F401CCU Black Pill not detected by Win 7

in linux, there is something called https://github.com/jkulesza/usbreset what that does is to get the usb host controller to issue 'usb reset' (single ended zero) and enumerate (all) devices again. that normally works the same if you disconnect and reconnect your device, or perhaps try pressing rese...
by ag123
Wed Nov 22, 2023 7:18 am
Forum: General discussion
Topic: STM32F401CCU Black Pill not detected by Win 7
Replies: 9
Views: 10668

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

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

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

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

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

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

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

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

Go to advanced search