S32K1XX LPSPI transfer frame

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

S32K1XX LPSPI transfer frame

Jump to solution
718 Views
yuegao1996
Contributor II

Hi,

   I am a bit fuzzy about TCR[CONTC] of LPSPI. 

  1.when lpspi is busy and CONTC bit is cleared, current transfer will be terminated. Is that to say the PCS signal is negated and restart a new tranfer?

  2. when CONTC bit is set, it won't affect PCS, and continue the transfer from next  frame?

  3. does the word "a transfer" refer to several frames when the PCS keeps asserted?

thanks very much for ur patience!

BR,

yuri

0 Kudos
Reply
1 Solution
710 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Yuri,

1. Yes, if the Command FIFO is written with CONTC = 0, it does not change the command of the ongoing continuous transfer and the transfer is terminated.

2. Yes, if the Command FIFO is written with CONTC = 1, it changes the commands without terminating the ongoing continuous transfer.

3. In this case, it is a continuous transfer.

 

BR, Daniel

View solution in original post

0 Kudos
Reply
1 Reply
711 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Yuri,

1. Yes, if the Command FIFO is written with CONTC = 0, it does not change the command of the ongoing continuous transfer and the transfer is terminated.

2. Yes, if the Command FIFO is written with CONTC = 1, it changes the commands without terminating the ongoing continuous transfer.

3. In this case, it is a continuous transfer.

 

BR, Daniel

0 Kudos
Reply