MicroPython & PIC32 chips

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
circuit4u
Posts: 2
Joined: Tue Sep 27, 2016 1:42 pm

Re: MicroPython & PIC32 chips

Post by circuit4u » Wed Oct 19, 2016 8:28 pm

Hi,
Any progress porting MicroPython to PIC32?

I've got a nice PIC32MZ breakout board with bare minimum incidental complexity. (https://www.tindie.com/products/circuit ... out-board/)

It's crying out for a MicroPython port.

User avatar
yeti
Posts: 11
Joined: Fri Jul 03, 2015 1:10 am

Re: MicroPython & PIC32 chips

Post by yeti » Thu Oct 20, 2016 4:29 am

circuit4u wrote:I've got a nice PIC32MZ breakout board with bare minimum incidental complexity. (https://www.tindie.com/products/circuit ... out-board/)
It's crying out for a MicroPython port.
So are 2 Duinomite-Mini and 1 Duinomite-Mega collecting dust here.
They probably would be very happy to run MicroPython instead of DuinomiteBASIC or RetroBSD.

Maybe the toolchain from the RetroBSD project can be used?
I have a natural instinct for science. — D.J. Trump
"Don't we all wait for SOMETHING-ELSE-1.0?" — yeti
"Stay OmmmMMMmmmPtimistic!" — yeti

User avatar
bmarkus
Posts: 111
Joined: Tue Oct 21, 2014 5:58 am

Re: MicroPython & PIC32 chips

Post by bmarkus » Thu Oct 27, 2016 10:42 am

The PIC32MZ EF Curoisity board seems to be a great platform to port MicroPython, not only becuase of the powerful MCU but the connectivity of the board, specially the two mikroelektronika click sockets. For details see

http://ww1.microchip.com/downloads/en/D ... 05282A.pdf

I'm planning to grab one.
Tiny Core Linux (piCore) developer
HAM radio call: HA5DI (Béla)

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: MicroPython & PIC32 chips

Post by dhylands » Thu Oct 27, 2016 8:16 pm

If you're looking to run MicroPython quickly, you may want to consider this board instead:
http://www.mikroe.com/stm32/clicker-2/
which has an STM32F407 processor on it (same as is on the discovery and almost the same as the '405 used on the pyboard).

If you really want the PIC32 for other purposes, then don't let me dissuade you.

User avatar
bmarkus
Posts: 111
Joined: Tue Oct 21, 2014 5:58 am

Re: MicroPython & PIC32 chips

Post by bmarkus » Fri Oct 28, 2016 7:30 am

Hi Dave

thanks for the advice. It is a nice board with the click boards option and definitely deserves a MicroPython port. Probably it would be good to learn MP internals than a new architecture. However for the challeneg is to hav MP on PIC32MZ.

Béla
Tiny Core Linux (piCore) developer
HAM radio call: HA5DI (Béla)

User avatar
FuHOliver
Posts: 2
Joined: Tue Oct 31, 2017 7:15 am

Re: MicroPython & PIC32 chips

Post by FuHOliver » Thu Nov 02, 2017 7:42 pm

Hi Markus and all,

I am the original sponsor of the dsPIC 16 bit port ( https://github.com/micropython/micropyt ... s/pic16bit ). Admittedly we never really integrated that port into our code, but for our new PIC32MZ based motor, we will add Micropython and are working on that job right now.

At this stage we are yet sure even if we adapt the limited 16 bit PIC port Damien made to PIC32MZ , or if we take a 32 bit reference version. We will use this within Harmony and FreeRTOS, btw, but for our application Micropython will need to know almost nothing about PIC32 specific APIs, since the Python code will only talk to our motor controller library.

I am happy to keep you posted, resp. provide a MPLAB X project for PIC32MZ when available.

Oliver

vsapre
Posts: 2
Joined: Mon Feb 29, 2016 7:47 am

Re: MicroPython & PIC32 chips

Post by vsapre » Fri Jan 26, 2018 5:03 pm

Dear Oliver,

This is Great to hear. Please do keep us posted on your efforts to develop a port for PIC32.
Also, regarding the PIC16 port, does it limit the number of pins the MCU can have to 28 max? If yes, why this limitation?

Best Regards,
Vishal Sapre

Post Reply