CSI/SCI/DMA config

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

CSI/SCI/DMA config

Jump to solution
2,154 Views
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

Tags (2)
1 Solution
1,830 Views
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 

View solution in original post

4 Replies
1,829 Views
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 Kudos
1,830 Views
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 Kudos
1,830 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Pay attention to following register group:

pastedImage_1.png

1,831 Views
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