128 Kb CPU hangs up when 128Mhz overclocking is applied STM32103

Post here first, or if you can't find a relevant section!
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: 128 Kb CPU hangs up when 128Mhz overclocking is applied STM32103

Post by ag123 »

if you like mozzi
https://github.com/sensorium/Mozzi
i'd suggest to make an attempt of a port say to stm32f405 or stm32f407 (stm32f407 mainly has more IO hardware but tend to have less sram and flash vs stm32f405, stm32f405 rg has 1m flash and 512k sram) adafruit, micropython, olimex has boards with stm32f405, there is also original nucleos from st and the usual places e.g. aliexpress, ebay etc u'd find some boards there, i've not literally worked on stm32f7 but i'd just say they are possibly a fastest as cpu prowess goes - superscalar (i.e. multiple concurrent instructions per clock cycle).https://www.st.com/resource/en/applicat ... ronics.pdf

and for mozzi to use the native stm32f4 or stm32f7 hardware fpu features. i'd think it would see speed improvements there.

i took a look at faust
https://faust.grame.fr/
and it seemed it is quite well featured in the academic circles and among those using it in research
https://www.youtube.com/watch?v=7w-DwwoFKhU
accordingly it can generate codes for embedded platform e.g. stm32f405 and hence it may be worth checking out as well.
https://www.striso.org/open/stm32f4-faust-target/
https://github.com/pierstitus/STM32F4-Synth

apparently someone has done something with stm32h7 and offered it as a product
https://www.electro-smith.com/daisy/daisy
https://github.com/electro-smith/DaisyExamples

as for the rest you may like to browse github repositories etc for them.
hobbya
Posts: 49
Joined: Thu Dec 19, 2019 3:27 pm
Answers: 1

Re: 128 Kb CPU hangs up when 128Mhz overclocking is applied STM32103

Post by hobbya »

It is asking too much for operating conditions not covered by the specifications. One may purchase a bunch of 128k and do the screening. A possible bet is to check if the 64k chip is actually a 128k. Almost all 64k bluepills I got have 128k embedded flash.

I have seen many hobbyists overclock the computer CPU's but I have not seen anyone questioning Intel why his CPU is not as good as others. Instead the hobbyist will tweak the voltage etc to push it beyond the limits.

Why your 64k worked => simply by good luck
Why your 128k failed => simply by bad luck

Sorry for another useless reply :)
PIRVCB
Posts: 7
Joined: Wed Jan 27, 2021 11:03 pm

Re: 128 Kb CPU hangs up when 128Mhz overclocking is applied STM32103

Post by PIRVCB »

hobbya wrote: Wed Jun 09, 2021 5:37 am It is asking too much for operating conditions not covered by the specifications. One may purchase a bunch of 128k and do the screening. A possible bet is to check if the 64k chip is actually a 128k. Almost all 64k bluepills I got have 128k embedded flash.

I have seen many hobbyists overclock the computer CPU's but I have not seen anyone questioning Intel why his CPU is not as good as others. Instead the hobbyist will tweak the voltage etc to push it beyond the limits.

Why your 64k worked => simply by good luck
Why your 128k failed => simply by bad luck

Sorry for another useless reply :)
What i'm fining out is that 128Kb can go up till 112 Mhz, a 14 PLL multiplier factory.
And only 64 Kb reach 128 Mhz.
But, as you told, 64 Kb are very rare nowaday, also if marked as 8 they very very very often are 128Kb.
This is only my little actual experience.

And:
https://github.com/rogerclarkmelbourne/ ... issues/857
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: 128 Kb CPU hangs up when 128Mhz overclocking is applied STM32103

Post by ag123 »

another thing though some stm32f103 are 'clones', there are chips marked as cks32f103 or cs32f103, those have 128kb flash regardless of the markings.
but i read a post somewhere that the way flash works is literally quite different from a real stm32, e.g. it may require bulk erase of the whole 64k or some such address ranges rather than a small part of it when writing to it
for a real stm32 if it is a c8, chances are that u'd get just 64k
mrburnette
Posts: 633
Joined: Thu Dec 19, 2019 1:23 am
Answers: 7

Re: 128 Kb CPU hangs up when 128Mhz overclocking is applied STM32103

Post by mrburnette »

PIRVCB wrote: Fri Jun 11, 2021 9:48 pm ...
What i'm fining out is that 128Kb can go up till 112 Mhz, a 14 PLL multiplier factory.
And only 64 Kb reach 128 Mhz.
But, as you told, 64 Kb are very rare nowaday, also if marked as 8 they very very very often are 128Kb.
This is only my little actual experience.
...
In the vernacular of IC's, you are doing characterisation ... and dealing afterward with the quality testing. This is somewhat I used to do with RF transistors... buy a 100, build a test jig with a signal source and o'scope, and separate the exceptional from the good. Lots of work and unnecessary expense. Not recommended as the process is labor intensive and does not scale well. Essentially, even with a 128K SRAM unit, it is still "not guaranteed" by STM to have the proper electrical, mechanical, and thermal characteristics.

Bad karma.

Ray

Patient to doc, "It hurts when I do this..."
Doc tp patient, "Then do not do that..."
PIRVCB
Posts: 7
Joined: Wed Jan 27, 2021 11:03 pm

Re: 128 Kb CPU hangs up when 128Mhz overclocking is applied STM32103

Post by PIRVCB »

ag123 wrote: Wed Jun 09, 2021 3:37 am if you like mozzi
https://github.com/sensorium/Mozzi
i'd suggest to make an attempt of a port say to stm32f405 or stm32f407 (stm32f407 mainly has more IO hardware but tend to have less sram and flash vs stm32f405, stm32f405 rg has 1m flash and 512k sram) adafruit, micropython, olimex has boards with stm32f405, there is also original nucleos from st and the usual places e.g. aliexpress, ebay etc u'd find some boards there, i've not literally worked on stm32f7 but i'd just say they are possibly a fastest as cpu prowess goes - superscalar (i.e. multiple concurrent instructions per clock cycle).https://www.st.com/resource/en/applicat ... ronics.pdf

and for mozzi to use the native stm32f4 or stm32f7 hardware fpu features. i'd think it would see speed improvements there.

i took a look at faust
https://faust.grame.fr/
and it seemed it is quite well featured in the academic circles and among those using it in research
https://www.youtube.com/watch?v=7w-DwwoFKhU
accordingly it can generate codes for embedded platform e.g. stm32f405 and hence it may be worth checking out as well.
https://www.striso.org/open/stm32f4-faust-target/
https://github.com/pierstitus/STM32F4-Synth

apparently someone has done something with stm32h7 and offered it as a product
https://www.electro-smith.com/daisy/daisy
https://github.com/electro-smith/DaisyExamples

as for the rest you may like to browse github repositories etc for them.
Thank you so much for the FAUST input!
Really many many thanks!
Post Reply

Return to “General discussion”