Vintage Battlezone on a stm32f4

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
Post Reply
gadget999
Posts: 32
Joined: Wed May 20, 2015 4:27 pm

Vintage Battlezone on a stm32f4

Post by gadget999 » Sun Jun 21, 2015 11:03 am

Interesting project here with the battlezone game and its vector graphics


https://www.google.co.uk/url?sa=t&sourc ... cL2ZX0Fhgg

I dont know much about the stm32f4 what is the advantage over a stm32f1 ?

User avatar
RogerClark
Posts: 7538
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Vintage Battlezone on a stm32f4

Post by RogerClark » Sun Jun 21, 2015 12:03 pm

STM32F4 devices can be substantially faster than the 103, i think max clock is something like 180mhz insteadnof 72mhz on the 103.
The F4 is a cortex M4 and has floating point instructions, albeit only single precision.

it could be for vector graphics, that the floating point speed is important.

btw. mid to high range F103s have 2 DACs, so i suspect that this sort of thing would be possible on F103.

gadget999
Posts: 32
Joined: Wed May 20, 2015 4:27 pm

Re: Vintage Battlezone on a stm32f4

Post by gadget999 » Sun Jun 21, 2015 7:32 pm

should we be focusing on the stm32f4 over the stm32f1 ?

the are pretty cheap and come shield ready ?

http://www.ebay.co.uk/itm/NUCLEO-F411RE ... 3f4178b071

User avatar
sheepdoll
Posts: 238
Joined: Fri May 22, 2015 12:58 am
Location: Silicon Valley Vortex
Contact:

Re: Vintage Battlezone on a stm32f4

Post by sheepdoll » Sun Jun 21, 2015 7:57 pm

gadget999 wrote:should we be focusing on the stm32f4 over the stm32f1 ?

the are pretty cheap and come shield ready ?

http://www.ebay.co.uk/itm/NUCLEO-F411RE ... 3f4178b071
Most of the members here are happy with the F103. This also comes in the Nucleo form factor. The Maple Libs is a mature project so the focus currently is on that.

An EXPERIMENTAL educational F4 branch is at https://github.com/sheepdoll/HALMX_Ardu ... e/testing/ This uses the CMSIS and HAL abstractions to handle the hardware setup. Configurations being done through the STM32CubeMX tool.

There have been a number of attempts (see the cores thread) to port the Maple Libs to the F4. As the underlying register access for alternate functions and pin mapping is different, such variations require extensive re-writing of the lower level codes.
Last edited by sheepdoll on Mon Jun 22, 2015 1:20 am, edited 2 times in total.

User avatar
RogerClark
Posts: 7538
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Vintage Battlezone on a stm32f4

Post by RogerClark » Sun Jun 21, 2015 9:25 pm

I think that the reason that the F4 is not as popular as the F1 is primarily the cost and availability of F103 vs the F4.

There are a lot more F103 board types available than there are F4.

Most of the F4 boards that I see advertised in eBay and Aliexpress as STM Discovery and STM Nucleo. I'm not sure if its possible to get an F4 based board for under $15 to $20.
Where as there are a plethora of F103 board (mostly being made in China), which range in price from around $5.

i think the other reason that the F4 is less popular, is that its getting into the territory of the Raspberry PI ( and others of that ilk, like the Beaglebone Black).

i.e the sorts of physical applications that need the performance of the F4, e.g. still and video camera interface and processing, or audio and internet etc - tend to need a lot more RAM etc.

At the moment the F103 appears to be the sweetspot, in price , performance, different form factors, and availability.

This of course may change, and we may see an increase int the number of F4 boards of different being produced, but its not happened yet.

User avatar
mrburnette
Posts: 2013
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: Vintage Battlezone on a stm32f4

Post by mrburnette » Sun Jun 21, 2015 11:08 pm

At the moment the F103 appears to be the sweetspot, in price , performance, different form factors, and availability.
On a lighter note, it is the ONLY board that lets one construct a Pig-O-Scope for under $10 USD :roll:

Ray

Post Reply