Search found 80 matches

by GonzoG
Fri Jan 15, 2021 9:35 pm
Forum: Installation and OS related
Topic: Problem with Port
Replies: 18
Views: 156

Re: Problem with Port

@ GonzoG thanks for the advice. But if I am not wrong thats what I already do. I already do have the "STM32CubeProgrammer" installed and use already the "STM32CubeProgrammer (DFU)" upload method. As far as I know the BlackPill already has a hardware bootloader integrated, so I did not toutch that, ...
by GonzoG
Fri Jan 15, 2021 9:14 pm
Forum: General discussion
Topic: [Solved] I2C OLED Only Displays if Reset is Pressed??
Replies: 6
Views: 64

Re: I2C OLED Only Displays if Reset is Pressed??

It looks like OLED controller might need more time to start then STM. Try adding delay before initializing display.
I also recommend u8g2 library. It's faster than adafruit and much more fonts. You can also create own font quite easily.
by GonzoG
Thu Jan 14, 2021 1:54 pm
Forum: Ideas & suggestions
Topic: LCD
Replies: 4
Views: 160

Re: LCD

The fastest are LCDs with parallel interface, but they need up to 20 MCU pins.
The higher resolutions the longer it takes to send 1 frame to LCD.
by GonzoG
Thu Jan 14, 2021 11:41 am
Forum: Installation and OS related
Topic: Problem with Port
Replies: 18
Views: 156

Re: Problem with Port

If you reset F4x1 black pill into DFU mode (hardware USB bootloader) then it won't show as a COM port. It works in different mode. You need to select "STM32CubeProgrammer (DFU)" as upload method and have STM32CubeProgrammer installed. There is HID bootloader for F411 black pill: https://github.com/S...
by GonzoG
Tue Dec 29, 2020 5:14 pm
Forum: General discussion
Topic: Internal temperature sensor
Replies: 10
Views: 1803

Re: Internal temperature sensor

lostromos wrote:
Mon Dec 28, 2020 8:51 pm
Hi,

I have same problem about reading stm32f103 internal temp sensor values. I always get minus values from serial port. Which code did you use to solve this problem?
Thanks.
He got those negative values on fake STM chips. They are similar but not the same so some things might not work.
by GonzoG
Sun Dec 27, 2020 1:46 pm
Forum: General discussion
Topic: Sorry Beginner question F411 USB PINS
Replies: 4
Views: 144

Re: Sorry Beginner question F411 USB PINS

Yes, you need to disable USB support.

Yes, all pins are interrupt capable but you can use only 16 interrupts, so only one pin with same number can be used (eg. you cannot use interrupts on PA1 and PB1, only on one of them)
by GonzoG
Sun Dec 27, 2020 12:05 pm
Forum: General discussion
Topic: Sorry Beginner question F411 USB PINS
Replies: 4
Views: 144

Re: Sorry Beginner question F411 USB PINS

They are not only for USB.
But you cannot connect board with USB data cable (only power, no data wires) or connect it to power source that does not have data wires connected.
And do not enable USB in board settings.
by GonzoG
Sat Dec 26, 2020 3:21 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: STM32L476RG for low power application
Replies: 2
Views: 122

Re: STM32L476RG for low power application

1. the lower the voltage the lower current consumption. (STM32L476 datasheet pages from 124) 2 and 3. There is internal voltage reference (datasheet page 122) but not like Arduino. You cannot switch ADC reference voltage in program. An example how to use internal voltage reference to measure ADC Vre...
by GonzoG
Fri Dec 25, 2020 10:47 pm
Forum: IDE's
Topic: Pin problem in connection of ArduCAM
Replies: 11
Views: 456

Re: Pin problem in connection of ArduCAM

Are you sure that ArduCAM library supports STM32 MCUs ??
by GonzoG
Tue Dec 15, 2020 12:42 am
Forum: General discussion
Topic: [Solved] I need to return a single value from incoming serial data...
Replies: 37
Views: 2440

Re: I need to return a single value from incoming serial data...

Sir, could you please integrate this code with this: #include <RTClock.h> #define buttonPin PA10 RTClock rtclock (RTCSEL_LSE); // initialise int timezone = 8; // change to your timezone time_t tt, tt1; tm_t mtt; uint8_t dateread[11]; bool dispflag = true; const char * weekdays[] = {"Mon", "Tue", "W...

Go to advanced search