Cannot find FLEXSPI2 clock MUX

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

Cannot find FLEXSPI2 clock MUX

Jump to solution
1,712 Views
CarrotMan
Contributor II

In MCUXpresso IDE pin config tool shows the following for GPIO_EMC_25:

CarrotMan_0-1637769508319.png

However, in datasheet it says that it can also be FLEXSPI clock:

CarrotMan_1-1637769550963.png

Is there a reason I do not see this option for mux? I can find all the other signals specified in picture 1 in the reference manual, but not FLEXSPI.

I am using SDK for iMXRT1064 of course.

 

0 Kudos
1 Solution
1,703 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
For RT1064, the GPIO_SPI_B0_08 must work as FLEXSPI2_A_SCLK pin to connect the internal QSPI and it's not exposed to the outside, so the GPIO_EMC_25 can't work as the FLEXSPI2_A_SCLK , otherwise, it will crash the MCU.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

5 Replies
1,704 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
For RT1064, the GPIO_SPI_B0_08 must work as FLEXSPI2_A_SCLK pin to connect the internal QSPI and it's not exposed to the outside, so the GPIO_EMC_25 can't work as the FLEXSPI2_A_SCLK , otherwise, it will crash the MCU.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

1,696 Views
CarrotMan
Contributor II

Dear Jeremy,

 

Thanks for the answer. How do I avoid these mistakes in the future? The pin is mentioned in the MUX table after all as FLEXSPI clock using ALT8. When I check the GPIO_EMC_25 pin, I see:

Select one of iomux modes to be used for pad: GPIO_EMC_25.
000 ALT0 — Select mux mode: ALT0 mux port: SEMC_RAS of instance: semc
001 ALT1 — Select mux mode: ALT1 mux port: FLEXPWM1_PWMA01 of instance: flexpwm1
010 ALT2 — Select mux mode: ALT2 mux port: LPUART6_TX of instance: lpuart6
011 ALT3 — Select mux mode: ALT3 mux port: ENET_TX_CLK of instance: enet
100 ALT4 — Select mux mode: ALT4 mux port: ENET_REF_CLK of instance: enet
101 ALT5 — Select mux mode: ALT5 mux port: GPIO4_IO25 of instance: gpio4

Here the pin is never mentioned as FLEXSPI clock pin. What is the correct way to read the manual regarding the pinout then?

 

One more question: I see that FLEXSPI is discussed as a way to read a flash device (and it mostly seems to be used to boot from that device). Is it possible to use FLEXSPI to drive regular SPI peripherals such as ADCs and other SPI sensors, or is that functionality intended only for LPSPI?

 

Thanks so much!

 
 
 

 

0 Kudos
1,675 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) What is the correct way to read the manual regarding the pinout then?
-- In Table 9-1. ROM Bootloader Peripheral PinMux, it demonstrates the Flex_SPI pins that connect to internal QSPI and other pins can't work as the Flex_SPI pins except for these GPIO_SPI pins.

jeremyzhou_0-1637891901920.png

2) Is it possible to use FLEXSPI to drive regular SPI peripherals such as ADCs and other SPI sensors, or is that functionality intended only for LPSPI?
-- No, I'm afraid not.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

1,666 Views
CarrotMan
Contributor II

Dear Jeremy,

I see. However, in chapter 10.1 Muxing Options (continued) it has the following:

CarrotMan_0-1637914505656.png

What is meant by ALT 8?

How can I identify that this is not a real option?

 

Thanks!

0 Kudos
1,639 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) What is meant by ALT 8?
-- The RT1064 is derived from the RT1060 series, so its RM may keep some content from the RT1060's RM, however, it's not suitable for the RT1064 and I'll report it to the Document team for checking.
2) How can I identify that this is not a real option?
-- Please refer to Table 9-1. ROM Bootloader Peripheral PinMux, just as I mentioned in the previous reply.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos