Forum Rule: Always post complete source code & details to reproduce any issue!
Page 1 of 2 1 2 LastLast
Results 1 to 25 of 27

Thread: Teensy MicroMod

  1. #1
    Senior Member vjmuzik's Avatar
    Join Date
    Apr 2017
    Posts
    694

    Teensy MicroMod

    I couldnít help but notice the latest core updates on GitHub and Iím curious about this update here. I can only assume thereís going to be a Teensy 4.x with the Sparkfun MicroMod form factor, more specifically a different form factor for embedded projects. Is there any news on this that can be shared at this time besides whatís already viewable in the update?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,061
    Quote Originally Posted by vjmuzik View Post
    Is there any news on this that can be shared at this time besides whatís already viewable in the update?
    Officially, no news yet.

    Unofficially, good guesswork.

  3. #3
    Senior Member
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    1,219
    Wow, that is really great news. Do you plan to stick to the Adafruit pinout? Any rough idea when this will be ready? I need to do a board in a couple of weeks, would love to use/test this form factor.

  4. #4
    Senior Member brtaylor's Avatar
    Join Date
    Mar 2016
    Location
    Portland, OR
    Posts
    583
    Wow, great news! Especially if it has an industrial temperature range, or close to it, would be nice to use in commercial products.

  5. #5
    Senior Member
    Join Date
    Jul 2014
    Posts
    2,908
    would be interesting to see if flexibility of T4.1 (multiple I2S data ports, PSRAM could be mapped to Sparkfun form factor)
    I guess, I stick with T4.1 for some time.

    EDIT: OK I may change my mind if there is a camera connection (Sparkfun ML board)
    Last edited by WMXZ; 10-22-2020 at 08:33 PM.

  6. #6
    Senior Member
    Join Date
    Jan 2015
    Location
    UK
    Posts
    146
    Wow, interesting..

    The MicroMod M.2 connector has 75 pins. That means more IO pins from the Teensy can be brought out.
    Last edited by skpang; 10-22-2020 at 09:32 PM.

  7. #7
    Senior Member blackketter's Avatar
    Join Date
    May 2015
    Location
    San Francisco
    Posts
    308
    Quote Originally Posted by skpang View Post
    Wow, interesting..

    The MicroMod M.2 connector has 75 pins. That means more IO pins from the Teensy can be brought out.
    Definitely interesting!

    Looking here https://www.sparkfun.com/micromod#tech-specs at least 8 of those 75 pins are reserved for mechanical keying.

    And assuming that a MicroMod Teensy would be compatible with the other MicroMod carrier boards, many of the pins are already specified by that standard. Of course, if you want to design a carrier board specific to the Teensy MicroMod processor board, I'd expect you to be able to repurpose some of the pins (knowing which Teensy pin they correspond to.)

  8. #8
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,724
    SFUN MicroMod connector page says 67 pins.
    Code:
    5x M.2 MicroMod Connectors
    Key: E
    Height: 4.2mm
    Pin count: 67
    Pitch: 0.5mm
    Given Paul can't comment ... reading the tea leaves is fun ...

    ... first assumed the _mm.ld was a placeholder for the HAB work builds ... then saw this thread

    beta .ld suggests no PSRAM/EXTMEM - but a 16MB Flash - a WIP ... pin info split between 4.0 and 4.1

    ... Others available show room for bottom SMD's ...

    Supported Interfaces:
    Code:
    USB for programming and serial debug
    2x Analog Dedicated
    2x PWM Dedicated
    2x Digital I/O Dedicated
    12x GPIO
    2x I2C
    2x SPI
    2x UART
    SDIO
    USB-HOST
    CAN
    SWD
    PDM / PCM / I2S
    Differential ADC

  9. #9
    Senior Member
    Join Date
    Mar 2016
    Posts
    242
    Interesting to say the least. I wonder how ethernet would be handled. Hypothetically, of course.

  10. #10
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,928
    Looking at the GPIO pins defined in core_pins.h
    I believe pins: 0-33 match T4.1, 34-39 SDIO
    and pins 40-45 look like something different
    Pin Port-Pin
    34 3-15 SDIO? Note I converted GPIO6 back to 1... 7 to 2 8 to 3...
    35 3-14
    36 3-13
    37 3-12
    38 3-17
    39 3-16

    40 2-04
    41 2-05
    42 2-06
    43 2-07
    44 2-08
    45 2-09
    I don't see GPIO2-4 to GPI2-9 on T4 or T4.1...

    EDIT: 34 is fine, my excel was off...
    Last edited by KurtE; 10-23-2020 at 11:24 PM.

  11. #11
    Senior Member
    Join Date
    Jan 2015
    Location
    UK
    Posts
    146
    Looks like everybody is using the M.2 connector.

    Click image for larger version. 

