|Shopping Cart Checkout Shipping Cost Download Website|
|You are here: PJRC Store Discontinued MINI54 Chip|
Pre-programmed MINI54 Chip for DIY Teensy 3.0 Projects
Update: This MINI54 is not recommended for new designs. Use the MKL02/04 chip for new projects.
For developing projects, we highly recommend you use a Teensy board to get your code working.
By using this Mini54 chip and a blank MK20DX128VLH5 or MK20DX256VLH7, you can build your own Do-It-Yourself board that's compatible with Teensyduino and Teensy Loader. Either chip will work. The MINI54 will automatically detech which chip you've used and implement either Teensy 3.0 or Teensy 3.1.
These chips can also be very useful for modest volume production of a fully custom product developed using Teensy 3.0 or Teensy 3.1.
Required Connections: -------------------- TQFP QFN Signal MK20XXX Pin ---- --- ------ ----------- 38 26 P0.0 MK20 Pin 23 (PTA1) 33 22 P0.6 MK20 Pin 25 (PTA3) 34 23 P0.5 MK20 Pin 25 (PTA3) 32 21 P0.7 MK20 Pin 22 (PTA0) 37 25 P0.1 MK20 Pin 24 (PTA2) 9 7 P3.4 MK20 Pin 38 (PTB3) 10 8 P3.5 MK20 Pin 37 (PTB2) 8 6 P3.2 MK20 Pin 34 (Reset) 20 13 P5.2 Program Pushbutton 42 28 VDD +3.3V 43 AVDD +3.3V (TQFP only) 25 17 P2.5 Ground 47 32 P1.4 Ground 17 12 VSS Ground 5 AVSS Ground (TQFP only) 18 LDOCAP 0.1uF Capacitor to Ground (TQFP only) 33 VSS Ground (QFN only, connect center pad to ground) All other MINI54 pins should be left unconnected
Crystal GuidelinesTeensy 3.1 requires a 16 MHz crystal with a parallel load capacitance spec of 8 to 10 pF.
If an 18 pF rated crystal is used, two 20 pF capacitors should be added to the design.
The crystal should be located close to the MK20 chip. A ground plane should be placed underneath the crystal. If using a 2 layer PCB design, the ground plan for the crystal should NOT make any other connections to ground, other than the crystal case ground, capacitor grounds (if adding extra capacitance) and to the ground pin next to the crystal pins.
Never route any digital signal directly underneath the crystal (if disregarding the ground plane advice). PCB designs that violate these rules have experienced crashes or unreliable operation due to digital signals disrupting the crystal.
Avoid routing fast digital signals in parallel with either crystal trace. Normally this is a non-issue, because ground is on one side of the crystal pins and RESET is on the other side (RESET is safe, because it's held as a DC voltage while the chip runs). Fast digital signals can capacitively couple to either crystal signal, causing the oscillator stop or jitter, which can be particularly problematic if the internal phase-locked-loop is using the crystal as its timing reference.
Poor crystal layout has caused several custom PCB designs to fail. Be careful with the crystal layout!
TroubleshootingHere are conversations from people who've used the MINI54 to build their own boards. Many bits of troubleshooting advise and details are available in these forum threads!
Diagnosing an unresponsive board. This discussion has details about how to check if the MK20 and MINI54 chips are alive. If you use a contract manufacturer, make sure they do not buy & use blank MINI54 chips!
Component details, particularly layout guidelines for the crystal.
VREGOUT on the MK20 must be connected, even if you are supply 3.3V without using the MK20's built in voltage regulator.
Good decoupling is needed on the 3.3V line. Two people confirmed their boards started working with more/better capacitors on the 3.3V power.
Pins shorted together obviously can cause trouble. If using a contract manufacturer to assemble prototypes, make more than one board. Two or more for each comparison can help reduce chances a random construction error ruins your otherwise perfect design.
Swapping the D+ and D- signals on the USB connector causes a board with a Program and Reset signal both responding to the pushbutton (a sure sign the Mini54 works) to never actually communicate with Teensy Loader.
VBAT must be connected, even if the RTC feature is never used. When VBAT lacks power, a board may be detected by Teensy Loader and appear to program correctly, but won't actually boot up and reappear as a serial device or whatever other type was selected in Tool > USB Type when compiling the code.
Missing power connections on a connector between a 2-board design can cause really confusing problems.
Please understand the crystal start oscillating under software control. The oscillator is NOT automatically enabled at power-up or reset. It is perfectly normal for the crystal to not oscillate while the MK20 is held in reset state or before software activates the oscillator. The MK20 always boots up to a mode where it runs from an internal RC oscillator.
Thoughts on the business sense of making your own PCB at different volumes and points within the product lifecycle, particularly before establishing any sales trend or market demand. This technically isn't an issue with the Mini54 chip, but it's perhaps the most common "problem" with custom boards. Making your own PCB for learning or fun is always a good idea. Doing it for commercial goals can be too, but isn't necessarily always a good path.