Forum Rule: Always post complete source code & details to reproduce any issue!
Page 40 of 41 FirstFirst ... 30 38 39 40 41 LastLast
Results 976 to 1,000 of 1020

Thread: MicroMod Beta Testing

  1. #976
    Senior Member
    Join Date
    Apr 2014
    Location
    -
    Posts
    9,756
    I have no MM, and can't test anything, but it think it's fixed. If not.. well, then not.

    Note, from now on, I don't support this lib anymore. You can still download or use it - but very likely there will be no updates anymore.
    This basic functionality has to be in the core. Not in a lib. Have no idea why it is *still* not in the core.

    I'll archive the repo.
    Last edited by Frank B; 10-09-2021 at 08:08 PM.

  2. #977
    Quote Originally Posted by KurtE View Post
    Thanks Paul,

    Should arrive here later this week

    In the Mean time I have updated my Teensy 4 excel document up on github with more MicroMod pages/updates.
    https://github.com/KurtE/TeensyDocum...y4%20Pins.xlsx
    .....
    Hi, i have connected a wiznet w5500 to SPI1(3) but having problems communicating, is there a chance CS0 and MISO are swapped in your document?
    MM pins 17, 19, or Teensy pins 0, 1
    Click image for larger version. 

Name:	csmiso.png 
Views:	18 
Size:	23.6 KB 
ID:	27054

  3. #978
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,574
    is there a chance CS0 and MISO are swapped in your diagram?
    Yup, looks like those SPI functions may be mis-labled. The pin with Serial1 transmit has MISO as an alternate peripheral function.

    Looking at pin 17:

    MicroMod M.2 pin 17
    Teensy pin 1
    NXP pin AD_B0_02
    peripherals (Teensy pinout card): TX1, MISO1, CTX2, PWM

    AD_B0_02 mux documentation from the NXP reference manual (pages 471-472):

    Click image for larger version. 

Name:	screenshot.png 
Views:	19 
Size:	144.8 KB 
ID:	27055

    Where is this particular schematic located? The schematic of Sparkfun's website doesn't show those SPI names.

  4. #979
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    8,288
    Was just about to ask the same question - went searching the Sparkfun site and looking at the schematic in post 1 and haven't been able to find that schematic. Also not sure what carrier board you are using but on the ATP carrier board I have been using this, if it helps:

    Click image for larger version. 

