Breadboardable PIC32MZ?

Talk about anything you want!
rs2845
Posts: 20
Joined: Tue May 17, 2016 9:02 pm

Breadboardable PIC32MZ?

Post by rs2845 » Tue Dec 05, 2017 5:24 pm

Hi,

I've been giving it a go to solder my own TQFP PIC32MZ chips onto those breakout boards, however it's extremely difficult and my yields are extremely low and unreliable so I have given up. I am at a crossroads with a number of projects that are just too expensive right now to produce onto PCB's until I am 110% happy with the design. Current Chipkit boards with the MZ's are quite large and I can't stand the birds nest of jumper wires.

I was wondering if anybody knows of any breadboardable PIC32MZ2048EFH module, or if anyone has created their own of which they're willing to share the design that I can have produced.

Diligent make a PIC32MX version (http://store.digilentinc.com/cmod-bread ... er-module/), but sadly no PIC32MZ version!

User avatar
majenko
Site Admin
Posts: 2187
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Breadboardable PIC32MZ?

Post by majenko » Tue Dec 05, 2017 5:57 pm

I have something in the works that isn't actually breadboardable, but is small. It's a PIC32MZ2048EFG064 on a PCB with power circuitry, audio DAC and power amplifier. It has 6 GPIO connectors and a 6 pin boxed header for UART communication with other boards. It's designed as a specific product for a specific purpose, hence the lack of GPIO etc, but it is designed to be small.

I have thought about making a PIC32MZ equivalent to the Fubarino SD or the CUI32.

The problem with the MZ chips is they are all so big. There's nothing smaller than a 64 pin. I wish they'd make a "lite" version of the MZ in a 28 pin package (including DIP...)
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

User avatar
majenko
Site Admin
Posts: 2187
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Breadboardable PIC32MZ?

Post by majenko » Tue Dec 05, 2017 6:02 pm

Here's a pic of what I mean:
IMG_20171205_165802 (1).jpg
IMG_20171205_165802 (1).jpg (581.66 KiB) Viewed 103 times
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

rs2845
Posts: 20
Joined: Tue May 17, 2016 9:02 pm

Re: Breadboardable PIC32MZ?

Post by rs2845 » Tue Dec 05, 2017 10:32 pm

Really great that you're able to whip up custom boards like that! I envy your knowledge. How much does it cost roughly to get a PCB like that fully assembled? I am tempted to try it with a couple of my projects but I know it'll require modifications and then become redundant.

You think the 64 pin PIC32MZ2048EFH could fit onto the footprint of Diligent's design? Or I guess even straddle across two breadboards if it means extra GPIO.

If you ever do produce something like this, you've got a buyer right here. I've got a lot of projects that could use this kind of thing!

User avatar
majenko
Site Admin
Posts: 2187
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Breadboardable PIC32MZ?

Post by majenko » Tue Dec 05, 2017 11:13 pm

If / when I do design something like that it'd be based on the Fubrino SD. I did make one once, which I called the SDZL, with the exact same dimensions (though some slight differences to the pin orders IIRC), which would go in a breadboard just fine. I should dig out those old designs and update them. The reason I never released it was because the power system on the board really wasn't man enough for the job. I now have a much better (though more expensive) system that I use as standard. You can see it on the board above - the dual circuits just to the left of the MCU. One for 5V and one for 3.3V - each at up to 3A.

I'm actually redesigning that circuit at the moment to combine both the DAC and the audio amp into one chip - the TLV320DAC3101. Should reduce the complexity and size a little.

My standard charge for prototyping is $1200 plus BOM. That's $500 to design the circuit, $500 to lay out the PCB, and $200 + BOM to make up to 10 prototypes. That's for a normal small board like this - anything much bigger will cost more since it'll both be more work and the cost of the PCBs goes up. Also if it's overly complex and needs a 4-layer PCB that costs extra too.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

EmbeddedMan
Posts: 604
Joined: Tue May 24, 2011 9:24 pm
Location: Minneapolis, MN
Contact:

Re: Breadboardable PIC32MZ?

Post by EmbeddedMan » Tue Dec 05, 2017 11:57 pm

I made a Fubarino SDZ (MZ based Fubarino SD) board a number of years ago, which appeared to work just fine. Took the Fubarino SD board and plopped down a 64 pin MZ part. However, it doesn't have the slick power supply that Majenko's boards do.

I'd really like to update my SDZ board with better power supplies, and make it 4 layer (as 4 layer boards aren't that expensive) to get nice ground planes.

The big thing missing, at the moment, is a MZ based USB bootloader, but I think that may happen someday.

Majenko, mind if I copy your power supply circuit? Is there a good example I can easily lift it from?

*Brian

User avatar
majenko
Site Admin
Posts: 2187
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Breadboardable PIC32MZ?

Post by majenko » Wed Dec 06, 2017 12:16 am

Please do. All my designs are in gEDA though, and my own custom version, so you won't be able to open them.

I'll see if I can make a PDF of one of them, and maybe some gerbers or at least images to show the layout.

If you want to update your SDZ that'll mean I don't have to do my SDZL, which would be easier on me :)

I am using the MZ USB HID bootloader live on some of my boards now. It's working really well. So it's not just a "some day" - it's a reality.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

User avatar
majenko
Site Admin
Posts: 2187
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Breadboardable PIC32MZ?

Post by majenko » Wed Dec 06, 2017 12:22 am

Here's one of my projects that uses it. It's the most basic one - just the power circuit and some connectors.
As you can see it's a really really simple module to work with. Really easy to solder as well. I never get any issues with them.

Oh, and the resistors are 100K + 523K for 5V, and 100K + 309K for 3.3V.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

EmbeddedMan
Posts: 604
Joined: Tue May 24, 2011 9:24 pm
Location: Minneapolis, MN
Contact:

Re: Breadboardable PIC32MZ?

Post by EmbeddedMan » Wed Dec 06, 2017 2:36 pm

Fantastic! I'm really happy to hear about the bootloader. Is it fully integrated into pic32prog and Arduino IDE?

I'll start modifying the SDZ with the new power supply section, and we'll get some of them made.

rs2845 - I still have a couple of the older SDZs (which work fine, but you have to use a UART bootloader with them - FTDI cable) lying around. Would you like me to send you one or two?

*Brian

User avatar
majenko
Site Admin
Posts: 2187
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Breadboardable PIC32MZ?

Post by majenko » Wed Dec 06, 2017 3:03 pm

It's integrated into UECIDE, but the Arduino IDE may need a new tool creating for it. Yes, it uses pic32prog. It's also compiled from within UECIDE just like any sketch - you just need a special bootloader variant of the board that uses the right linker scripts - and making those linker scripts was a right royal pain in the posterior I can tell you... ;)

It uses my Flash library and the new USB stack, and it was actually very simple to write. It's based around AN1388 with a few enhancements.

You also need a new version of pic32prog because the current version in the wild has some nasty bugs WRT AN1388. Buffer overflows, truncated packets, etc. Not nice...
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

Post Reply