Kai Niiranen

MCF51QE128 PTJD and PTJDD register address

Discussion created by Kai Niiranen on May 15, 2011
Latest reply on May 17, 2011 by TomE


What is the correct register address for port J (registers PTJD and PTJDD) in the MCF51QE128? The reference manual says it's 0xFFFF802E and 0xFFFF802F but I couldn't change the port pins state (o to 1) with that setting. After I changed the port register addresses to 0xFFFF801C and 0xFFFF801D (same as PTGD and PTGDD have) in the MCF51QE128.h file the pins started to work as they should. Why??

This started to annoy me and if somebody has some information about it I would be grateful.