diff --git a/configs/launchxl-tms57004/README.txt b/configs/launchxl-tms57004/README.txt index d4436f7564..e20040d873 100644 --- a/configs/launchxl-tms57004/README.txt +++ b/configs/launchxl-tms57004/README.txt @@ -76,10 +76,14 @@ LEDs and Buttons LEDs ---- - The launchpad has a four LEDs two power LEDs labeled D1 (red) that - connects to the TMS570's NERROR pin and D7 (blue) that indicates the - XDS200 POWER_EN signal, and two white, user LEDs labeled D12 that - connects to the NHET08 pin and D11 that connects to GIOA2. + The launchpad has several LEDs: + + - LEd D1 (white) that connects to the USB +5V supply, + - LED D10 (red) that connects to the TMS570's NERROR pin, + - D5 (blue), D6 (blue), and D8 (blue) connect to the XDS100 FT2322, + - D7 (blue) connects to the XSD100 CPLD, and + - Two white, user LEDs labeled D12 that connects to the NHET08 + pin and D11 that connects to GIOA2. NHET08 is one of 32 N2HET pins than can be available to the user if not used by N2HET. This implementation, however, uses only the single diff --git a/configs/launchxl-tms57004/include/board.h b/configs/launchxl-tms57004/include/board.h index 456fd16522..49d3930939 100644 --- a/configs/launchxl-tms57004/include/board.h +++ b/configs/launchxl-tms57004/include/board.h @@ -181,10 +181,14 @@ /* LED definitions ******************************************************************/ /* LEDs * - * The launchpad has a four LEDs two power LEDs labeled D1 (red) that connects to - * the TMS570's NERROR pin and D7 (blue) that indicates the XDS200 POWER_EN signal, - * and two white, user LEDs labeled D12 that connects to the NHET08 pin and D11 - * that connects to GIOA2. + * The launchpad has several LEDs: + * + * - LEd D1 (white) that connects to the USB +5V supply, + * - LED D10 (red) that connects to the TMS570's NERROR pin, + * - D5 (blue), D6 (blue), and D8 (blue) connect to the XDS100 FT2322, + * - D7 (blue) connects to the XSD100 CPLD, and + * - Two white, user LEDs labeled D12 that connects to the NHET08 + * pin and D11 that connects to GIOA2. * * NHET08 is one of 32 N2HET pins than can be available to the user if not used by * N2HET. This implementation, however, uses only the single LED driven by GIOA2. diff --git a/configs/launchxl-tms57004/src/launchxl-tms57004.h b/configs/launchxl-tms57004/src/launchxl-tms57004.h index 3eb4f42d6a..2e7e91a64c 100644 --- a/configs/launchxl-tms57004/src/launchxl-tms57004.h +++ b/configs/launchxl-tms57004/src/launchxl-tms57004.h @@ -48,10 +48,14 @@ /* LEDs * - * The launchpad has a four LEDs two power LEDs labeled D1 (red) that - * connects to the TMS570's NERROR pin and D7 (blue) that indicates the - * XDS200 POWER_EN signal, and two white, user LEDs labeled D12 that - * connects to the NHET08 pin and D11 that connects to GIOA2. + * The launchpad has several LEDs: + * + * - LEd D1 (white) that connects to the USB +5V supply, + * - LED D10 (red) that connects to the TMS570's NERROR pin, + * - D5 (blue), D6 (blue), and D8 (blue) connect to the XDS100 FT2322, + * - D7 (blue) connects to the XSD100 CPLD, and + * - Two white, user LEDs labeled D12 that connects to the NHET08 + * pin and D11 that connects to GIOA2. * * NHET08 is one of 32 N2HET pins than can be available to the user if not * used by N2HET. This implementation, however, uses only the single LED diff --git a/configs/launchxl-tms57004/src/tms570_autoleds.c b/configs/launchxl-tms57004/src/tms570_autoleds.c index 35c2302a10..761986041d 100644 --- a/configs/launchxl-tms57004/src/tms570_autoleds.c +++ b/configs/launchxl-tms57004/src/tms570_autoleds.c @@ -35,10 +35,14 @@ /* LEDs * - * The launchpad has a four LEDs two power LEDs labeled D1 (red) that - * connects to the TMS570's NERROR pin and D7 (blue) that indicates the - * XDS200 POWER_EN signal, and two white, user LEDs labeled D12 that - * connects to the NHET08 pin and D11 that connects to GIOA2. + * The launchpad has several LEDs: + * + * - LEd D1 (white) that connects to the USB +5V supply, + * - LED D10 (red) that connects to the TMS570's NERROR pin, + * - D5 (blue), D6 (blue), and D8 (blue) connect to the XDS100 FT2322, + * - D7 (blue) connects to the XSD100 CPLD, and + * - Two white, user LEDs labeled D12 that connects to the NHET08 + * pin and D11 that connects to GIOA2. * * NHET08 is one of 32 N2HET pins than can be available to the user if * not used by N2HET. This implementation, however, uses only the single diff --git a/configs/launchxl-tms57004/src/tms570_userleds.c b/configs/launchxl-tms57004/src/tms570_userleds.c index 2249c1278f..efa63fb97c 100644 --- a/configs/launchxl-tms57004/src/tms570_userleds.c +++ b/configs/launchxl-tms57004/src/tms570_userleds.c @@ -33,6 +33,23 @@ * ****************************************************************************/ +/* LEDs + * + * The launchpad has several LEDs: + * + * - LEd D1 (white) that connects to the USB +5V supply, + * - LED D10 (red) that connects to the TMS570's NERROR pin, + * - D5 (blue), D6 (blue), and D8 (blue) connect to the XDS100 FT2322, + * - D7 (blue) connects to the XSD100 CPLD, and + * - Two white, user LEDs labeled D12 that connects to the NHET08 + * pin and D11 that connects to GIOA2. + * + * NHET08 is one of 32 N2HET pins than can be available to the user if + * not used by N2HET. This implementation, however, uses only the single + * LED driven by GIOA2. That LED is tied to ground and illuminated + * with a high level output value. + */ + /**************************************************************************** * Included Files ****************************************************************************/