Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:15 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Armmite (STM32F7) revisited

     Page 1 of 2    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 11:57am 03 Apr 2018
Copy link to clipboard 
Print this post





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
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 02:07pm 03 Apr 2018
Copy link to clipboard 
Print this post

Sterling. Look forward to ongoing progress.

What is power consumption range so far?

PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 02:20pm 03 Apr 2018
Copy link to clipboard 
Print this post

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
AntonioEdited by sagt3k 2018-04-05
 
LouisG
Senior Member

Joined: 19/03/2016
Location: Australia
Posts: 129
Posted: 02:56pm 03 Apr 2018
Copy link to clipboard 
Print this post


I'll second that.
Great work Matherp!

 
darthmite

Senior Member

Joined: 20/11/2011
Location: France
Posts: 240
Posted: 03:49pm 05 Apr 2018
Copy link to clipboard 
Print this post

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 ;)
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 10:38pm 05 Apr 2018
Copy link to clipboard 
Print this post

Watching this thread with interest.
Smoke makes things work. When the smoke gets out, it stops!
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4044
Posted: 06:28am 06 Apr 2018
Copy link to clipboard 
Print this post

  darthmite said   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?

JohnEdited by JohnS 2018-04-07
 
darthmite

Senior Member

Joined: 20/11/2011
Location: France
Posts: 240
Posted: 08:11am 06 Apr 2018
Copy link to clipboard 
Print this post

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 ;)
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 12:30pm 06 Apr 2018
Copy link to clipboard 
Print this post

The existing src was a port of Maximite not Micromite so not useful unfortunately
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 07:08pm 10 Apr 2018
Copy link to clipboard 
Print this post

First runs on STM32H743



 
darthmite

Senior Member

Joined: 20/11/2011
Location: France
Posts: 240
Posted: 08:56pm 10 Apr 2018
Copy link to clipboard 
Print this post

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 ;)
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 09:42pm 10 Apr 2018
Copy link to clipboard 
Print this post

  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
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 07:41am 11 Apr 2018
Copy link to clipboard 
Print this post

Hi matherp
Concerning pin assignment, do you have any ideas already?
Thanks
Antonio
 
darthmite

Senior Member

Joined: 20/11/2011
Location: France
Posts: 240
Posted: 08:45pm 12 Apr 2018
Copy link to clipboard 
Print this post

Hi

@matherp , I get the board , can you please tell me where i can get the project ?

cheers.

Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
 
astro1
Regular Member

Joined: 26/06/2016
Location: Australia
Posts: 53
Posted: 06:30am 21 Apr 2018
Copy link to clipboard 
Print this post

Another tester ready to go.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 01:06pm 21 Apr 2018
Copy link to clipboard 
Print this post

Here is the current binary posted with Geoff's agreement for the NUCLEO-H743ZI - Development Board. MMBasic should be working properly but there is no I/O yet configured and as summer has finally arrived in the UK it may be some time before I do more on this. The console is on the UART delivered through the ST-LINK port

2018-04-21_230631_STM32H743ZI_Nucleo.zip

Edited by matherp 2018-04-22
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 169
Posted: 04:29pm 27 Apr 2018
Copy link to clipboard 
Print this post

Does this also work on the F767 board? Your original post was for that board.
I may now have the wrong board to test this with.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 08:26pm 27 Apr 2018
Copy link to clipboard 
Print this post

  Quote  Does this also work on the F767 board? Your original post was for that board.


No, the 767 was only used to help develop the methodology for the port
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 169
Posted: 01:49am 02 May 2018
Copy link to clipboard 
Print this post

Got the right board today. Loaded and working fine. Thanks Matherp. Look forward to
any new updates later on. Enjoy your summer.
 
boss

Senior Member

Joined: 19/08/2011
Location: Canada
Posts: 268
Posted: 12:41am 16 May 2018
Copy link to clipboard 
Print this post

Mine is on its way as well.

The dealer asked statement that board will not leave outside Canada.

Strange
 
     Page 1 of 2    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025