From 2b3db731aafcc289d332beb9c1227383206ac40e Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 22 Mar 2015 09:24:04 -0600 Subject: [PATCH] Update PIC32MZ README and board.h comments --- configs/pic32mz-starterkit/README.txt | 19 ++++++++++++++++++- configs/pic32mz-starterkit/include/board.h | 18 +++++++++++++++++- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/configs/pic32mz-starterkit/README.txt b/configs/pic32mz-starterkit/README.txt index 2d0c3dc657..eac556bfc7 100644 --- a/configs/pic32mz-starterkit/README.txt +++ b/configs/pic32mz-starterkit/README.txt @@ -182,7 +182,24 @@ Serial Console MEB-II ------ By default, the UART1 is configured for the pins used by the MEB-II - board. + board. The UART1 signals are available at the MEB-II PICTail + connector: + + --------------- --------- -------------- ------------ + PIC32MZ PIN CONNECTOR MEB-II PIN PICTAIL PIN + FUNCTION J1 NAME J2 + --------------- --------- -------------- ------------ + RPA14/SCL1/RA14 124 SCL1/TOUCH_SCL 4 + RPA15/SDA1/RA15 126 SDA1/TOUCH_SDA 6 + +3.3V 1,26 + GND 28 + --------------- --------- -------------- ------------ + + This pin selection is controlled by these definitions in + pic32mz-starterkit/include/board.h: + + #define BOARD_U1RX_PPS U1RXR_RPA14 + #define BOARD_U1TX_PPS U1TX_RPA15R Directly from the Adapter Board ------------------------------- diff --git a/configs/pic32mz-starterkit/include/board.h b/configs/pic32mz-starterkit/include/board.h index 3539f0e786..c2ccae56ff 100644 --- a/configs/pic32mz-starterkit/include/board.h +++ b/configs/pic32mz-starterkit/include/board.h @@ -239,7 +239,23 @@ #define BUTTON_SW3_BIT (1 << BUTTON_SW3) /* UARTS ********************************************************************/ -/* The following pin assignment is used with the MEB-II board. If you are +/* MEB-II + * + * By default, the UART1 is configured for the pins used by the MEB-II + * board. The UART1 signals are available at the MEB-II PICTail + * connector: + * + * --------------- --------- -------------- ------------ + * PIC32MZ PIN CONNECTOR MEB-II PIN PICTAIL PIN + * FUNCTION J1 NAME J2 + * --------------- --------- -------------- ------------ + * RPA14/SCL1/RA14 124 SCL1/TOUCH_SCL 4 + * RPA15/SDA1/RA15 126 SDA1/TOUCH_SDA 6 + * +3.3V 1,26 + * GND 28 + * --------------- --------- -------------- ------------ + * + * The following pin assignment is used with the MEB-II board. If you are * using signals from PIC32MZEC Adaptor Board (as described in the the README * file), then UART1 signals are available at these locations on the adaptor * board: