M5225X - PUCPAR manual error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

M5225X - PUCPAR manual error

2,552 次查看
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

标签 (1)
0 项奖励
回复
3 回复数

1,466 次查看
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 项奖励
回复

1,466 次查看
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 项奖励
回复

1,466 次查看
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 项奖励
回复