Name:	Picture1.jpg 
Views:	24 
Size:	122.0 KB 
ID:	27056

  5. #980
    I have made my own carrier board, and was using KurtE's documents to make my own schematic symbols:
    https://github.com/KurtE/TeensyDocum...Mod%20Pins.pdf

  6. #981
    Seems to be wrong in KurtEís Excel as well. No wonder I was having issues using SPI1.

    https://github.com/KurtE/TeensyDocum...Mod%20Pins.pdf

  7. #982
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,796
    It is possible that there are some problems with my excel document, that was mentioned... although not sure if there is, on which page?
    Code:
    Pin	MM Pin	Name	GPIO	Serial	I2C	SPI	PWM	CAN	Audio	XBAR	FlexIO	Analog	SD/CSI/LCD
     0	19	AD_B0_03	1.3	Serial1(6) RX		SPI1(3) CS0	PWM1_X1	2_RX		IO-17			
     1	17	AD_B0_02	1.2	Serial1(6) TX		SPI1(3) MISO	PWM1_X0	2_TX		IO-16			
     2	47	EMC_04	4.4				PWM4_A2		2:TX_DATA	IO-06	1:4		
     3	32	EMC_05	4.5				PWM4_B2		2:TX_SYNC	IO-07	1:5		
     4	10	EMC_06	4.6				PWM2_A0		2:TX_BCLK	IO-08	1:6		
    5	18	EMC_08	4.8				PWM2_A1		2:RX_DATA	IO-17	1:8		
    6	71	B0_10	2.10				PWM2_A2, QT4_1		1:TX3_RX1		2:10		LCD_DATA6
    7	56	B1_01	2.17	Serial4(4) RX			PWM1_B3		1:TX_DATA	IO-15	2:17, 3:17		
    8	54	B1_00	2.16	Serial4(4) TX			PWM1_A3		1:RX_DATA	IO-14	2:16, 3:16		
     9	69	B0_11	2.11				PWM2_B2,QT4_2		1:TX2_RX2		2:11		LCD_DATA7
    10	55	B0_00	2.0			SPI(4) CS0	QT1_0		MQS_RIGHT		2:0     		LCD_CLK
    11	59	B0_02	2.2			SPI(4) MOSI	QT1_2	1_TX			2:2		LCD_HSYNC
    12	61	B0_01	2.1			SPI(4) MISO	QT1_1		MQS_LEFT		2:1     		LCD_ENABLE
    13	57	B0_03	2.3			SPI(4) SCK	QT2_0	1_RX			2:3		LCD_VSYNC
    14/A0	34	AD_B1_02	1.18	Serial3(2) TX			QT3_2		SPDIF_OUT		3:2	A1:7, A2:7	
    15/A1	38	AD_B1_03	1.19	Serial3(2) RX			QT3_3		SPDIF_IN		3:3	A1:8, A2:8	
    16/A2	20	AD_B1_07	1.23	Serial2(3) RX	Wire2(3) SCL				SPDIF_EXTCLK		3:7	A1:12, A2:12	USDHC2_DATA3
    17/A3	22	AD_B1_06	1.22	Serial2(3) TX	Wire2(3) SDA				SPDIF_LOCK		3:6	A1:11, A2:11	USDHC2_DATA2
    18/A4	12	AD_B1_01	1.17	Serial3(2) RTS	Wire(1) SDA		QT3_1				3:1	A1:6, A2:6	
    19/A5	14	AD_B1_00	1.16	Serial3(2) CTS	Wire(1) SCL		QT3_0				3:0	A1:5, A2:5	
    20/A6	52	AD_B1_10	1.26	Serial5(8) TX					1:RX_SYNC		3:10	A1:15, A2:15	
    21/A7	50	AD_B1_11	1.27	Serial5(8) RX					1:RX_BCLK		3:11	A1:0, A2:0	
    22/A8	49	AD_B1_08	1.24				PWM4_A0	1_TX			3:8	A1:13, A2:13	USDHC2_CMD
    23/A9	58	AD_B1_09	1.25				PWM4_A1	1_RX	1:MCLK		3:9	A1:14, A2:14	USDHC2_CLK
    ---		----	----	------	---	---	---	---	----	----	-----	------	
    24/A10	53	AD_B0_12	1.12	Serial6(1) TX	Wire1(4) SCL		PWM1_X2					A1:1  	
    25/A11	51	AD_B0_13	1.13	Serial6(1) RX	Wire1(4) SDA		PWM1_X3	GPT1_CLK				A1:2	
    26/A12	67	AD_B1_14	1.30			SPI1(3) MOSI			1:TX_BCLK		3:14	A2:3  	
    27/A13	8	AD_B1_15	1.31			SPI1(3) SCK			1:TX_SYNC		3:15	A2:4  	
    28	4	EMC_32	3.18	Serial7(7) RX			PWM3_B1						
    29	16	EMC_31	4.31	Serial7(7) TX		SPI2(1) CS1	PWM3_A1						
    30	41	EMC_37	3.23				GPT1_3 	3_RX	3:MCLK	IO-23			
    31	43	EMC_36	3.22				GPT1_2	3_TX	3:TX_DATA	IO-22			
    32	65	B0_12	2.12						1:TX1_RX3	IO-10	2:12		LCD_DATA8
    33	63	EMC_07	4.7				PWM2_B0		2:MCLK	IO-09	1:7		
    SD Pins - Cable connector(T4 34-39)													
    34	66	SD_B0_03	3.15	Serial5(8) RTS		SPI2(1) MISO	PWM1_B1			IO-07			DATA1
    35	64	SD_B0_02	3.14	Serial5(8) CTS		SPI2(1) MOSI	PWM1_A1			IO-06			DATA0
    36	60	SD_B0_01	3.13		Wire2(3) SDA	SPI2(1) CS0	PWM1_B0			IO-05			CLK
    37	62	SD_B0_00	3.12		Wire2(3) SCL	SPI2(1) SCK	PWM1_A0			IO-04			CMD
    38	68	SD_B0_04	3.16	Serial5(8) TX		FLEXSPI B_SSO_B	PWM1_A2			IO-08			DATA2
    39	70	SD_B0_05	3.17	Serial5(8) RX		FLEXSPI B_DQS	PWM1_B2			IO-09			DATA3
    Micromod new pins													
    40	40	B0_04	2:04		Wire3(2) SCL		QT2_1				2:4		LCD_DATA0
    41	42	B0_05	2:05		Wire3(2) SDA		QT2_2				2:5		LCD_DATA1
    42	44	B0_06	2:06				QT3_0				2:6		LCD_DATA2
    43	46	B0_07	2:07				QT3_1				2:7		LCD_DATA3
    44	48	B0_08	2:08				QT3_2				2:8		LCD_DATA4
    45	73	B0_09	2:09				QT4_0				2:9		LCD_DATA5

  8. #983
    Not sure if I understand you correctly. But as it seems, pin 0 and 1 (top two rows). CS0 and MISO should be swapped.


  9. #984
    Quote Originally Posted by KurtE View Post
    It is possible that there are some problems with my excel document, that was mentioned... although not sure if there is, on which page?
    Code:
    Pin	MM Pin	Name	GPIO	Serial	I2C	SPI	PWM	CAN	Audio	XBAR	FlexIO	Analog	SD/CSI/LCD
     0	19	AD_B0_03	1.3	Serial1(6) RX		SPI1(3) CS0	PWM1_X1	2_RX		IO-17			
     1	17	AD_B0_02	1.2	Serial1(6) TX		SPI1(3) MISO	PWM1_X0	2_TX		IO-16
    i guess something on those two lines are wrong

  10. #985
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,796
    Quote Originally Posted by mah View Post
    i guess something on those two lines are wrong
    Might help to know what is wrong on these two lines:
    Pin 0 (MMOD pin 17) is CS0 on SPI1 and (not the is not CS on the SPI object) - I am trying to show which CS of the SPI...
    Pin 1 (MMOD pin 19) is the MISO on SPI1... I think...

    At least from Paul's stuff above:
    Looking at pin 17:

    MicroMod M.2 pin 17
    Teensy pin 1
    NXP pin AD_B0_02
    peripherals (Teensy pinout card): TX1, MISO1, CTX2, PWM

  11. #986
    the problem is just that the MM pin numbers are swapped?

    Pin.........MM Pin
    0...........19(should be 17?)
    1...........17(should be 19?)

  12. #987
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,796
    Quote Originally Posted by mah View Post
    the problem is just that the MM pin numbers are swapped?

    Pin.........MM Pin
    0...........19(should be 17?)
    1...........17(should be 19?)
    I don't believe so... Could be wrong.

    My own test board has:
    Click image for larger version. 

