SAMA5D2-XULT: Add Flexcom pin disambiguation

This commit is contained in:
Gregory Nutt 2015-09-11 14:55:52 -06:00
parent 3770ac7512
commit 80c113d0f5
2 changed files with 65 additions and 1 deletions

View File

@ -646,7 +646,7 @@ Buttons and LEDs
Serial Console
==============
Virtual COM / DBGU Port. Either may be driven by USART3, depending
Virtual COM / DBGU Port. Either may be driven by UART1, depending
upon the setting of JP2 (DBGU_PE):
------------ -------------- --------

View File

@ -192,6 +192,70 @@
* The PCK logic will then automatically configure PB26 as the PCK0 pin.
*/
/* Virtual COM / DBGU Port. Either may be driven by UART1, depending
* upon the setting of JP2 (DBGU_PE):
*
* ------------ -------------- --------
* SAMA5D2 BOARD SIGNAL USAGE
* PIO FUNCTION NAME FUNCTION
* ------------ -------------- --------
* PD3 UTXD1 DBGU_UTXD1_PD3 DBGU_RXD
* PD2 URXD1 DBGU_URXD1_PD2 DBGU_TXD
* ------------ -------------- --------
*/
/* Standard UART on Arduino connector (J21) is FLEXCOM4.
*
* ---- ------- -------------
* J21 BOARD SAMA5D2
* PIN NAME PIO FUNCTION
* ---- ------- -------------
* 7 F4_TXD PD12 FLEXCOM4
* 8 F4_RXD PD13 FLEXCOM4
* ---- ------- -------------
*/
#define PIO_FLEXCOM4_IO0 PIO_FLEXCOM4_IO0_2
#define PIO_FLEXCOM4_IO1 PIO_FLEXCOM4_IO1_2
/* Other USARTs are available on J22:
*
* ---- ------- -------------
* J22 BOARD SAMA5D2
* PIN NAME PIO FUNCTION
* ---- ------- -------------
* 3 F0_TXD PB28 FLEXCOM0
* 4 F0_RXD PB29 FLEXCOM0
* 5 F3_TXD PB23 FLEXCOM3
* 6 F3_RXD PB22 FLEXCOM3
* ---- ------- -------------
*/
#define PIO_FLEXCOM3_IO0 PIO_FLEXCOM3_IO0_2
#define PIO_FLEXCOM3_IO1 PIO_FLEXCOM3_IO1_2
/* UARTs available of EXT1
*
* ---- ------- -------------
* EXT1 BOARD SAMA5D2
* PIN NAME PIO FUNCTION
* ---- ------- -------------
* 13 UART_RX PA23 FLEXCOM1
* 14 UART_TX PA24 FLEXCOM1
* ---- ------- ---- --------
*/
/* UARTs available of EXT2
*
* ---- ------- -------------
* EXT2 BOARD SAMA5D2
* PIN NAME PIO FUNCTION
* ---- ------- -------------
* 13 UART_RX PB29 FLEXCOM0
* 14 UART_TX PB28 FLEXCOM0
* ---- ------- ---- --------
*/
/************************************************************************************
* Assembly Language Macros
************************************************************************************/