![]() |
Forum Index : Microcontroller and PC projects : Armmite (STM32F7) revisited
Page 1 of 2 ![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
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 StatesPosts: 3378 |
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: ItalyPosts: 313 |
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 |
||||
LouisG Senior Member ![]() Joined: 19/03/2016 Location: AustraliaPosts: 129 |
I'll second that. Great work Matherp! |
||||
darthmite![]() Senior Member ![]() Joined: 20/11/2011 Location: FrancePosts: 240 |
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 ZealandPosts: 9610 |
Watching this thread with interest. ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
Who keeps the source for that - Geoff? John |
||||
darthmite![]() Senior Member ![]() Joined: 20/11/2011 Location: FrancePosts: 240 |
When Uwe Becker is go away , Geoff and Matherp got the latest src. I have it probably too somewhere ![]() 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 KingdomPosts: 10310 |
The existing src was a port of Maximite not Micromite so not useful unfortunately |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
First runs on STM32H743 ![]() |
||||
darthmite![]() Senior Member ![]() Joined: 20/11/2011 Location: FrancePosts: 240 |
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 KingdomPosts: 10310 |
Yes, now in-stock at RS See this and this |
||||
sagt3k![]() Guru ![]() Joined: 01/02/2015 Location: ItalyPosts: 313 |
Hi matherp Concerning pin assignment, do you have any ideas already? Thanks Antonio |
||||
darthmite![]() Senior Member ![]() Joined: 20/11/2011 Location: FrancePosts: 240 |
Hi ![]() @matherp , I get the board ![]() 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: AustraliaPosts: 53 |
Another tester ready to go. ![]() |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
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 |
||||
gadgetjack Senior Member ![]() Joined: 15/07/2016 Location: United StatesPosts: 169 |
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 KingdomPosts: 10310 |
No, the 767 was only used to help develop the methodology for the port |
||||
gadgetjack Senior Member ![]() Joined: 15/07/2016 Location: United StatesPosts: 169 |
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: CanadaPosts: 268 |
Mine is on its way as well. ![]() The dealer asked statement that board will not leave outside Canada. ![]() Strange |
||||
Page 1 of 2 ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |