![]() |
Forum Index : Microcontroller and PC projects : Micromite EVEN MORE eXtreme
Page 1 of 3 ![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
After discussions with Geoff and WhiteWizard, we have decided to drop support for the 64-pin PIC32MZ and instead include support for the 144-pin variants including 252MHz operation. Basically, there were too many compromises on pin usage with the 64-pin chip given the likely uses for the eXtreme and enhanced functionality that is planned for the future. The 252MHz version will only run on the EFH variants of the MZ chips specifically sold as 250MHz compatible. 2016-12-30_195248_200.zip 2016-12-30_195304_252.zip The 144-pin MZs are available in a TQFP package with 0.5mm pin spacing so can be hand-soldered relatively easily. A backpack for a 7" SSD1963 display using the 144-pin chip is in the final stages of development. Schematic attached. 2016-12-31_101208_schematic.pdf There are two enhancements in this software release: support for BLIT on VGA, SSD1963, and ILI9341 displays and the implementation of a second I2C channel. In addition a heartbeat has been implemented (pin 99 on the 100-pin chip, pin 19 on the 144-pin chip). This outputs a continuous 0.5HZ pulse to demonstrate that the Micromite firmware is running. At the moment this function allocates the pin and it cannot be used for anything else. In a future release it will be possible to disable this and use the pin as a normal digital I/O. The second I2C channel is accessed exactly the same as the original but using the command I2C2 rather than I2C To use BLIT on the SSD1963 the RD pin must be connected and specified in the OPTION command OPTION LCDPANEL SSD1963_x, orientation, [backlight pin] , [RD pin] e.g. OPTION LCDPANEL SSD1963_5, L,, 30 To use BLIT on the ILI9341 the SDO(MISO) pin must be connected to SPI2IN See the following videos for BLIT in action SSD1963 VGA ILI9341 The syntax of the BLIT command is as follows: BLIT READ #n, x, y, w, h ‘read the contents of the display into buffer number n, if #n is in use then you get an error BLIT WRITE #n, x, y, w ,h ‘write the contents of the buffer number n to the display, if #n isn’t in use then you get an error BLIT CLOSE #n ‘ release buffer number 1, if #n isn’t in use then you get an error BLIT x1, y1, x2, y2, w, h, ‘move the screen area from x1, y1, w, h to x2, y2, w, h. BLIT READ is of course limited by available memory. BLIT is not limited as the firmware will optimise available memory to run as fast as possible and then release it at completion of the command. There are 8 BLIT buffers available: #1 - #8. The pinout for the 144-pin chip is given below. 100-pin pinout |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 3998 |
Where does this leave kiiid (Kon) and the MZEF64 plus anyone who's bought them? John |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
The previously released firmware (pre-VGA) will continue to work on the 64-pin. I'm not aware of any bugs in the specific MZ port itself. kiiid has his own port to the 64-pin MZ and I believe this is his long term platform for the ELLO but he should comment on that rather than me. Update I've found video read in BLIT at 252MHz was too fast for some SSD1963 displays although it worked fine on others. This version adds one extra wait state to improve compatibility. In addition both versions should give improved stability of the VGA display. Finally, I've added a command to enable (default) or disable the heartbeat OPTION HEARTBEAT DIS[EN]ABLE 2017-01-02_081329_252.zip 2017-01-02_081346_200.zip |
||||
Cremo Newbie ![]() Joined: 21/07/2015 Location: ItalyPosts: 36 |
Hello, congratulations and thank you for your wonderful work. I would like to know wich version of the EXTEME version is correct for mu SnadPIC that have a PIC32MZ2048EFH installed. It is necessary to remove the 24MHz oscillator and install a 12MHZ unit ? Thank you and best wishes for the New Year. Pietro Cremonini |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
The 200MHz version above will work best. Use the command OPTION SDCARD 81, 59, , 3 to enable the onboard SD card No: all my code is now 24MHz only |
||||
Cremo Newbie ![]() Joined: 21/07/2015 Location: ItalyPosts: 36 |
Thank you it works. I have another question: in the past days I did tests with your FFT CFunction. It works quite well with 5.2 version (I used to acquire data the Cfunction (CFunction readADCtoArray) written by twofingers for a scope. I acquired 4096 samples and after did the FFT. I wanted to use the new version of BASIC but the FFT CFunction does not work and of course the same does the readADCtoArray. Are you so kind to help me (I am not able to modify the CFunctions myself). Thank you. Pietro |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
The ADC on the MZ is completely incompatible with the MX so it is a big job to convert the ADC code. I'm sorry but this isn't something I could look at for quite a while. The FFT should be relatively easy though. What sample rate are you running the ADC? It may be better to put a multi-sample capability directly into the firmware. |
||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2946 |
Peter, Wonderful work on the Extreme. I wonder is it possible to implement and COM2-EN signal? Kind Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Cremo Newbie ![]() Joined: 21/07/2015 Location: ItalyPosts: 36 |
Hi Peter, I understand that is a big job converting the ADC code. When you have spare time (I fear never) I would be very glad if you do it. I am not in a great hurry. I would like to acquire signal in the audio range so a sampling rate of about 50kHz is enough. I need to acquire 4096 o maybe 8192 samples ti obtain a fair resolution at low frequencies. My setup will be: Samples acquisiton (after low pass filtering with an antialiasing filter), window function, FFT, graph. All to do some measurement of response using pink noise as stimulus. I know well that ther are very good programs running on PC that do this very well, but my dream is to have an autonomous unit. I am a retired engineer, quite old, and now work only for my pleasure. I you have time to modify the FFT for now it is useful as I can test the noise produced by algorithm itself. Best regard. Pietro |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1965 |
Looking at the schematic the part no for the micro is I/PL which is a LQFP package with dimentions of 20mmX20mm. According to the data sheet the TQFP is only 16mmX16mm which would be tighter pin spacing. I ordered a TQFP package in anticipation of the backpack, but now think I may have ordered the wrong package. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2927 |
Hi Paul, The correct part required for the 'upcoming' PCB is the 20mmx20mm LQFP part which as you correctly pointed out is the I/PL part number. The LQFP has 0.5mm pitch, whilst the 16mmx16mm TQFP has 0.4mm pitch Hope this helps confirm things for you ![]() WW |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1965 |
Looks like I have ordered the wrong part, an expensive mistake. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2399 |
paul: it looks like the part number you want is: PIC32MZ2048EFH144-250I/PL 144-pin LQFP -40C to +85C TRAY $13.16 from microchip's site it looks like the 250MHz version is not available with extended (+125C) temperature range. it is also limited to "EFH" (2x CAN, no crypto engine), tray packaging (no tape/reel). the "250I/PL" is the important bit, specifying 250MHz speed and LQFP (0.5mm pin spacing). cheers, rob :-) |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
Paul I'm sorry you have ordered the wrong part. It is though correctly specified in the schematic I posted. Perhaps they will swap them for you? TQFP just means thin quad flat pack and to me doesn't imply anything about the pin spacing or overall size - I'm very sorry if I misled you |
||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2946 |
GDay Peter, All, Your pinout for the 100 pinner has two PWM1A pins listed (pin 73 and Pin 82) Kind Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2927 |
Well spotted Mick. There has been several changes along the way so the odd 'typo' is to be expected whilst testing is ongoing. Peter is going to have to confirm which is the correct pin since I have only been playing with the 144pin eXtreme. EDIT: Pin 73 correct, NOT 82 (just seen an email from Peter) ![]() |
||||
Cremo Newbie ![]() Joined: 21/07/2015 Location: ItalyPosts: 36 |
Hi Perer, I know that I am a little boring, but I would like to remind you my desiderata: 1) a FFT for the MZ chip and (more difficult) 2) a CFunction for the new A_D converter. When you have some spare time ...... For myself it is a too difficult job. Let me know. Pietro P.S. Do you like Italian Wine ? I am trying to corrupt you ! |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2927 |
I am corruptible! So how many MMX Modules should I send you ![]() MMX PCBs are still showing as in Hong Kong ![]() |
||||
Cremo Newbie ![]() Joined: 21/07/2015 Location: ItalyPosts: 36 |
Hi WhiteWizzard, maybe if the MMX modules are "tasty" to me, maybe........ Best regards. Pietro |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2927 |
Great news - the MMX144 PCBs have arrived and look very nice. ![]() I have left home early this morning and am at a trade show all weekend. As soon as I am back I will post a picture. Construction of pre-orders will begin on Monday morning so will start shipping from Tuesday next week! WW |
||||
Page 1 of 3 ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |