Search found 1057 matches

by victor_pv
Mon Apr 24, 2017 8:37 pm
Forum: General discussion
Topic: Problem with measuring very short pulses
Replies: 13
Views: 174

Re: Problem with measuring very short pulses

I think you should use the a Timer input capture mode for this.
by victor_pv
Mon Apr 24, 2017 7:51 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 140
Views: 1471

Re: Improving F4 core (libmaple based)

Please take into use stevestrong's enhanced USB serial code for F4 which he made for F1 originally. Actually I'm not sure if it already is included in current F4 repo. There's huge difference in terms of speed. The USB code in my version should all be from Steve's repo, I only made some changes to ...
by victor_pv
Mon Apr 24, 2017 2:40 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 140
Views: 1471

Re: Improving F4 core (libmaple based)

i'm wondering if it may be good to do something like this #ifdef SERIAL_USB #include <usb_serial.h> #define Serial SerialUSB #else #define Serial Serial1 #endif as it seemed Serial is part of the 'arduino uno legacy' in which the serial console is sort of expected as Serial object. the atmega328 ar...
by victor_pv
Mon Apr 24, 2017 1:37 pm
Forum: STM32F3 Boards
Topic: F3 CCM ram usage.
Replies: 0
Views: 21

F3 CCM ram usage.

I don't know who is using the libmaple core in F3 MCUs, but for those doing it. I am currently working on the F4 core, and using the CCM memory to store some variables is already giving a performance bump. In the F3 the ccm memory is smaller, but better than the F4 since it can execute code from it ...
by victor_pv
Mon Apr 24, 2017 1:21 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 140
Views: 1471

Re: Improving F4 core (libmaple based)

@steve, i think Serial is literally mapped to SerialUSB on the F1 core, i'm thinking if we should keep it the same. :roll: I think Steve posted this, otherone someone else did, but seems like the best would be to keep the following names all the time: SerialUSB -> USB Serial1 -> USART1 Serial2 -> U...
by victor_pv
Mon Apr 24, 2017 12:57 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 140
Views: 1471

Re: Improving F4 core (libmaple based)

With the following Overclock settings in generic_f407v.h and the other settings as above: #define CYCLES_PER_MICROSECOND 240 // F_CPU in MHz // Note: Xtal frequency 8MHz #ifndef BOARD_PLL_M #define BOARD_PLL_M 4 // Xtal divider #endif #ifndef BOARD_PLL_N #define BOARD_PLL_N 240 // PLL_Freq multipli...
by victor_pv
Mon Apr 24, 2017 12:50 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 140
Views: 1471

Re: Improving F4 core (libmaple based)

My current / future plans: - I will test USB serial with Victor's new core. - I will test Hardware serial (Serialx, x>=1) with speeds 115kbps and above - as Pito reported that it did not work. - I am currently evaluating the GPIOs by driving a 16 bit parallel display - already detected some bugs. -...
by victor_pv
Mon Apr 24, 2017 4:46 am
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 140
Views: 1471

Re: Improving F4 core (libmaple based)

I have uploaded my core to github and updated the 1st post in the thread with the link and some more information.
If someone has a board with a valid USB, please test and let me know if USB works.
by victor_pv
Sun Apr 23, 2017 6:33 pm
Forum: STM32F4 Boards
Topic: FPU on F407 - how to
Replies: 99
Views: 1070

Re: FPU on F407 - how to

... #if defined(__GNUC__) && (__ARM_PCS==1 || __ARM_PCS_VFP==1) #warning enabling harware fpu enable_fpu(); #endif ... i'm thinking that we can insert enable_fpu() call along with the defines check within init() itself as that apparently is the function we do hardware initializations. in th...
by victor_pv
Sun Apr 23, 2017 5:26 pm
Forum: General discussion
Topic: Dhrystone and Whetstone Benchmarks for STM32F103
Replies: 163
Views: 7480

Re: Dhrystone and Whetstone Benchmarks for STM32F103

-Os, no -g, eabi-4.8.3-2014q1, -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant, 240MHz clock, Black 407ZET Loops: 1000Iterations: 10Duration: 6988 millisec. 1677248483 clocks C Converted Single Precision Whetstones: 143.10 MIPS Using the standard code. Indicate your eabi-arm version,...

Go to advanced search