Are atomic writes to multiple GPIO output pins possible on the MPC5554?

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

Are atomic writes to multiple GPIO output pins possible on the MPC5554?

711 Views
seanmkauffman
Contributor I

Looking at the reference manual for the MPC5554, it appears that the SIU only provides the ability to write to one bit at a time using the SIU_GDPOn registers.  This is a problem for me, as I need to write out to multiple pins in one atomic operation.  I need to be able to write to at least 8 GPIO pins in one operation, actually, in order to interface with external hardware which is not synchronized with the clock of the chip.  Is this possible?  Is there another interface that allows writes to multiple output lines at once?  I'm not seeing it in the reference manual but maybe I'm looking in the wrong place.

Labels (1)
Tags (3)
0 Kudos
1 Reply

481 Views
jinjingyang
NXP Employee
NXP Employee

There are no single register that includes 8 or 16 or 32 pins with each bit representing one GPIO.

So you have to use other options:

1) use SPE instruction such as "evstdw" to store 64bit data at a time.

or

2) use EBI if you are interfacing with certain external flash/SRAM memory.

0 Kudos