![]() |
Forum Index : Microcontroller and PC projects : Micromite EXTREME b2: double precision
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10201 |
Geoff's underlying code in MMBasic is just extraordinary. I've just been able to convert all floating point arithmetic from single to double precision floating point (the PIC32MZ processor supports double precision in hardware) in less than 2 hours and half of that was finding all the instances of things like sinf() and changing them to the double precision version ![]() This really does open up a whole new set of applications where accurate trigonometry is essential and because the calculations are done in hardware they will still be much faster than the single precision calcs on the MX470 The new beta also changes a number of pin allocations to better match both the MX470 and ELLO 2016-11-17_132940_MicromiteEXTREMEV5.2b2X.zip E5 : 1 Analog / Digital / SSD1963-D5 E6 : 2 Analog / Digital / SSD1963-D6 E7 : 3 Analog / Digital / SSD1963-D7 G6 : 4 Analog / Digital / SPI2-CLK G7 : 5 Analog / Digital / SPI2-OUT G8 : 6 Console-RX / COM4-RX 7 VSS 8 3.3V 9 MCLR / 5V G9 : 10 Analog / Digital / PWM-1C B5 : 11 Analog / Digital / COM2-TX B4 : 12 Analog / Digital B3 : 13 Analog / Digital / COM2-RX B2 : 14 Analog / Digital / COM1-TX B1 : 15 Analog / Digital / COM1-EN B0 : 16 Analog / Digital / COM3-TX B6 : 17 Analog / Digital / COM3-RX B7 : 18 Analog / Digital / COM1-RX 19 : AVDD 20 : AVSS B8 : 21 Analog / Digital / COM3-RX B9 : 22 Analog / Digital B10 : 23 Analog / Digital / COUNT B11 : 24 Analog / Digital / SSD1963-WR 25 VSS 26 VDD B12 : 27 Analog / Digital / SSD1963-RS B13 : 28 Analog / Digital / SSD1963-RESET B14 : 29 Analog / Digital / PWM-1B B15 : 30 Analog / Digital / PWM-2B 31 Oscillator 12MHz C15 : 32 Digital 33 USB-VBUS 34 USB-VUSB 35 VSS 36 USB-D- 37 USB-D+ F5 : 38 Digital 39 VDD 40 VSS F4 : 41 Digital / 5V / KYBD-CLK F5 : 42 Digital / 5V / KYBD-DAT D9 : 43 Digital / 5V / I2C-SDA D10 : 44 Digital / 5V / I2C-SCK D11 : 45 Digital / 5V / SPI1-OUT D0 : 46 Digital / 5V / COUNT C13 : 47 Digital / SPI2-IN C14 : 48 Digital / PWM-1A D1 : 49 Digital / 5V / SPI1-CLK D2 : 50 Digital / 5V / SPI1-IN D3 : 51 Digital / 5V / COUNT D4 : 52 Digital / 5V / COUNT D5 : 53 Digital / 5V / PWM-2A 54 VDD 55 VSS F0 : 56 5V / Console-TX / COM4-TX F1 : 57 Digital / 5V E0 : 58 Digital / 5V / SSD1963-D0 59 VSS 60 VDD E1 : 61 Digital / 5V / SSD1963-D1 E2 : 62 Digital / 5V / SSD1963-D2 E3 : 63 Digital / 5V / SSD1963-D3 E4 : 64 Digital / 5V / SSD1963-D4 |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2932 |
![]() VGA by the end of the week then? ![]() |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2932 |
Peter, Is it safe to assume that the ICSP, power pins, and Oscillator pins will remain constant? Also the Console. I see that Rx has just changed to better match things. Do you think it is likely to change again on the 64pinner MZ OR is it too early to say? Amazing work from all involved. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10201 |
![]() Actually because we are using an external oscillator rather than a crystal pin 32 is available as a digital I/O pin No. The history is that it should have been 56 and 57 on the MX470 but 57 wouldn't work on that hardware so we had to go to 6. 57 does work on the MZ but I've been beaten up by Kiiid to revert to the MX configuration ![]() Irrespective of ELLO, he is probably correct anyway in terms of relaying the various MX470 PCBs as simply as possible |
||||
kiiid Guru ![]() Joined: 11/05/2013 Location: United KingdomPosts: 671 |
Sorry ![]() I really appreciate that and it will be best for the end user so we don't end up with two incompatible ports (PS. yes, although not announced officially, there are two ports as of today) http://rittle.org -------------- |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4034 |
Looking good. People who don't use C much often go on about how bad it is, yet here we see that isn't so if it's decently written. John |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10201 |
One final version for the moment. The pinout is now completely agreed with kiiid and should be stable. The changes are in COM1 and PWM2a I've also implemented the true random number generator that is a new part of the MZ chip I've ordered a SnadPic PCB for the PIC32MZ2048EFH100 and will check out the code on that before going much further. 2016-11-17_192648_MicromiteEXTREMEV5.2b4X.zip E5 : 1 Analog / Digital / SSD1963-D5 E6 : 2 Analog / Digital / SSD1963-D6 E7 : 3 Analog / Digital / SSD1963-D7 G6 : 4 Analog / Digital / SPI2-CLK G7 : 5 Analog / Digital / SPI2-OUT G8 : 6 Console-RX / COM4-RX 7 VSS 8 3.3V 9 MCLR / 5V G9 : 10 Analog / Digital / PWM-1C B5 : 11 Analog / Digital / COM2-TX B4 : 12 Analog / Digital B3 : 13 Analog / Digital / COM2-RX B2 : 14 Analog / Digital / COM1-EN B1 : 15 Analog / Digital / COM1-TX B0 : 16 Analog / Digital / COM3-TX B6 : 17 Analog / Digital / COM3-RX B7 : 18 Analog / Digital 19 : AVDD 20 : AVSS B8 : 21 Analog / Digital B9 : 22 Analog / Digital B10 : 23 Analog / Digital / COUNT B11 : 24 Analog / Digital / SSD1963-WR 25 VSS 26 VDD B12 : 27 Analog / Digital / SSD1963-RS B13 : 28 Analog / Digital / SSD1963-RESET B14 : 29 Analog / Digital / PWM-1B B15 : 30 Analog / Digital / PWM-2B 31 Oscillator 12MHz C15 : 32 Digital 33 USB-VBUS 34 USB-VUSB 35 VSS 36 USB-D- 37 USB-D+ F5 : 38 Digital 39 VDD 40 VSS F4 : 41 Digital / 5V / KYBD-CLK F5 : 42 Digital / 5V / KYBD-DAT D9 : 43 Digital / 5V / I2C-SDA D10 : 44 Digital / 5V / I2C-SCK D11 : 45 Digital / 5V / SPI1-OUT D0 : 46 Digital / 5V / COUNT C13 : 47 Digital / SPI2-IN C14 : 48 Digital / PWM-1A D1 : 49 Digital / 5V / SPI1-CLK D2 : 50 Digital / 5V / SPI1-IN D3 : 51 Digital / 5V / COUNT D4 : 52 Digital / 5V / COUNT D5 : 53 Digital / 5V / PWM-2A 54 VDD 55 VSS F0 : 56 5V / Console-TX / COM4-TX F1 : 57 Digital / 5V / COM1-RX E0 : 58 Digital / 5V / SSD1963-D0 59 VSS 60 VDD E1 : 61 Digital / 5V / SSD1963-D1 E2 : 62 Digital / 5V / SSD1963-D2 E3 : 63 Digital / 5V / SSD1963-D3 E4 : 64 Digital / 5V / SSD1963-D4 |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |