Search found 27 matches

by peekay123
Wed Mar 06, 2019 6:38 pm
Forum: Projects
Topic: Teensy 3.0 to STM32f 103
Replies: 6
Views: 230

Re: Teensy 3.0 to STM32f 103

Nope. These libraries are too hardware dependent to simply port.
by peekay123
Wed Mar 06, 2019 6:34 pm
Forum: General discussion
Topic: Designating variables to backup SRAM (LibMaple)
Replies: 7
Views: 243

Re: Designating variables to backup SRAM (LibMaple)

ag123, you are correct!!!! I was mistakenly thinking of the STM32F2xx!!! :?
by peekay123
Tue Mar 05, 2019 4:26 pm
Forum: General discussion
Topic: Designating variables to backup SRAM (LibMaple)
Replies: 7
Views: 243

Re: Designating variables to backup SRAM (LibMaple)

The backup registers are not the same as the 4KB of backup SRAM. I am asking if there is a way to assign variables to that specific 4KB area of SRAM that is maintained during STOP sleep.
by peekay123
Tue Mar 05, 2019 3:18 pm
Forum: General discussion
Topic: Designating variables to backup SRAM (LibMaple)
Replies: 7
Views: 243

Designating variables to backup SRAM (LibMaple)

CPU = STM32F103RCT6
Core = LibMaple

Is there a way to "point" or designate variables to be stored in the area of SRAM that is maintained during STOP sleep?
by peekay123
Mon Feb 11, 2019 2:07 pm
Forum: Builds and Announcements
Topic: Site will be read only from Saturday 27th April
Replies: 128
Views: 6344

Re: Site will be read only from Saturday 27th April

Roger, your work and this site saved my bacon on a tough project. If it had not been for your and this great community's contributions, my workload would have been trippled. Thank you, thank you, thank you!

Question: Where will you venting all that energy next?
by peekay123
Thu Jan 17, 2019 4:32 pm
Forum: STM32F103 Boards
Topic: Low power mode with and without USB
Replies: 3
Views: 398

Re: Low power mode with and without USB

UPDATE: I wrote a new set of sleep functions based on the STM32 Core libraries. With these I was able to flash my test code via the STM32 built-in serial bootloader and was able to achieve 38uA STANDBY sleep current consistently. Oddly, if I drop Vdd to 2.8V (from 3.3v), the current rises to 77uA an...
by peekay123
Mon Jan 07, 2019 2:55 pm
Forum: General discussion
Topic: Low power mode and wake from sleep.
Replies: 86
Views: 28775

Re: Low power mode and wake from sleep.

Timoteo, I am having similar issues in getting the lowest power in STANDBY mode and they seem to be related to flashing code using Serial (no bootloader) versus USB (with bootloader). See here: http://stm32duinoforum.com/forum/viewtopic.php?f=28&t;=4485 This makes no sense to me except that the bootloader i...
by peekay123
Tue Jan 01, 2019 8:08 pm
Forum: STM32F103 Boards
Topic: Low power mode with and without USB
Replies: 3
Views: 398

Re: Low power mode with and without USB

I added systick_disable() before calling wfi and it made no different. Besides, all clocks are disabled in STANDBY sleep. I tried with both the bootloader and Serial flash with the same results. The current with the Serial load is actually 1.8 - 2.0mA while that of the USB bootloader flash is 38uA.
by peekay123
Mon Dec 31, 2018 8:29 pm
Forum: STM32F103 Boards
Topic: Low power mode with and without USB
Replies: 3
Views: 398

Low power mode with and without USB

I have a blue pill board that I am using for measuring STOP and STANDBY mode current to the MCU. I removed the power LED resistor and I am powering the board (external programmable PSU) via the 3.3 pin to bypass the regulator. All measurement were done with a Siglent SDM3045X multimeter. A little ba...
by peekay123
Fri Aug 25, 2017 1:36 pm
Forum: Code snipplets
Topic: Interrupt Latency Measurement
Replies: 24
Views: 1881

Re: Interrupt Latency Measurement

The min/max difference is substantial. It would be nice to calculate the standard deviation to get a sense of the distribution. Or count the number of instances where the time is greater than the average.