Search found 1681 matches

by ag123
Thu Mar 14, 2024 3:34 pm
Forum: General discussion
Topic: I2C communication does not work.
Replies: 3
Views: 806

Re: I2C communication does not work.

I2C requires a 'different skillset' vs playing with uart, uart is point to point, it is only 2 devices a sender and the other a receiver and vice versa. but of course it is up to one to make things complicated by adding RS485, RS422 etc, but that is off-topic. Then that for i2c, many devices share t...
by ag123
Thu Mar 14, 2024 4:02 am
Forum: General discussion
Topic: I2C communication does not work.
Replies: 3
Views: 806

Re: I2C communication does not work.

that device has uart
https://en.gassensor.com.cn/Product_fil ... cation.pdf
have you tried that?
uart just take different pins and is normally accessible at Serial1, Serial2 etc.
by ag123
Thu Mar 14, 2024 3:45 am
Forum: General discussion
Topic: Bootloader, what should I do?
Replies: 2
Views: 552

Re: Bootloader, what should I do?

for STM32F103 get a st-link v2 https://www.adafruit.com/product/2548 https://www.st.com/en/development-tools/st-link-v2.html https://www.digikey.sg/en/products/detail/stmicroelectronics/ST-LINK-V2/2214535 https://octopart.com/search?q=st-link+v2&currency=USD&specs=0 or a usb-uart (3.3v) dong...
by ag123
Wed Mar 13, 2024 2:35 pm
Forum: General discussion
Topic: STM32F407VGT6 programming issues
Replies: 4
Views: 1963

Re: STM32F407VGT6 programming issues

I found this article from a google search https://community.st.com/t5/stm32-mcus-wireless/how-to-i-fix-stm32cubeprogrammer-no-stm32-target-found-after/td-p/257858 If i set the ST-LINK configuration to: Mode: Normal Reset Mode: Software Reset Then, I can successfully connect if I: Press and hold the ...
by ag123
Wed Mar 13, 2024 4:40 am
Forum: General discussion
Topic: STM32F407VGT6 programming issues
Replies: 4
Views: 1963

Re: STM32F407VGT6 programming issues

one thing to try is to press and hold reset when you flash the sketch over st-link, this is called 'connect under reset'. If the tool chain is properly installed, sometimes that will override the write protection. flash a simple sketch such as to blink the led, so that you know if after all it is wo...
by ag123
Mon Mar 11, 2024 10:23 am
Forum: General discussion
Topic: How to port Arduino firmware into STM32 Cube IDE
Replies: 2
Views: 1713

Re: How to port Arduino firmware into STM32 Cube IDE

For beginners, it is much easier to simply follow the getting started guide https://github.com/stm32duino/Arduino_Core_STM32/wiki/Getting-Started and to use a supported board on the STM core page. https://github.com/stm32duino/Arduino_Core_STM32 it is also suggested to get a chip that has more sram ...
by ag123
Tue Mar 05, 2024 4:03 pm
Forum: General discussion
Topic: Problem Uploading to STM32F405 from Arduino IDE
Replies: 3
Views: 1199

Re: Problem Uploading to STM32F405 from Arduino IDE

jneymeyer There are some pre-requisites The first place to visit is the stm32duino wiki - which is hosted in Github instead of here. https://github.com/stm32duino/Arduino_Core_STM32/wiki Among that is the getting started guide https://github.com/stm32duino/Arduino_Core_STM32/wiki/Getting-Started Th...
by ag123
Sun Mar 03, 2024 10:18 pm
Forum: STM32H7 based boards
Topic: stm32h723 mini core board camera module
Replies: 2
Views: 3669

Re: stm32h723 mini core board camera module

if you bought it from e.g. weact
https://github.com/WeActStudio/MiniSTM32H7xx
you may need to contact them

there could be more than a few vendors, hence, it may not after all be weact, you may like to check from where you bought the board from
by ag123
Tue Feb 27, 2024 8:01 am
Forum: General discussion
Topic: [STM32F103C8T6] How can I use '128 Kbytes of Flash memory'?
Replies: 2
Views: 1751

Re: [STM32F103C8T6] How can I use '128 Kbytes of Flash memory'?

officially u'd need to get a stm32f103c{b,B}t6, that one has 128 k per specs, c8 is 64k per specs. So if you think you literally have 128k memory, you can try a variant for 128k e.g. maple mini. The details are actually in the ld script, check in there in the variant. Alternatively, get something li...
by ag123
Mon Feb 26, 2024 3:56 am
Forum: General discussion
Topic: STM32 hangs when >100khz signal applied to input
Replies: 19
Views: 2310

Re: STM32 hangs when >100khz signal applied to input

try something like a stm32 f4xx (e.g. stm32f401 / f411 ) board, those has the FPU, but that it is for floats only.

other things to try are to move the computation codes into loop() and only use the ISR callback to simply count cycles, e.g. increment a global variable.

Go to advanced search