Name:	screenshot.jpg 
Views:	18 
Size:	126.1 KB 
ID:	27064
    And while it has other problems, HI/LOW test of ringing out the IO pins appears to work fine...

    And likewise if you look at the sparkfun STP board schematic you see:
    Click image for larger version. 

Name:	screenshot2.jpg 
Views:	17 
Size:	317.1 KB 
ID:	27065

  13. #988
    Quote Originally Posted by KurtE View Post
    I don't believe so... Could be wrong.

    My own test board has:
    Click image for larger version. 

Name:	screenshot.jpg 
Views:	18 
Size:	126.1 KB 
ID:	27064
    And while it has other problems, HI/LOW test of ringing out the IO pins appears to work fine...

    And likewise if you look at the sparkfun STP board schematic you see:
    Click image for larger version. 

Name:	screenshot2.jpg 
Views:	17 
Size:	317.1 KB 
ID:	27065
    If you look at your excel file for MM pins. Itís reversed from what you just posted. 17 is 0 and 19 is 1.

  14. #989
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,574
    These 2 numbers might be swapped, but the rest of the info looks correct.
    Click image for larger version. 

Name:	screenshot.png 
Views:	12 
Size:	30.0 KB 
ID:	27069

    Pin 0 really is AD_B0_03 with Serial1 RX and CAN2 RX and SPI1 CS. But it's connected to M.2 pin #19.

    Likewise, pin 1 really is AD_B0_02 with Serial1 TX and CAN2 TX and SPI1 MISO. But it connects to M.2 pin #17.

    From Sparkfun's schematic

    Click image for larger version. 

Name:	screenshot2.png 
Views:	11 
Size:	14.1 KB 
ID:	27070

    and

    Click image for larger version. 

Name:	screenshot3.png 
Views:	17 
Size:	15.8 KB 
ID:	27071

  15. #990
    Quote Originally Posted by PaulStoffregen View Post
    These 2 numbers might be swapped, but the rest of the info looks correct.
    Click image for larger version. 

