Custom board - MK20 micro not booting

Status
Not open for further replies.

Epyon

Well-known member
Hello all

I recently made a custom board based on the Teensy 3.1 schematic available from Paul. The board uses the MK20DX256VLH7 microcontroller together with the Mini54 TQFP chip from the PJRC store.

My schematic is an almost identical copy of the one of the Teensy 3.1, save for the on-board 3.3V regulator and a combined reset for both 3.3V en 5V logic (I have some 5V components on the board as well). However, when connecting the board via USB, nothing happens. The MK20 and Mini54 receive power but aren't booting: the MK20 USB interface isn't recognized by the computer, and even the clock crystal doesn't seem to be oscillating. It's the same when I power the board externally (not via USB).

I've added a flywire to connect VREGIN to the USBVCC, but this doesn't have any effect (VREGOUT reads 3.3V).

I've included the schematic below. I don't really see where I could have missed something. According to the MK20 manual, the chip doesn't require special power up routines, but even when it has power it just wont boot. I have two boards, but it's the same with both.

micro_schema.png

Any help would be much appreciated!

*update*
By adding a 0,1µF capacitor between VREGOUT and GND there is a slight improvement in functionality. When connecting the USB cable, the board still isn't recognized by the PC. However, when I now press the program button the board is recognized, but as a USB HID input device - not as a serial port..
 
Last edited:
The crystal I used indeed required load capacitors and resistor.

I think I solved this problem by adding capacitors to VUSB and VREGOUT, but it's been so long I don't really remember :p . I'll check if I can find the board again in my lab next week.
 
However, when I now press the program button the board is recognized, but as a USB HID input device - not as a serial port..

That's exactly how it's supposed to work. Teensy always uses HID protocol for uploading code, never serial like regular Arduino.

Do you have a Teensy board on-hand for comparison?
 
Status
Not open for further replies.
Back
Top