Search found 1626 matches

by Pito
Fri Nov 24, 2017 12:17 pm
Forum: General discussion
Topic: OverClock. at Runtime ~90MHz
Replies: 32
Views: 683

Re: OverClock. at Runtime ~90MHz

There is not such a library.
You have to open the libmaple core files and look for the functions (or the related parts of the functions which handle the settings). I think all the stuff is there (must be there of course :) ).
Then put the stuff into those above functions. An easy DIY exercise :)
by Pito
Fri Nov 24, 2017 11:57 am
Forum: General discussion
Topic: OverClock. at Runtime ~90MHz
Replies: 32
Views: 683

Re: OverClock. at Runtime ~90MHz

The big Q is why do you need such on-the-fly clock switch. Energy?? You may run BluePill at 96MHz easily and go sleep when needed. The total energy spent might be much lower than when switching between various freqs.. ;) Or do you want to have the USB available (ie at 48/72MHz) and only switch to 96...
by Pito
Fri Nov 24, 2017 11:19 am
Forum: General discussion
Topic: OverClock. at Runtime ~90MHz
Replies: 32
Views: 683

Re: OverClock. at Runtime ~90MHz

You can change the cpu clock at runtime with F103. I did it on F103 in past (with mecrisp forth) and it worked perfectly. I was changing on-the-fly the clock in a loop in a sequence like 72MHz/8MHz/128MHz/48MHz without a crash. Mind the clock's PLL setting (the phase loop needs to lock itself at the...
by Pito
Sun Nov 19, 2017 1:10 pm
Forum: Custom design boards
Topic: IceStamp FPGA in DIL28 and UPduino in DIL32
Replies: 18
Views: 860

Re: IceStamp FPGA in DIL28 and UPduino in DIL32

Swapforth J1a running on UPduino @ 40MHz, 460k uart, teraterm terminal, built under IceCube2: Device Utilization Summary LogicCells : 1153/5280 PLBs : 220/660 BRAMs : 16/30 IOs and GBIOs : 24/36 PLLs : 1/1 words .EASTER EASTER N E D Z X C G Y ORIF ANDIF fib2-bench fib2 FACS FAC .FAC SETUP *BUFF LAS...
by Pito
Wed Nov 15, 2017 5:42 pm
Forum: Projects
Topic: Using an STM32 to levitate/suspend tiny neodymium magnet at 12" or so...
Replies: 11
Views: 367

Re: Using an STM32 to levitate/suspend tiny neodymium magnet at 12" or so...

The rail guns use 5-10 million Amperes to fire a projectile w/ 2miles/sec muzzle velocity and 100miles range..
by Pito
Wed Nov 15, 2017 8:21 am
Forum: Projects
Topic: Using an STM32 to levitate/suspend tiny neodymium magnet at 12" or so...
Replies: 11
Views: 367

Re: Using an STM32 to levitate/suspend tiny neodymium magnet at 12" or so...

So all i need is a 1728 ampere battery? Nope, I have not said that :) Anyhow, in order to control the levitation by stm32 you first have to know with how much current you need to feed your coil in order to get your magnet at the required height.. I do not know, you have to measure. Knowing that you...
by Pito
Tue Nov 14, 2017 7:56 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Decoding the Gameboy LCD output.
Replies: 118
Views: 1349

Re: Decoding the Gameboy LCD output.

more and more of the internet is getting blocked for me
Stop wearing your sunglasses :)
by Pito
Tue Nov 14, 2017 6:36 pm
Forum: General discussion
Topic: some sectors are write protected
Replies: 24
Views: 438

Re: some sectors are write protected

These are my option bytes:
BPill Option Bytes.JPG
BPill Option Bytes.JPG (107.61 KiB) Viewed 78 times
by Pito
Tue Nov 14, 2017 10:34 am
Forum: General discussion
Topic: Removal of 48Mhz setting in Libmaple core
Replies: 4
Views: 123

Re: Removal of 48Mhz setting in Libmaple core

I would not remove options unless they cause troubles..
by Pito
Tue Nov 14, 2017 8:50 am
Forum: Postbag
Topic: Rogers postbag
Replies: 94
Views: 6078

Re: Rogers postbag

Roger, as I wrote above you need a switcher (step up converter) working from 0.7V to 6V input, giving you say 5V stable at the output. How much current? - it depends, but at least the voltage will be stable. There are such chips, long time back I used to use a 5pin sot MAX17xx something https://data...