Skip to main content
tj2
Associate III
July 18, 2005
Question

AF or GPIO

  • July 18, 2005
  • 3 replies
  • 718 views
Posted on July 18, 2005 at 11:57

AF or GPIO

This topic has been closed for replies.

3 replies

tj2
tj2Author
Associate III
July 15, 2005
Posted on July 15, 2005 at 11:10

Hi

A couple of questions regarding the AF/GPIO pins.

Is it possible to use the P0.7/SS as a GPIO when the SPI is enabled?

Is it possible to use A.23 as GPIO when A20...A22 is enabled?

And the last one...

Is it possible to use P2.3/CS3 as GPIO when CS0...CS2 is enabled?

Thank you in advance!

Best regards

Thomas Jespersen

halim
Visitor II
July 18, 2005
Posted on July 18, 2005 at 06:18

Concerning SPI:

Yes, you can use P0.7/SS as GPIO when the SPI is enabled however in transmission/reception this pin must be high in (Master mode) and low in (slave mode)

tj2
tj2Author
Associate III
July 18, 2005
Posted on July 18, 2005 at 11:57

Thank you very much for your answers.

Is it not possible to avoid the use of the SS function? I must use the pin as an output, and it is very inconvenient if pin cannot be used without interfering with the SPI.