CSI/SCI/DMA config

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,330件の閲覧回数
mynampatikuldee
Contributor II

Hello,

I am trying to configure and run CSI mode ( SPI/DSI ) & SCI/DMA for MPC5777. I am looking for examples and application notes from NXP. But could not find from NXP site. Can anyone please provide any links or docs?

Thanks,

KK

タグ(2)
1 解決策
2,006件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

I could recommend following appnote, it describes old module version that is however backward compatible, but I think it could helpful anyway:

http://www.nxp.com/assets/documents/data/en/application-notes/AN2867.pdf

 

Regrading SCI/DMA, I am attaching simple example code. The rest of the files for this example you may use from following:

https://community.nxp.com/docs/DOC-328290 

元の投稿で解決策を見る

4 返答(返信)
2,005件の閲覧回数
mynampatikuldee
Contributor II

Hello,

I am sorry. I will rephrase the question. I have already configured SIU_ETPUA, SIU_ETPUB and SIU_EMIOSA/B as desired

in serialized output selection register.

Ex:

ETPUB16, I can see appropriate bit toggling in eTPUB16 channel as well as in DSPIC_SDR0 register.  With appropriate DSCR0, DSCR1 register settings. I expect data frames at output. But unable to see the output.

Are there any other setting's in SIU apart from above mentioned.

Thanks,

KK

0 件の賞賛
返信
2,006件の閲覧回数
mynampatikuldee
Contributor II

Hello,

Thanks alot. That was quite helpful. I was able to successfully configure DSIPC in CSI mode, DSCR1, DSCR2 to desired and able to see SDR0 register bit toggling when I enable (eTPUB9) channel for DSPI serialization. But unable to see output. Are there any registers in SIU to be configured?

Thanks,

KK

0 件の賞賛
返信
2,006件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Pay attention to following register group:

pastedImage_1.png

2,007件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

I could recommend following appnote, it describes old module version that is however backward compatible, but I think it could helpful anyway:

http://www.nxp.com/assets/documents/data/en/application-notes/AN2867.pdf

 

Regrading SCI/DMA, I am attaching simple example code. The rest of the files for this example you may use from following:

https://community.nxp.com/docs/DOC-328290