|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
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.
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.
Article last edited on: 2004-11-12 16:08:17
Did you find this article helpful? Yes No
How can we improve this article?