Search found 258 matches

by stevestrong
Fri Aug 07, 2020 9:21 am
Forum: General discussion
Topic: STM32F103C ----- SDFat Library
Replies: 7
Views: 421

Re: STM32F103C ----- SDFat Library

I would recommend to use my SdFat fork, it is made compatible with the libmaple (aka Roger's and my) core.
by stevestrong
Thu Aug 06, 2020 2:07 pm
Forum: General discussion
Topic: running pwm on stm32 with arduino IDE
Replies: 1
Views: 69

Re: running pwm on stm32 with arduino IDE

You have to pause the timer before writing the new period value.
And your code does not seem to change the frequency.
by stevestrong
Thu Aug 06, 2020 8:51 am
Forum: General discussion
Topic: Some General Info - New user
Replies: 3
Views: 131

Re: Some General Info - New user

Arduino IDE is great if you do not want to dig deep into the build process.
I usually use free editors to edit code (ex. Notepad++) and then use Arduino IDE (with the option "Use external editor") just to build the app, or use Eclipse (Sloeber) as a complete development environment.
by stevestrong
Wed Aug 05, 2020 10:02 am
Forum: STM32 HID bootloader
Topic: Having problem to make HID bootloaded 2.2
Replies: 6
Views: 303

Re: Having problem to make HID bootloaded 2.2

Additionally to Ray's comment:
https://github.com/Serasidis/STM32_HID_ ... /README.md
Normally, both BOOT-0 and BOOT-1 must be connected to '0'. If you connect BOOT-1 pin to 3.3V (or '1' on BluePill boards), the board will stay in HID Bootloader mode.
by stevestrong
Wed Aug 05, 2020 9:57 am
Forum: General discussion
Topic: [Risolto] I2C and ADS1115 communication problem with STM32F103C8T6
Replies: 16
Views: 554

Re: I2C and ADS1115 communication problem with STM32F103C8T6

You have to have only one Wire declaration.
If you change the default Wire declaration in the library file Wire.cpp line 105, then you should delete it from your sketch.
by stevestrong
Tue Aug 04, 2020 3:23 pm
Forum: General discussion
Topic: [Risolto] I2C and ADS1115 communication problem with STM32F103C8T6
Replies: 16
Views: 554

Re: I2C and ADS1115 communication problem with STM32F103C8T6

As I told, the problem is that the ADS library is using the "standard" I2C interface, which is per default the I2C 1, see here: https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/master/STM32F1/libraries/Wire/Wire.cpp#L105 If you want to use the hardware I2C 2 interface (on PB10/11) then you ...
by stevestrong
Mon Aug 03, 2020 8:52 am
Forum: General discussion
Topic: [Risolto] I2C and ADS1115 communication problem with STM32F103C8T6
Replies: 16
Views: 554

Re: I2C and ADS1115 communication problem with STM32F103C8T6

The scanner works on I2C2 means that your HW connection is OK. Which library do you use for the ADS chip? It is not enough to initialize the interface in setup, you should somehow tell the lib that you are not using the "standard" interface I2C 1, but I2C 2. Otherwise the lib will continue to commun...
by stevestrong
Mon Aug 03, 2020 8:40 am
Forum: STM32 HID bootloader
Topic: Having problem to make HID bootloaded 2.2
Replies: 6
Views: 303

Re: Having problem to make HID bootloaded 2.2

The HID bootloader should work, what you see is that the bootloader did jump to application code which is, in this case, corrupted. You should set BOOT1 pin to 1 with the jumper, press reset, then the bootloader waits for upload command over USB. Use a blinky sketch with USB serial, so that after yo...
by stevestrong
Sat Aug 01, 2020 10:23 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Help getting started, NANO with STM32F103
Replies: 4
Views: 280

Re: Help getting started, NANO with STM32F103

It should work.
If it doesn't then let us know.
by stevestrong
Sat Aug 01, 2020 10:22 am
Forum: General discussion
Topic: [Risolto] I2C and ADS1115 communication problem with STM32F103C8T6
Replies: 16
Views: 554

Re: I2C and ADS1115 communication problem with STM32F103C8T6

HardWire on PB6/7 uses the harware I2C interface.
For SoftWire you can define your own pins.

Go to advanced search