2108037_en-US

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

2108037_en-US

2108037_en-US

Usage of POPR during DSPI write transaction

Hello,


I am doing some experiments with the MPC5777C DSPI and a MRAM memory and I wonder if I have to do something with POPR while doing write transactions and, conversely, if I have to write dummy data in PUSHR while doing read transactions. A colleague instructed me to do this but I did not find any similar procedure in the reference manual or in AN2865.


Thanks!

Ricardo

Re: Usage of POPR during DSPI write transactionAfter writing to the PUSHR register, should I wait for the TCF bit in the DSPI_SR register to be set before reading from the POPR register?

Which of the following sequences is correct?

PUSH → wait for TCF == 1 → POP
PUSH → POP → wait for TCF == 1
Re: Usage of POPR during DSPI write transaction

Yes, every PUSH is needed to along with POP operation as both receive/transmit operation works simultaneously.

In the thread below you may see example code I made in the past for reference:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5676R-DSPI-ext-SPI-memory-S25FL129P-C...

Pay attention mainly to dspi_S25FL129.c and dspi_S25FL129.h file

Note that DSPI module of MPC5676R is forward compatible with MPC5777C.

Tags (1)
No ratings
Version history
Last update:
‎11-22-2025 08:48 AM
Updated by: