CSI/SCI/DMA config

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

CSI/SCI/DMA config

跳至解决方案
2,542 次查看
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,218 次查看
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,217 次查看
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,218 次查看
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,218 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Pay attention to following register group:

pastedImage_1.png

2,219 次查看
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