Search found 746 matches

by fpiSTM
Sun Oct 25, 2020 5:40 pm
Forum: General discussion
Topic: Variant.h pin definitions unclear?
Replies: 9
Views: 130

Re: Variant.h pin definitions unclear?

Arduino API use pin number Dx, x, Ax or PYn then it is converted to PinName which are a combination of GPIO port and GPIO pin for HAL/LL. Some advanced API uses PinName to be faster (avoid the conversion from pin number to PinName). I'm curently, reworking all the variants and also manage the remap ...
by fpiSTM
Sun Oct 25, 2020 4:22 pm
Forum: General discussion
Topic: Variant.h pin definitions unclear?
Replies: 9
Views: 130

Re: Variant.h pin definitions unclear?

PR to fix this issue available here https://github.com/stm32duino/Arduino_C ... /pull/1219

If you can test it, thanks.
by fpiSTM
Sun Oct 25, 2020 2:52 pm
Forum: Libraries & Hardware
Topic: EEPROM emulation how to increase size?
Replies: 3
Views: 66

Re: EEPROM emulation how to increase size?

Hi sp5iou For BP (STM32F103C8), all flash page size is 0x400. You can use the whole FLASH_PAGE_SIZE so 1kb. I've tested and can have access to the whole page. Note that I don't advice to use the EEPROM mainly if your write a lot. Flash has a limited number of write iterations. Moreover each time you...
by fpiSTM
Sun Oct 25, 2020 1:38 pm
Forum: General discussion
Topic: Variant.h pin definitions unclear?
Replies: 9
Views: 130

Re: Variant.h pin definitions unclear?

Hi MGeo You're right there is an issue with SPI using the PYn pin number notation when it is an analog pin. It is part of the rework done to be able to define the analog pins in a non contiguous way. The pin number PA4 is well defined as A2 as it is an analog pin. And A2 is well defined as 55. This ...
by fpiSTM
Fri Oct 23, 2020 3:37 pm
Forum: IDE's
Topic: SparkFun_RFD77402_Arduino_Library to much timeout
Replies: 4
Views: 441

Re: SparkFun_RFD77402_Arduino_Library to much timeout

You should try to change the default timeout set to 10 ms.
I will use a define for all 10 ms delay then test some values (higher and lower) to see if this change the issue.
by fpiSTM
Thu Oct 22, 2020 4:21 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Libraries for the STM32F746G Discovery screen?
Replies: 8
Views: 1818

Re: Libraries for the STM32F746G Discovery screen?

Same, I will not do this as it will require support and not enough generic and not enough time for this. You can do it on your own.
by fpiSTM
Thu Oct 22, 2020 1:15 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Libraries for the STM32F746G Discovery screen?
Replies: 8
Views: 1818

Re: Libraries for the STM32F746G Discovery screen?

I don't think it is only for example and not enough generic.
by fpiSTM
Thu Oct 22, 2020 12:47 pm
Forum: STM32F1 based boards
Topic: Serial over CDC data uploads but doesn't print any data
Replies: 12
Views: 775

Re: Serial over CDC data uploads but doesn't print any data

We already face an issue using the bootloader. In fact the BL does not leave the USB in a correct state then not able to properly initialized it. Did you try a minimal sketch which only print on Serial (SerilaUSB) ? I've already tested USB on STM32F103ZE wihtout any issue. Another way should be to t...
by fpiSTM
Thu Oct 22, 2020 12:42 pm
Forum: IDE's
Topic: SparkFun_RFD77402_Arduino_Library to much timeout
Replies: 4
Views: 441

Re: SparkFun_RFD77402_Arduino_Library to much timeout

There is some fixes available for I2C in the master for STM32F1 series, it should be fine to test it.
Did you try several speed?
By default the lib seems to be at : I2C_SPEED_STANDARD (100k)
Did you try I2C_SPEED_FAST (400k)?
by fpiSTM
Wed Oct 21, 2020 9:21 pm
Forum: STM32F4 based boards
Topic: STM32f407vet6 blackboard malfunctional PWM
Replies: 13
Views: 653

Re: STM32f407vet6 blackboard malfunctional PWM

I guess it is libmaple as STM32 core does not have pwmWrite API nor PWM as argument of pin mode.

Go to advanced search