Name:	screenshot.png 
Views:	12 
Size:	30.0 KB 
ID:	27069

    Pin 0 really is AD_B0_03 with Serial1 RX and CAN2 RX. But it's on M.2 pin #19.

    Likewise, pin 1 really is AD_B0_02 with Serial1 TX and CAN2 TX. Bit it's on M.2 pin #17.

    From Sparkfun's schematic

    Click image for larger version. 

Name:	screenshot2.png 
Views:	11 
Size:	14.1 KB 
ID:	27070

    and

    Click image for larger version. 

Name:	screenshot3.png 
Views:	17 
Size:	15.8 KB 
ID:	27071
    ye, that's what i am trying to say, not complaining, KurtE's documents have been a great help when designing my carrier board.
    But this is the reason i should have tried on the bench before makings pcbs!

  16. #991
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    8,288
    @KurtE just mentioned that might be an old document - check the actual spreadsheet which looks correct: https://github.com/KurtE/TeensyDocum...4x%20Pins.xlsx
    Click image for larger version. 

Name:	Capture.PNG 
Views:	19 
Size:	17.7 KB 
ID:	27073

  17. #992
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,796
    Quote Originally Posted by PaulStoffregen View Post
    These 2 numbers might be swapped, but the rest of the info looks correct.
    Click image for larger version. 

Name:	screenshot.png 
Views:	12 
Size:	30.0 KB 
ID:	27069

    Pin 0 really is AD_B0_03 with Serial1 RX and CAN2 RX. But it's connected to M.2 pin #19.

    Likewise, pin 1 really is AD_B0_02 with Serial1 TX and CAN2 TX. But it connects to M.2 pin #17.

    From Sparkfun's schematic

    Click image for larger version. 

Name:	screenshot2.png 
Views:	11 
Size:	14.1 KB 
ID:	27070

    and

    Click image for larger version. 

Name:	screenshot3.png 
Views:	17 
Size:	15.8 KB 
ID:	27071
    Thanks Paul, I think the issue is, that everyone is looking at an earlier version...

    I updated the excel document back in July... Maybe I need to update any pictures as well...

  18. #993
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,796
    Updated the PDF file as well.
    Here is a saved image from the pdf:
    Click image for larger version. 

Name:	screenshot3.jpg 
Views:	28 
Size:	385.7 KB 
ID:	27074
    Sorry about the confusion...

  19. #994
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,574
    Tried again and got the right info this time.

    Not sure exactly what I did before. I think I probably clicked the link on msg #980 or #981, but not sure now.

  20. #995
    @KurtE Let me take this opportunity to thank you for those files. I use them when I develop on the Micromod. Appreciate it!

  21. #996
    @KurtE i also wanna thank you for sharing those files, and sorry for me confusing everything. glad we sorted it out!
    Happy new year!

  22. #997
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,796
    Quote Originally Posted by Dogbone06 View Post
    @KurtE Let me take this opportunity to thank you for those files. I use them when I develop on the Micromod. Appreciate it!
    Quote Originally Posted by mah View Post
    @KurtE i also wanna thank you for sharing those files, and sorry for me confusing everything. glad we sorted it out!
    Happy new year!
    You are welcome, I use them often myself...

  23. #998
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,796
    For the heck of it, I updated my MMOD test kitchen sink board and added a few things... As I don't dare waste a square inch of space...

    Ordering from PCBWay with partial assembly... This time most all of the SMD...

    Click image for larger version. 

Name:	screenshot.jpg 
Views:	22 
Size:	153.6 KB 
ID:	27110
    Includes:
    breakout of all of the pins by Teensy number
    USB Host
    SDIO
    DXL Servo support
    Simple Audio, mostly for beeps
    A t3.2/T4 like connector, to allow plugging in things, like Audio board, or Memory test board, LED board...
    And probably > 10 problems :lol:

    Anyway should be fun.

  24. #999
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    16,247
    Quote Originally Posted by KurtE View Post
    For the heck of it, I updated my MMOD test kitchen sink board and added a few things... As I don't dare waste a square inch of space...

    ...
    Anyway should be fun.
    Looks like Fun ... Hopefully less than 10 problems!

  25. #1000
    I'm going to take the plunge and start migrating a T3.6 based system to Teensy Micromod so I'll be designing a board with the M.2 connector.

    Does anyone have a Kicad footprint and symbol already made for the Teensy micromod connector? I've done some searching and no luck. I can make them myself, but I expect they're out there somewhere.

    thx, Doug

Posting Permissions

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