Search found 315 matches

by fpiSTM
Wed Feb 21, 2018 6:15 am
Forum: General discussion
Topic: [all cores] F4+F1: ABP1 timer clock frequency
Replies: 2
Views: 63

Re: [all cores] F4+F1: ABP1 timer clock frequency

If it could help, I've implemented a function to get the correct freq depending of the TimX clock source and the system clock config for all MCU series: https://github.com/stm32duino/Arduino_Core_STM32/blob/c392140415b3cf29100062ecb083adfa0f59f8b1/cores/arduino/stm32/timer.c#L668 It uses some HAL_* ...
by fpiSTM
Fri Feb 16, 2018 7:30 am
Forum: STM Core
Topic: Erratic Behaviour of the Standard Arduino I2C Bus Scanner
Replies: 3
Views: 110

Re: Erratic Behaviour of the Standard Arduino I2C Bus Scanner

Ok, reproduce on F411.
Always relies on IT mode.
This will be fixed with https://github.com/stm32duino/Arduino_C ... issues/217
by fpiSTM
Thu Feb 15, 2018 8:41 pm
Forum: STM Core
Topic: Erratic Behaviour of the Standard Arduino I2C Bus Scanner
Replies: 3
Views: 110

Re: Erratic Behaviour of the Standard Arduino I2C Bus Scanner

Hi Francois,

I've tested your code and it works with the disco L475 IOT board.
I will try tomorrow with the F411, I will not surprised to reproduce your issue... :roll:
There is a regression on I2C since it was moved to use IT mode. An issue is opened for this.
by fpiSTM
Wed Feb 14, 2018 4:25 pm
Forum: Libraries & Hardware
Topic: ENC28J60 +php crash on stm32f103ve
Replies: 11
Views: 224

Re: ENC28J60 +php crash on stm32f103ve

For ENC28J60, I've used this lib which now support stm32 boards since version 2.0.5:
https://github.com/UIPEthernet/UIPEthernet
by fpiSTM
Tue Feb 13, 2018 1:12 pm
Forum: General discussion
Topic: Access the PC register through ST-Link V2?
Replies: 11
Views: 205

Re: Access the PC register through ST-Link V2?

Ensure to have aggressively cache compiled core disabled in Arduino preference Select Debug in Optimize menu. Then after building your sketch: Launch st-util Launch gdb with the generated elf: <yourpath>/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-gdb yourbuildsketch.elf In gdb exec: targ...
by fpiSTM
Mon Feb 12, 2018 5:22 pm
Forum: STM Nucleo boards
Topic: [SOLVED] i2c slave receiver: nucleo 64 F401
Replies: 16
Views: 181

Re: i2c slave receiver: nucleo 64 F401

I've made some tests with F401 and it works if you do not change line 541 in twi.c from: nbData = I2C_TXRX_BUFFER_SIZE - obj->handle.XferCount; to: nbData = I2C_TXRX_BUFFER_SIZE - obj->handle.XferSize; As mentioned I2C slave required some review since the mode to IT mode. An issue is already open fo...
by fpiSTM
Sun Feb 11, 2018 3:38 pm
Forum: STM Nucleo boards
Topic: [SOLVED] STM32L072 from Arduino IDE
Replies: 4
Views: 81

Re: [SOLVED] STM32L072 from Arduino IDE

Welcome
sorry for this issue, I did not test with standard installation path. :roll:
On Windows, I install Arduino in a short path without space to avoid any issue with path length or space...
by fpiSTM
Sun Feb 11, 2018 3:26 pm
Forum: STM Nucleo boards
Topic: [SOLVED] STM32L072 from Arduino IDE
Replies: 4
Views: 81

Re: STM32L072 from Arduino IDE

Hi davidb, there is an issue with the last release when path contains space. Mainly when Arduino IDE is installed in its default directory "C:\Program Files (x86)", The "'Files' is not recognized as an internal or external command, operable program or batch file." comes from this. It will be fixed i...
by fpiSTM
Sat Feb 10, 2018 9:17 am
Forum: STLink
Topic: Problem with uploading on Blue Pill via ST-LINK V2 on mac OS
Replies: 7
Views: 175

Re: Problem with uploading on Blue Pill via ST-LINK V2 on mac OS

Texane github is active.
I've already update the version to fix some issues.
So, I think you should take the last version and test it.