ARM Technical Support Knowledge Articles

USING MULTI-FUNCTION PINS ON ATMEL AT89C51RD2

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

I am using the AT89C51RD2 microcontroller and I see in the data sheet of this controller that some peripherals such as SPI are sharing the same I/O Pin with other functions like Timer 2 and PCA.

Port 1 shares multiple functions as shown in the list below:

I want to use the PCA, Timer 2 as well as SPI in my application, but I am confused as to how we can use all three functionalities when they are sharing the same I/O Pin.

ANSWER

Sorry, but the pin assignment of the peripherals limits the use. It is not possible to use all three pin functions at the same time. However, Atmel has released enhanced devices. For example the AT89C51ID2 has the SPI pins available as separate functions in the PLCC44 package. In this way the limitations are reduced.

MORE INFORMATION

Article last edited on: 2004-11-12 16:08:17

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential