ecspi about Status Register = 0x18

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

ecspi about Status Register = 0x18

670件の閲覧回数
laufei
Contributor III

Hello, Freescale

I am doing the debug of ecspi with touch-tsc2008.

I met a issue about I can't receive the data from RXDATA, whie I saw the data from the capture signal according to the following picture.

Can you help me check the configure for why I can't get the data from RXDATA?

the spi configure:

spiTs2008Attach: devFreq=2000000, mode=0, bitWidth=8

Capture-spi.JPG.jpg

"

imxEcspiTransfer: txLen[1] rxLen[1] mode[0x0]

imxEcspiTransfer: cs=0, transLen=0x2, tx=0x1, rx=0x1, align=1

ctrlFreq=0x3938700, devFreq=0x1e8480, pre=0xe, post=0x1, freq=0x1e8480

imxEcspiChanCfg: confreg=0x70e1f1, configreg=0x100, ctrlFreq=60000000, spiFreq=2000000, curFreq=2000000

imxEcspiChanCfg OK

imxEcspiIsr: statreg=0x3

Tx: 0xd8

Tx: 0x0

imxEcspiIsr: statreg=0x18

omit rx-raw: 0x0

Rx: 0x0

imxEcspiIntTrans: done transfer

"

Thank you for your support!

Best Regards

ラベル(6)
0 件の賞賛
2 返答(返信)

563件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi fe la

please try SDK spi example and iMX6_Firmware_Guide.pdf

has good explanation in Chapter 6 Configuring the eCSPI Driver

i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

563件の閲覧回数
laufei
Contributor III

Hello, igorpadykov

Thank you for your support!

I have fixed this issue, which is caused by the IOMUX - "IOMUXC_ECSPI2_MISO_SELECT_INPUT" choose the wrong way.

I use the ecspi2 on the dual-lite, which is different from dual and quad chip.

Best Regards

Fe la

0 件の賞賛