Name:	nRF52840_M_2_Developer_Kit_Ė_makerdiary.jpg 
Views:	19 
Size:	108.5 KB 
ID:	22178
    Click image for larger version. 

Name:	particle.jpg 
Views:	13 
Size:	317.8 KB 
ID:	22179

  12. #12
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,928
    Again if I am looking at the pin data correctly
    40 2-04 are pins B0_04
    41 2-05 B0_05
    42 2-06 B0_06
    43 2-07B0_07
    44 2-08B0_09
    45 2-09 B0_09

    So that would probably imply we would have pins GPIO2 pins 0-12, 16-19, 28-29 So pretty nice port IO for this one.

  13. #13
    Senior Member
    Join Date
    Mar 2016
    Posts
    242
    I have only a surface understanding of the core code so I could be wrong but looking at the github page, it appears the hypothetical micromod board would have fewer analog and digital I/O pins than the T4.1. Is that right? I assume that the 55 digital for the T4.1 include memory and SD card pins.

    Code:
    #if defined(ARDUINO_TEENSY40)
      #define NUM_DIGITAL_PINS  40
      #define NUM_ANALOG_INPUTS 14
    #elif defined(ARDUINO_TEENSY41)
      #define NUM_DIGITAL_PINS  55
      #define NUM_ANALOG_INPUTS 18
    #elif defined(ARDUINO_TEENSY_MICROMOD)
      #define NUM_DIGITAL_PINS  46
      #define NUM_ANALOG_INPUTS 14
    #endif
    Looking forward to seeing a pinout definition for MM board.

  14. #14
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,928
    That would be my guess, but again this is a beta build for a non-announced maybe will be released product which may or may not be final....

    The only other thing we know is looking at what the MicroMod connector looks like, example extract from their Carrier board schematic:
    Click image for larger version. 

