M5225X - PUCPAR manual error

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

M5225X - PUCPAR manual error

1,535 Views
mjbcswitzerland
Specialist V
Hi All

I believe that there is an error in the M5225X user's manual concerning the PUCPAR register.
On all other M522XXs this is a 4 used-bit register controlling the functions of the dual function PUC pins.
The M5225X seems to now multiplex additional secondary and tertiary functions to these pins, which means that these could only be controlled as an 8 bit quad-function register.

A service request has been entered since this could otherwise be confusing.

Regards

Mark

www.uTasker.com

Labels (1)
0 Kudos
3 Replies

449 Views
JWW
Contributor V
Mark,
 
There were some mistakes that went out in the manual..   New manual went live on Friday.  I haven't had a chance to see if this got fixed. 
 
Wanted to let the community know.
 
-JWW
0 Kudos

449 Views
MrBean
Contributor I

That error holds a reference to the dreaded portTD also:

 

Figure 15-23. Dual-Function Pin Assignment Registers with Bits 3:0 Implemented (PTDPAR, PUCPAR)

 

I think there are no 4-bit dual function registers at all so that figure shouldnt be there.

 

There are also references to portTD in MCF52211RM rev.2 and in MCF52223RM rev.3 , hence "dreaded".

0 Kudos

449 Views
RichTestardi
Senior Contributor II
Hi Mark,
 
I agree.
 
If you actually search for "0x10_0073 (PUCPAR)" in the 12/2008 reference manual, it shows up *twice*, once as a dual function register and once as a quad function register, obviously with the same address.
 
The macros in MCF52259_GPIO.h definitely indicate it is a quad function register:
 
/* Bit definitions and macros for MCF_GPIO_PUCPAR */
#define MCF_GPIO_PUCPAR_PUCPAR0(x)           (((x)&0x3)<<0)
#define MCF_GPIO_PUCPAR_UTXD2_GPIO           (0)
#define MCF_GPIO_PUCPAR_UTXD2_UTXD2          (0x1)
#define MCF_GPIO_PUCPAR_UTXD2_CANTX          (0x2)
...
 
I got StickOS running on the 52259 today -- it is definitely an exciting chip!!!
 
-- Rich
 
0 Kudos