SPI Example for IMXRT 1020 EVK (Reason to remove R293 ?)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SPI Example for IMXRT 1020 EVK (Reason to remove R293 ?)

883件の閲覧回数
narenchandra401
Contributor III

Hello community ,

As i  was going through the SPI example from SDK  for IMXRT 1020 EVk , i have seen this in the read me Document .

Board settings
==============
Remove R293
SPI one board:
Transfer data from one board instance to another board's instance.
SPI1 pins are connected with SPI1 pins of another board
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MASTER connect to SLAVE
Pin Name Board Location Pin Name Board Location
SOUT J19-4 SIN J19-5
SIN J19-5 SOUT J19-4
SCK J19-6 SCK J19-6
PCS0 J19-3 PCS0 J19-3
GND J19-7 GND J19-7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

What is the real reason to remove R293 ?

As i see in the schematic this R293 is connected to SDRAM . and GPIO_EMC_14 is the pad number . 

Attaching pictures for clarity 

Screenshot (157)_LI.jpg

Screenshot (156)_LI.jpg

Although GPIO_EMC_14 - ALT 4 has SPI mux option ,  in the SDK it was not selected 

Pad Name  PIN
No 
Default FunctionalityALT0ALT1ALT2ALT3ALT4ALT5ALT6ALT7ADC1 I/PADC2 I/P
GPIO_EMC_14 1GPIO2.IO[14]SEMC_BA1XBAR_INOUT14LPUART6_CTS_BSAI1_RX_BCLK LPSPI2_PCS1 GPIO2.IO[14]FLEXCAN1_TX   

In SDK these pins were selected 

IOMUXC_SetPinMux(
IOMUXC_GPIO_AD_B0_10_LPSPI1_SCK, /* GPIO_AD_B0_10 is configured as LPSPI1_SCK */
0U); /* Software Input On Field: Input Path is determined by functionality */
IOMUXC_SetPinMux(
IOMUXC_GPIO_AD_B0_11_LPSPI1_PCS0, /* GPIO_AD_B0_11 is configured as LPSPI1_PCS0 */
0U); /* Software Input On Field: Input Path is determined by functionality */
IOMUXC_SetPinMux(
IOMUXC_GPIO_AD_B0_12_LPSPI1_SDO, /* GPIO_AD_B0_12 is configured as LPSPI1_SDO */
0U); /* Software Input On Field: Input Path is determined by functionality */
IOMUXC_SetPinMux(
IOMUXC_GPIO_AD_B0_13_LPSPI1_SDI, /* GPIO_AD_B0_13 is configured as LPSPI1_SDI */
0U); /* Software Input On Field: Input Path is determined by functionality */

I have dumped the SDK example in the evk and  checked if the clock is coming , but i only see 6 pulses instead of 8 . 

I completely have no idea why R293 was asked to be removed since that pin is not selected in the SDK , just wanted to know is not removing it is affecting my clock ?

Any response relevant will be most helpful .

Expecting a quick response , 

Thanks and Regards 

Naren Chandra 

ラベル(1)
タグ(4)
0 件の賞賛
返信
1 返信

813件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Naren chandra ,

    Which detail project you are referring to?

   I check the following project:

    SDK_2.7.0_EVK-MIMXRT1020\boards\evkmimxrt1020\driver_examples\lpspi\interrupt

  This project readme didn't mention the remove R293.

   But I really find some other project mentioned it.

   My own opinion is it should be the readme bug.R293 should not influence the SPI project funtion.

    Do you test the SPI project directly without remove R293, do you meet any issue?

Kerry

 

-------------------------------------------------------------------------------
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 件の賞賛
返信