Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 18 of 18

Thread: Custom teensy 3.6 not work

  1. #1

    Custom teensy 3.6 not work

    Hi everybody,

    I created my custom teensy 3.6 card with a four layer PCB.

    I solder the essential for the power supply, the USB and the MKL02 that I have desolders of an original teensy 3.6 await the delivery MKL02 sold directly by PJRC that I buy. But delivery to France will put at least 2 weeks

    I have the signal on the USB port 0 but nothing happens when I connect to the pc and I press the button reset or reprogramming.

    I suspect the Load Capacitance of this crystals but I do not know how to rectify.

    https://lcsc.com/product-detail/SMD-...pm_C94279.html
    https://lcsc.com/product-detail/49S_...O_C114981.html

    The "MNI" will not be the cause of the problem and the welding is good quality but we never know.
    The vbat is powered by 3.3V.
    I tried Swapping the D + and D- signals on the USB connector.

    I buy the MK66 here and I tested 2.
    https://www.mouser.fr/ProductDetail/841-MK66FX1M0VMD18

    thank you in advance for your help

  2. #2
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,638
    https://www.pjrc.com/store/ic_mkl02.html -Scroll down that page for troubleshooting

  3. #3
    Thank you but I already read well and re read what was there on this page.

  4. #4
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,638
    Hm, please post your schematic and layout - maybe we can see the issue..

  5. #5
    Here are the parts of the circuit that pose problem. This is my first PCB custom so it's not very nice to see but it will function. And don't laugh
    I tried every combination with the reset and reprog button

    The reset of the PCB filled with other function and the part USB hub function has 100%. And the detention and well 5V and 3.3V. I have not yet check it at the oscilloscope.

    Click image for larger version. 

Name:	Capture.PNG 
Views:	47 
Size:	146.2 KB 
ID:	16017
    Click image for larger version. 

Name:	Capture2.PNG 
Views:	61 
Size:	147.3 KB 
ID:	16018
    Click image for larger version. 

Name:	Capture3.PNG 
Views:	35 
Size:	135.5 KB 
ID:	16019

  6. #6
    PS yes I noticed errors including the level of the retention of the usb 1 but nothing vital to the proper functioning of the MK66

  7. #7
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,166
    Looks like VREG_OUT is unconnected on your schematic.

    Pretty sure the USB can't work this way, even if you apply 3.3V to all the other VDD pins. The USB transceiver inside the chip gets its power from VREG_OUT. You need 3.3V power on that pin.

  8. #8
    Hoooo sh***

    In addition I had seen on the page of the store as it was necessary to connect this pin. I forgot it. Thank you Paul.

    I will try to connect it with some stuff.

    As we say here "j'ai le seum".

    Anyway thank you for your help. I hope the problem comes from there.

  9. #9
    Senior Member
    Join Date
    Nov 2012
    Posts
    273
    FE1.1S DP1 (11) connected to MK66 USB0_DM (H2)
    FE1.1S DM1 (10) connected to MK66 USB0_DP (H1)

    doesn't look right

  10. #10
    yes but I already try to cross the cables but it did not change anything.

    I will recommend a PCB with the correction on the voltage of the USB1, connect the DP pin on the DP and DM on DM. and connect the VREG_OUT.

    I have already made the changes but before that I would like to have your opinion about the crystals.

    And if you have any other suggestion do not hesitate . I would like to order it quickly.

  11. #11
    Hi everybody,

    I corrected the problem on my circuit board, that said my pc detect well something on the USB port but it is not the teensy.
    I don't know what it is and I don't know how to solve it.
    I try with all the combination with the reset button and reprogramming but nothing is done. The USB device is no longer visible when I press the reset button.
    I don't know if the reflow is good and if the MKL04 works well (The MKL04 comes directly from the teensy shop)

    Click image for larger version. 

Name:	Capture.PNG 
Views:	16 
Size:	12.9 KB 
ID:	16308
    Click image for larger version. 

Name:	PCB V410 cpu2 schemas.PNG 
Views:	24 
Size:	93.0 KB 
ID:	16309
    Click image for larger version. 

Name:	PCB V410 cpu2.PNG 
Views:	19 
Size:	104.0 KB 
ID:	16310

    Thank you in advance for your help

  12. #12
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,166
    Next step is to measure the voltage on the Program and Reset signals. Both are supposed to be 3.3V normally. When you press the button, it's supposed to short Program to 0 volts. The MKL02 chip is supposed to respond by pulling Reset low while Program remains low. So check that both really are going low while you hold the button pressed.

  13. #13
    Thank you very much for your help.

    The voltage goes well to 0 or 3.3volt in function of the position of my buttons

    I will check but it seems to me that this is actually what I had to observe, the reset does not pass low when the program goes low.
    And if it is the MKL02 that does not respond that would mean that the MK66 works well but not the MKL02 is that it?

  14. #14
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,166
    3.3V on the Program pin is good. That means the MKL02 chip was able to boot up and turned on its internal pullup resistor on that pin.

    Maybe some of the other signals aren't connected properly?

  15. #15
    Hi,
    At this time i have the case where the program pin is at 0volt. I was able to send a program once but after nothing.
    I tested all possible combinations with the button programe and reset but nothing happens. Is it possible that a fault on the MK66 blocks the proper functioning of the MKL02?

  16. #16
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,166
    Neither chip should cause the Program signal to be low. Program isn't even connected to the K66 chip at all.

    Only the pushbutton makes Program low.

    Maybe your board has been damaged somehow, like a piece of metal or debris causing that signal to short to GND?

  17. #17
    ok, I deepened my diagnosis.

    I did tests with 2 different MLK02 and tested the conections.

    The pin rest and Program it is well to connect to the MKL02 and it does not short to GND.
    When I feed the chips in 3.3volts the program pin while floating and the reset pin is at LOW (0 volt).

    I already tried to put a resistance pull up on the Rest pin and Program but the result is the same

  18. #18
    IT's WORKS!!!!

    I do not know why but by doing the measurements with my old oscilloscope on the MLK02 the MK66 is awake and all to work normally.
    Sometimes I had to start again for it to work again but now for a one week I do not need any more.

    I'm still not sure why but it works but it works

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •