Moving peripheral pins

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all,

Perhaps a simple/obvious question, but can I move the pins a peripheral is attached to? I would like to connect one of the USARTs to pins PB00,PB01 etc.. I'm not using SPI1 and would rather have a USART there connecting to the onboard CPLD.

Unfortunately the other USART pins aren't connected to the CPLD of interest..

Possible?

Thanks!

~James

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No, you can not move the pin multiplexing, take a look in the datasheet to see how the multiplexing is done. It should be in the peripherals section, in AP7000 that list starts on page 82.

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AFAIK only OMAP2 has a many-to-many pinmux setup and they dropped that when they realized just what a right royal pita it was for all involved.

That said, if it's just a usart you want on those pins then, depending on baud, you can probably bit-bang it over gpio eh?

-S.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks guys, I was having a look in the datasheet after posting that and was suspecting it isn't possible. Good to have confirmation though!

Bit-banging is definitely an option, however by lucky chance it seems that USART0 actually does come out to test points, so I figure I can just bridge it across with jumper wires to the CPLD device. I had been looking at an older version of the schematic that didn't have the test points..

Thanks again!