-
- Downloads
MPC83XX: Fix GPIO configuration - set gpio level before direction
Set DAT value before DIR values to avoid creating glitches on the GPIO signals. Set gpio level register before direction register to inhibit glitches on high level output pins. Dir and data gets cleared at powerup, so high level output lines see a short low pulse between setting the direction and level registers. Issue was seen on a new board with the nReset line of the NOR flash connected to a GPIO. Setting the direction register puts the NOR flash in reset so the next instruction to set the level cannot get executed. Signed-off-by:Nick Spence <nick.spence@freescale.com> Signed-off-by:
Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
Please register or sign in to comment