|
Forum Index : Microcontroller and PC projects : MMX5.04.18: High speed frequency counter
| Author | Message | ||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10572 |
Please find attached version 5.04.18 for the 100/144 pin chips 2018-08-31_022540_MMX5.04.18.zip and the 64-pin chip 2018-08-31_022618_MMX645.04.18.zip Manual 2018-08-31_024031_Micromite_eXtreme_Manual.pdf This version includes various bug fixes as per MM+ 5.04.09 as well as new functionality supporting high speed counter/timer functionality. The idea for this is copied from code I developed for the the Armmite H7 but it works just as nicely on the MMX. Notice how using the counter mode with a pause gives a slight over-count as the counter continues to increment whilst the pause and print statements are parsed and executed (34 uSec). PAUSE statements in the MM2 greater than 2 milliseconds can be too short by anything between 0 and 1 milliseconds (0 and 500uSsec for the MM+). The MMX code corrects for this and pause statements will be exact other than the time taken to execute the statement. ![]() Pins for the high speed counter are: 64-pin - 52 'NB conflicts with Mouse data 100-pin - 58 'NB conflicts with COM3-RX 144 pin - 80 'NB conflicts with COM3-RX |
||||
| PicFan Senior Member Joined: 18/03/2014 Location: AustriaPosts: 133 |
Hi Peter ! Thanks for the new version and the new feature. I would have 2 questions please: 1.) I think the "CFunction CPUspeed" works only with the 28 and 44 pin MM right? I get with the mm + and the mm-extreme wrong values. 2.) The "CFunction InternalTempRead" does not work correctly with any version anymore? Is that so, or is the mistake with me? Thanks and best regards Wolfgang |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10572 |
Please find attached version 5.04.19 for the 100/144 pin chips 2018-09-26_023336_MMX5.04.19.zip and the 64-pin chip 2018-09-26_023401_MMX645.04.19.zip This fixes a serious bug in string handling found on the Armmite H7. This seems to relate to either a cacheing issue or a bug introduced in a recent compiler update as the bug does not occur on the MM2 or MM+ despite running identical code This update is highly recommended! |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |