Search found 1668 matches
- Thu Nov 23, 2023 3:03 pm
- Forum: General discussion
- Topic: Any inline assembler tutorial?
- Replies: 5
- Views: 6546
Re: Any inline assembler tutorial?
it is possible to write assembly, but that c/c++ codes tend to be more readable and maintainable. in terms of savings, you can possibly write / make smaller binaries with assembly. But for my purpose, as I'd rather simply get a chip with a more comfortable margin of sram and flash, I'd make do with ...
- Thu Nov 23, 2023 3:43 am
- Forum: General discussion
- Topic: STM32F401CCU Black Pill not detected by Win 7
- Replies: 9
- Views: 11330
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...
- Wed Nov 22, 2023 11:15 am
- Forum: General discussion
- Topic: STM32F401CCU Black Pill not detected by Win 7
- Replies: 9
- Views: 11330
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...
- Wed Nov 22, 2023 7:18 am
- Forum: General discussion
- Topic: STM32F401CCU Black Pill not detected by Win 7
- Replies: 9
- Views: 11330
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...
- Sun Nov 19, 2023 9:33 pm
- Forum: General discussion
- Topic: Convert Arduino cod from stm
- Replies: 2
- Views: 5229
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...
- Sat Nov 18, 2023 4:11 am
- Forum: General discussion
- Topic: current in deepSleep mode STM32F103C8, STM32F401CC
- Replies: 10
- Views: 9399
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...
- Fri Nov 17, 2023 9:11 am
- Forum: General discussion
- Topic: current in deepSleep mode STM32F103C8, STM32F401CC
- Replies: 10
- Views: 9399
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...
- Fri Nov 17, 2023 8:49 am
- Forum: General discussion
- Topic: STM32F103C8T6 'interrupt pin' How do I use it?
- Replies: 1
- Views: 3201
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...
- Wed Nov 15, 2023 5:02 pm
- Forum: General discussion
- Topic: current in deepSleep mode STM32F103C8, STM32F401CC
- Replies: 10
- Views: 9399
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...
- Wed Nov 15, 2023 5:27 am
- Forum: General discussion
- Topic: STM32F103C8 and 9325 unusual display
- Replies: 5
- Views: 3631
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 ...