Name:	screenshot.jpg 
Views:	23 
Size:	51.6 KB 
ID:	22197

    As for which of the Teensy pins connect to each of these pins, I could guess on a reasonable number of them, but best thing to do is wait and see.

    Obviously there are many details that we can only guess at. For example does it have external PSRAM? So far does not look like it as the startup code does not call the code to initialize it, BUT: also could be that just has not been updated yet. But it also looks like the flash will be twice as big, but again that is all of these details could change.

  15. #15
    Senior Member
    Join Date
    Mar 2016
    Posts
    242
    Yes, wait and see is good advice. Though, having a product based on the T4.1, I am keenly interested in this development. I think I see the potential for a pony in there.

  16. #16
    Senior Member
    Join Date
    Jan 2015
    Location
    UK
    Posts
    146
    There is a spreadsheet of the pinout but Teensy is not on there:

    https://docs.google.com/spreadsheets...J8k/edit#gid=0

  17. #17
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,061
    Quote Originally Posted by KurtE View Post
    Obviously there are many details that we can only guess at. For example does it have external PSRAM? So far does not look like it as the startup code does not call the code to initialize it, BUT: also could be that just has not been updated yet. But it also looks like the flash will be twice as big, but again that is all of these details could change.
    Unofficially of course, the code is pretty unlikely to change.

  18. #18
    Senior Member+ manitou's Avatar
    Join Date
    Jan 2013
    Posts
    2,593
    I've briefly played with the sparkfun M4/SAMD51 micromod processor board and the ATP carrier board. The M4 board has the SPI flash on the underside. I assume the Teensy 4 micromod board will have the 16 MB SPI flash on the underside, and along with the 1062 chip there will be the MKL boot chip, crystals (24MHz and 32KHz), pin 13 LED. Will there be room for Ethernet PHY chip and ribbon-cable connector on the processor board??

    The carrier board brings out JTAG, so JTAG enthusiasts may have access to T4 JTAG ? The ATP carrier also has USB host connection along with JST/LiPo and many data pins.

    The microSD on the data logging carrier board can be controlled by SDIO me thinks... or maybe just SPI ?

    T4 micromod should be interesting.
    Last edited by manitou; 10-25-2020 at 11:59 PM.

  19. #19
    Senior Member blackketter's Avatar
    Join Date
    May 2015
    Location
    San Francisco
    Posts
    308
    I sincerely hope that the MicroMod pin labelled RESET# is a real old-fashioned cpu reset pin as described in the MicroMod pin description.

  20. #20
    Senior Member
    Join Date
    Mar 2016
    Posts
    242
    I wonder if, instead of the 6 pin header, all the ethernet pins (R+, R-, T+, T- and LED) go through the micromod pins. They push USB D+ and D- through them so differential pairs are possible.

  21. #21
    Senior Member blackketter's Avatar
    Join Date
    May 2015
    Location
    San Francisco
    Posts
    308
    Quote Originally Posted by PhilB View Post
    I wonder if, instead of the 6 pin header, all the ethernet pins (R+, R-, T+, T- and LED) go through the micromod pins. They push USB D+ and D- through them so differential pairs are possible.
    If they did then it probably wouldn't be MicroMod compatible. The MicroMod pinout here https://www.sparkfun.com/micromod#tech-specs doesn't have any provision for ethernet pins.

  22. #22
    Senior Member
    Join Date
    Mar 2016
    Posts
    242
    Well, I'm not sure how strict that is. The SFE docs say you don't have to adhere to the pinouts. Honestly, the same 2x3 ethernet header on the compute board would decrease my interest level. At least with the T4.1, I can bring that through to the base board and make for a secure connection. In my product's intended environment, pin headers are not appreciated.

  23. #23
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,724
    The new beta _MM.ld doesn't show space for QSPI PSRAM - maybe no room on board for that pinout? Would be proper awesome though.

    Would be nice if the PHY chip and 6 pins fit on the TeensyMM card, but space is tight - magjack could reside on the base board.

    Not sure RESET on 1062 can be done - or it would be on the current 4.x's. Expect that will be Teensy Program - otherwise it won't act like a Teensy?

  24. #24
    Senior Member blackketter's Avatar
    Join Date
    May 2015
    Location
    San Francisco
    Posts
    308
    Quote Originally Posted by PhilB View Post
    Well, I'm not sure how strict that is. The SFE docs say you don't have to adhere to the pinouts. Honestly, the same 2x3 ethernet header on the compute board would decrease my interest level. At least with the T4.1, I can bring that through to the base board and make for a secure connection. In my product's intended environment, pin headers are not appreciated.
    Sorry, can you point me to the SFE docs? I'm not seeing them...

  25. #25
    Senior Member blackketter's Avatar
    Join Date
    May 2015
    Location
    San Francisco
    Posts
    308
    Quote Originally Posted by defragster View Post
    The new beta _MM.ld doesn't show space for QSPI PSRAM - maybe no room on board for that pinout? Would be proper awesome though.

    Would be nice if the PHY chip and 6 pins fit on the TeensyMM card, but space is tight - magjack could reside on the base board.

    Not sure RESET on 1062 can be done - or it would be on the current 4.x's. Expect that will be Teensy Program - otherwise it won't act like a Teensy?
    There are two relevant pins in the MicroMod specification:

    RESET - Input to processor. Open drain with pullup on processor board. Pulling low resets processor.

    and

    BOOT - Input to processor. Open drain with pullup on processor board. Pulling low puts processor into special boot mode. Can be left NC.

    My expectation was that BOOT would be used for the PROG pin that puts the teensy into programming mode.

    I suppose that the RESET pin could be a Teensy 3.2-style reset pin or a Teensy 4.0 ON/OFF pin. To support a T3.2 style reset this would probably require some integration with the bootloader chip.

Posting Permissions

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