Home  |  Contents 

Microcontroller and PC projects
  Forum Index : Microcontroller and PC projects         Section
Subject Topic: Armmite (STM32F7) revisited Post ReplyPost New Topic
Page of 2 Next >>
Author
Message << Prev Topic | Next Topic >>
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2046
Posted: 03 April 2018 at 9:57pm | IP Logged Quote matherp





In preparation for the availability of the STM32H7 (400MHz). I've been working to get MMBasic running on the STM32F7. My development board is a Nucleo-F767ZI which other than the H7 is top of the STM line-up:

216MHz
2MB flash
512Mb RAM
Double precision FPU

In essence then it is very equivalent to the PIC32MZ.
In practice at 216MHz it is just marginally slower than the PIC at 252MHz, but considerably faster than the PIC at 200MHz.

What then are the advantages of the STM?

ARM core - so much more mainstream
Much better software infrastructure - free high quality IDEs and compilers
2 * 12-bit DACs so enhanced audio capability
Cheap development boards ideal for building into projects

The current status is that MMBasic is up and running with the latest Micromite version. SDcard support is fully implemented and uses the fast SDIO 4-bit parallel interface (this should also be possible on the PIC but the documentation and support for this is so poor that there is no evidence anyone has got it working).
Audio is fully implemented with support for WAV and FLAC file payback through the DACs, Tone generation and SAM test-to-speech (like the MMX). Programs can be downloaded through MMEdit or XModem and the editor is fully functional.

This cracks the hardest bits of the port but left to do are the wide range of other IO and TFT capabilities of the Micromite.

I'm changing the philosophy of the port slightly from the Micromite. As it will only run on 144-pin chips, it is sensible to allocate pins to dedicated functions - something I know Geoff has also considered for these larger chips. So the SDcard pins will be fixed and not available for other uses. Likewise the audio pins, I2C pins, SPI pins and probably PWM and interrupt pins. This will still leave 50+ pins for general I/O with around a dozen of them 12-bit analogue capable.

As always comments and ideas appreciated but not always actioned


Back to Top View matherp's Profile Search for other posts by matherp
 
lizby
Senior Member
Senior Member


Joined: 17 May 2016
Location: United States
Online Status: Offline
Posts: 163
Posted: 04 April 2018 at 12:07am | IP Logged Quote lizby

Sterling. Look forward to ongoing progress.

What is power consumption range so far?
Back to Top View lizby's Profile Search for other posts by lizby
 
sagt3k
Senior Member
Senior Member
Avatar

Joined: 01 February 2015
Location: Italy
Online Status: Online
Posts: 220
Posted: 04 April 2018 at 12:20am | IP Logged Quote sagt3k

Hi matherp
Do you think to continue to develop STM32F767? Or when you will pass to new STM32H7 you will abandon F7?
Ir would very interesting enable a external usb/drive as connected with a pc. Then use the internal flash to load the file to run.
The we can use load "A:xxx.bas", where A: is a minimsl flash disk dedicated for usb/flash
Btw great work
Thanks
Antonio

Edited by sagt3k on 04 April 2018 at 12:28am
Back to Top View sagt3k's Profile Search for other posts by sagt3k Visit sagt3k's Homepage
 
LouisG
Regular Member
Regular Member


Joined: 19 March 2016
Location: Australia
Online Status: Offline
Posts: 42
Posted: 04 April 2018 at 12:56am | IP Logged Quote LouisG


I'll second that.
Great work Matherp!

Back to Top View LouisG's Profile Search for other posts by LouisG
 
darthmite
Senior Member
Senior Member
Avatar

Joined: 20 November 2011
Location: France
Online Status: Offline
Posts: 236
Posted: 06 April 2018 at 1:49am | IP Logged Quote darthmite

Hi matherp

Great to see that you jump on the latest STM32 chip , i'm not sure but i think that
the 'old' STM-Mite project can be directly compatible with what you want do.
So you dont have to reinvent the well , just make it roll faster and better

Cheers.


__________________
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
Back to Top View darthmite's Profile Search for other posts by darthmite
 
Grogster
Guru
Guru
Avatar

Joined: 31 December 2012
Location: New Zealand
Online Status: Offline
Posts: 5722
Posted: 06 April 2018 at 8:38am | IP Logged Quote Grogster

Watching this thread with interest.

__________________
Smoke makes things work. When the smoke gets out, it stops!
Back to Top View Grogster's Profile Search for other posts by Grogster Visit Grogster's Homepage
 
JohnS
Guru
Guru


Joined: 18 November 2011
Location: United Kingdom
Online Status: Offline
Posts: 1637
Posted: 06 April 2018 at 4:28pm | IP Logged Quote JohnS

darthmite wrote:
Hi matherp

Great to see that you jump on the latest STM32 chip , i'm not sure but i think that
the 'old' STM-Mite project can be directly compatible with what you want do.
Who keeps the source for that - Geoff?

John

Edited by JohnS on 06 April 2018 at 4:30pm
Back to Top View JohnS's Profile Search for other posts by JohnS
 
darthmite
Senior Member
Senior Member
Avatar

Joined: 20 November 2011
Location: France
Online Status: Offline
Posts: 236
Posted: 06 April 2018 at 6:11pm | IP Logged Quote darthmite

When Uwe Becker is go away , Geoff and Matherp got the latest src. I have it probably too somewhere ... i will check that ...
It was for the stm32f7 discovery board (with sdram and screen on board).
The new STM32H7 Nucleo actually dont have sdram and screen , so you can chose yourself what to add (LCD , VGA Output tough R2R Dac , etc... )


__________________
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
Back to Top View darthmite's Profile Search for other posts by darthmite
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2046
Posted: 06 April 2018 at 10:30pm | IP Logged Quote matherp

The existing src was a port of Maximite not Micromite so not useful unfortunately
Back to Top View matherp's Profile Search for other posts by matherp
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2046
Posted: 11 April 2018 at 5:08am | IP Logged Quote matherp

First runs on STM32H743



Back to Top View matherp's Profile Search for other posts by matherp
 
darthmite
Senior Member
Senior Member
Avatar

Joined: 20 November 2011
Location: France
Online Status: Offline
Posts: 236
Posted: 11 April 2018 at 6:56am | IP Logged Quote darthmite

Hi Math , do you use the NUCLEO-H743ZI ?
I have ordered one last day , don't know when it come to home
Can you compare this bench with the PIC MX/MZ for see the diffs ?

Cheers.


__________________
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
Back to Top View darthmite's Profile Search for other posts by darthmite
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2046
Posted: 11 April 2018 at 7:42am | IP Logged Quote matherp

Quote:
do you use the NUCLEO-H743ZI ?


Yes, now in-stock at RS

Quote:
Can you compare this bench with the PIC MX/MZ for see the diffs ?


See this and this
Back to Top View matherp's Profile Search for other posts by matherp
 


Page of 2 Next >>
In the news...
 
Post ReplyPost New Topic
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.8
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.1094 seconds.
Privacy Policy     Process times : 0, 0, 0, 0.11