SPI support on MIMXRT1060-EVKB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI support on MIMXRT1060-EVKB

Jump to solution
1,074 Views
anthony_asterisk
Contributor II

I have the MIMXRT1060-EVKB board.  I note on the Zephyr page for MIMXRT1060-EVK  (not B) in mentions to use SPI  it is necessary to solder zero ohm resistors at R278, R279, R280 and R281.

Questions about SPI resistors:

Am I also required to solder the resistors on MIMXRT1060-EVKB (B revision) board?  

Is there a diagram that shows the location of these resistors, there are literally hundreds of them!

Questions about Zephyr Samples:

I am planning on developing with Zephyr 3.5.0.  Should I expect samples such as samples/basic/blinky to work and actually blink the LED.  My initial test on 3.6.0, the LED did not blink.  Does it require some additional devicetree configuration to enable the LED?

 

Questions about Zephyr Board configuration:

I need to run the SPI interface clock at 50 MHz.  What is the default SPI clock rate and what are the configurable options?  Should I modify the configuration in device tree or is there a way to do it at runtime?

 

thank you for your support!

 

Labels (1)
0 Kudos
Reply
1 Solution
991 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @anthony_asterisk  

Thanks a lot for your patience.

Yes, to enable SPI on J17 you need to solder those resistors. 

diego_charles_0-1708641303537.png

By the way to find resistors, I usually see the layout printed on a PDF. Download the RT1060-EVKB design files and navigate to this path  MIMXRT1060-EVKB-DESIGN-FILES.zip\MIMXRT1060-EVKB-DESIGNFILE-RevB1\Layout

diego_charles_1-1708641550997.png

I hope this helps you!

Diego

 

View solution in original post

0 Kudos
Reply
5 Replies
946 Views
anthony_asterisk
Contributor II

@diego_charles 

Can these SPI pins be configured to connected to the full speed FlexSPI  or only to the LPSPI?  My application has a large amount of data to transfer and needs the maximum SPI speed available.  Are the MIMXRT1062 pins fully configurable to any peripheral or are they more limited?

 

 

0 Kudos
Reply
936 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @anthony_asterisk 

RT1xxx pins have limited pin mux options. Pin mux options for peripherals can be seen in the Table 10-1. Muxing Options  of the RT1062 reference manual. Sometimes, I prefer to use our  MCUXpresso Config Tools Pins tool to understand pin mux options with ease.

diego_charles_0-1708919150489.png

Best regards, 

Diego

0 Kudos
Reply
1,071 Views
anthony_asterisk
Contributor II
I switched to zephyr 3.5.0 and built with --board mimxrt1060_evkb and the board LED is now blinking.

I am still interested in SPI questions.
1,061 Views
anthony_asterisk
Contributor II
Looking at the schematics for EVKB, it appears the resistor numbers have changed.

On the Arduino Interface page, the resistors for EVKB appear to be R356, R350, R346, and R362.

Please confirm if these are correct.
0 Kudos
Reply
992 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @anthony_asterisk  

Thanks a lot for your patience.

Yes, to enable SPI on J17 you need to solder those resistors. 

diego_charles_0-1708641303537.png

By the way to find resistors, I usually see the layout printed on a PDF. Download the RT1060-EVKB design files and navigate to this path  MIMXRT1060-EVKB-DESIGN-FILES.zip\MIMXRT1060-EVKB-DESIGNFILE-RevB1\Layout

diego_charles_1-1708641550997.png

I hope this helps you!

Diego

 

0 Kudos
Reply