From ba8501f9d56772d7ff5be24cfa2fac3f9358961e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20K=C3=B3=C5=88a?= Date: Fri, 28 Oct 2016 21:27:17 +0200 Subject: [PATCH 01/10] Added LPC822M101JDH20 to nxp_armmcu. --- library/nxp_armmcu.lib | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/library/nxp_armmcu.lib b/library/nxp_armmcu.lib index c86187d2..d75d2a51 100644 --- a/library/nxp_armmcu.lib +++ b/library/nxp_armmcu.lib @@ -1827,4 +1827,36 @@ X PIO0_0/ACMP_I1/TDO 19 -900 500 100 R 50 50 1 1 B ENDDRAW ENDDEF # +# LPC822M101JDH20 +# +DEF LPC822M101JDH20 U 0 40 Y Y 1 F N +F0 "U" -250 750 50 H V R CNN +F1 "LPC822M101JDH20" -250 650 50 H V R CNN +F2 "" -400 100 60 H I C CNN +F3 "" -400 100 60 H I C CNN +DRAW +S -1200 600 1100 -500 0 1 0 f +X PIO0_23/ADC_3/ACMP_I4 1 1200 -300 100 L 50 50 1 1 B +X PIO0_17/ADC_9 2 1200 -200 100 L 50 50 1 1 B +X PIO0_13/ADC_10 3 1200 100 100 L 50 50 1 1 B +X PIO0_12 4 1200 200 100 L 50 50 1 1 B +X ~RESET~/PIO0_5 5 -1300 -100 100 R 50 50 1 1 B +X PIO0_4/ADC_11/WAKEUP/~TRST~ 6 -1300 0 100 R 50 50 1 1 B +X SWCLK/PIO0_3/TCK 7 -1300 100 100 R 50 50 1 1 B +X SWDIO/PIO0_2/TMS 8 -1300 200 100 R 50 50 1 1 B +X PIO0_11/I2C0_SDA 9 1200 300 100 L 50 50 1 1 B +X PIO0_10/I2C0_SCL 10 1200 400 100 L 50 50 1 1 B +X PIO0_14/ADC_2/ACMP_I3 20 1200 0 100 L 50 50 1 1 B +X PIO0_15 11 1200 -100 100 L 50 50 1 1 B +X PIO0_1/ACMP_I2/CLKIN/TDI 12 -1300 300 100 R 50 50 1 1 B +X PIO0_9/XTALOUT 13 -1300 -300 100 R 50 50 1 1 B +X PIO0_8/XTALIN 14 -1300 -200 100 R 50 50 1 1 B +X VDD 15 -100 700 100 D 50 50 1 1 B +X VSS 16 -100 -600 100 U 50 50 1 1 B +X VREFN 17 0 -600 100 U 50 50 1 1 B +X VREFP 18 0 700 100 D 50 50 1 1 B +X PIO0_0/ACMP_I1/TDO 19 -1300 400 100 R 50 50 1 1 B +ENDDRAW +ENDDEF +# #End Library From c31b6d73bdd6eea86856e9ac53e8e82332c7691e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20K=C3=B3=C5=88a?= Date: Fri, 28 Oct 2016 21:38:31 +0200 Subject: [PATCH 02/10] Added properties for LPC822M101JDH20. --- library/nxp_armmcu.dcm | 6 ++++++ library/nxp_armmcu.lib | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/library/nxp_armmcu.dcm b/library/nxp_armmcu.dcm index d9b0f5d1..d9c1e223 100644 --- a/library/nxp_armmcu.dcm +++ b/library/nxp_armmcu.dcm @@ -228,4 +228,10 @@ K nxp lpc arm microcontroller cortex F http://www.nxp.com/documents/data_sheet/LPC81XM.pdf $ENDCMP # +$CMP LPC822M101JDH20 +D LPC82x, 30MHz Cortex-M0+ MCU, 16kB Flash, 4kB SRAM, USART, I2C, SPI, ACMP, ADC, TSSOP20 +K nxp lpc arm microcontroller cortex +F http://cache.nxp.com/documents/data_sheet/LPC82X.pdf +$ENDCMP +# #End Doc Library diff --git a/library/nxp_armmcu.lib b/library/nxp_armmcu.lib index d75d2a51..19b51376 100644 --- a/library/nxp_armmcu.lib +++ b/library/nxp_armmcu.lib @@ -1830,8 +1830,8 @@ ENDDEF # LPC822M101JDH20 # DEF LPC822M101JDH20 U 0 40 Y Y 1 F N -F0 "U" -250 750 50 H V R CNN -F1 "LPC822M101JDH20" -250 650 50 H V R CNN +F0 "U" -200 750 50 H V R CNN +F1 "LPC822M101JDH20" -200 650 50 H V R CNN F2 "" -400 100 60 H I C CNN F3 "" -400 100 60 H I C CNN DRAW From 8bcb6e1ea7fb2aecb4bab3793d6dc54334f1f8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20K=C3=B3=C5=88a?= Date: Fri, 28 Oct 2016 21:52:25 +0200 Subject: [PATCH 03/10] Modified LPC822M101JDH20 the package label size and position. --- library/nxp_armmcu.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/nxp_armmcu.lib b/library/nxp_armmcu.lib index 19b51376..55d7d4a8 100644 --- a/library/nxp_armmcu.lib +++ b/library/nxp_armmcu.lib @@ -1832,7 +1832,7 @@ ENDDEF DEF LPC822M101JDH20 U 0 40 Y Y 1 F N F0 "U" -200 750 50 H V R CNN F1 "LPC822M101JDH20" -200 650 50 H V R CNN -F2 "" -400 100 60 H I C CNN +F2 "" 50 -550 50 H I L CNN F3 "" -400 100 60 H I C CNN DRAW S -1200 600 1100 -500 0 1 0 f From 1184fef7ec5ca8e83530da2d5a547e0f10f22162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20K=C3=B3=C5=88a?= Date: Fri, 28 Oct 2016 22:09:55 +0200 Subject: [PATCH 04/10] Modified LPC822M101JDH20 label size and position. --- library/nxp_armmcu.lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/nxp_armmcu.lib b/library/nxp_armmcu.lib index 55d7d4a8..19b385c8 100644 --- a/library/nxp_armmcu.lib +++ b/library/nxp_armmcu.lib @@ -1832,8 +1832,8 @@ ENDDEF DEF LPC822M101JDH20 U 0 40 Y Y 1 F N F0 "U" -200 750 50 H V R CNN F1 "LPC822M101JDH20" -200 650 50 H V R CNN -F2 "" 50 -550 50 H I L CNN -F3 "" -400 100 60 H I C CNN +F2 "" 50 -550 50 H V L CNN +F3 "" 50 650 50 H I L CNN DRAW S -1200 600 1100 -500 0 1 0 f X PIO0_23/ADC_3/ACMP_I4 1 1200 -300 100 L 50 50 1 1 B From 853f6ba1bfe65596f65081d7da11e6043d051266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20K=C3=B3=C5=88a?= Date: Fri, 28 Oct 2016 22:39:40 +0200 Subject: [PATCH 05/10] Modified LPC822M101JDH20 assigned correct el. type to pins. --- library/nxp_armmcu.lib | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/library/nxp_armmcu.lib b/library/nxp_armmcu.lib index 19b385c8..c357502b 100644 --- a/library/nxp_armmcu.lib +++ b/library/nxp_armmcu.lib @@ -1844,17 +1844,17 @@ X ~RESET~/PIO0_5 5 -1300 -100 100 R 50 50 1 1 B X PIO0_4/ADC_11/WAKEUP/~TRST~ 6 -1300 0 100 R 50 50 1 1 B X SWCLK/PIO0_3/TCK 7 -1300 100 100 R 50 50 1 1 B X SWDIO/PIO0_2/TMS 8 -1300 200 100 R 50 50 1 1 B -X PIO0_11/I2C0_SDA 9 1200 300 100 L 50 50 1 1 B -X PIO0_10/I2C0_SCL 10 1200 400 100 L 50 50 1 1 B +X PIO0_11/I2C0_SDA 9 1200 300 100 L 50 50 1 1 C +X PIO0_10/I2C0_SCL 10 1200 400 100 L 50 50 1 1 C X PIO0_14/ADC_2/ACMP_I3 20 1200 0 100 L 50 50 1 1 B X PIO0_15 11 1200 -100 100 L 50 50 1 1 B X PIO0_1/ACMP_I2/CLKIN/TDI 12 -1300 300 100 R 50 50 1 1 B X PIO0_9/XTALOUT 13 -1300 -300 100 R 50 50 1 1 B X PIO0_8/XTALIN 14 -1300 -200 100 R 50 50 1 1 B -X VDD 15 -100 700 100 D 50 50 1 1 B -X VSS 16 -100 -600 100 U 50 50 1 1 B -X VREFN 17 0 -600 100 U 50 50 1 1 B -X VREFP 18 0 700 100 D 50 50 1 1 B +X VDD 15 -100 700 100 D 50 50 1 1 W +X VSS 16 -100 -600 100 U 50 50 1 1 W +X VREFN 17 0 -600 100 U 50 50 1 1 W +X VREFP 18 0 700 100 D 50 50 1 1 W X PIO0_0/ACMP_I1/TDO 19 -1300 400 100 R 50 50 1 1 B ENDDRAW ENDDEF From 80b5932aa8e084c5cac613bb9d5b745952c2b454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20K=C3=B3=C5=88a?= Date: Sat, 29 Oct 2016 13:19:56 +0200 Subject: [PATCH 06/10] Modified LPC822M101JDH20, changed the outline width. --- library/nxp_armmcu.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/nxp_armmcu.lib b/library/nxp_armmcu.lib index c357502b..11e4b7f3 100644 --- a/library/nxp_armmcu.lib +++ b/library/nxp_armmcu.lib @@ -1835,7 +1835,7 @@ F1 "LPC822M101JDH20" -200 650 50 H V R CNN F2 "" 50 -550 50 H V L CNN F3 "" 50 650 50 H I L CNN DRAW -S -1200 600 1100 -500 0 1 0 f +S -1200 600 1100 -500 0 1 10 f X PIO0_23/ADC_3/ACMP_I4 1 1200 -300 100 L 50 50 1 1 B X PIO0_17/ADC_9 2 1200 -200 100 L 50 50 1 1 B X PIO0_13/ADC_10 3 1200 100 100 L 50 50 1 1 B From 6f118bb3757b79246436cd19bc948a633784036f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20K=C3=B3=C5=88a?= Date: Thu, 3 Nov 2016 10:02:13 +0100 Subject: [PATCH 07/10] Set VREF pins as input in LPC822M101JDH20. --- library/nxp_armmcu.lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/nxp_armmcu.lib b/library/nxp_armmcu.lib index 11e4b7f3..deee54c3 100644 --- a/library/nxp_armmcu.lib +++ b/library/nxp_armmcu.lib @@ -1853,8 +1853,8 @@ X PIO0_9/XTALOUT 13 -1300 -300 100 R 50 50 1 1 B X PIO0_8/XTALIN 14 -1300 -200 100 R 50 50 1 1 B X VDD 15 -100 700 100 D 50 50 1 1 W X VSS 16 -100 -600 100 U 50 50 1 1 W -X VREFN 17 0 -600 100 U 50 50 1 1 W -X VREFP 18 0 700 100 D 50 50 1 1 W +X VREFN 17 0 -600 100 U 50 50 1 1 I +X VREFP 18 0 700 100 D 50 50 1 1 I X PIO0_0/ACMP_I1/TDO 19 -1300 400 100 R 50 50 1 1 B ENDDRAW ENDDEF From 86b25e28ca8c6f8c825f72007c5df23f03f5dcbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20K=C3=B3=C5=88a?= Date: Thu, 3 Nov 2016 10:10:21 +0100 Subject: [PATCH 08/10] Assigned default FP and added FP filter to LPC822M101JDH20. --- library/nxp_armmcu.lib | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/library/nxp_armmcu.lib b/library/nxp_armmcu.lib index deee54c3..88ff5a17 100644 --- a/library/nxp_armmcu.lib +++ b/library/nxp_armmcu.lib @@ -1832,8 +1832,11 @@ ENDDEF DEF LPC822M101JDH20 U 0 40 Y Y 1 F N F0 "U" -200 750 50 H V R CNN F1 "LPC822M101JDH20" -200 650 50 H V R CNN -F2 "" 50 -550 50 H V L CNN +F2 "Housings_SSOP:TSSOP-20_4.4x6.5mm_Pitch0.65mm" 50 -550 50 H I L CNN F3 "" 50 650 50 H I L CNN +$FPLIST + TSSOP*4.4x6.5mm*Pitch0.65mm* +$ENDFPLIST DRAW S -1200 600 1100 -500 0 1 10 f X PIO0_23/ADC_3/ACMP_I4 1 1200 -300 100 L 50 50 1 1 B From 957e8b86e4d839304b1dbc5d5aadd62a11aabb1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20K=C3=B3=C5=88a?= Date: Sun, 6 Nov 2016 09:50:01 +0100 Subject: [PATCH 09/10] Set VREF pins as passive in LPC822M101JDH20. --- library/nxp_armmcu.lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/nxp_armmcu.lib b/library/nxp_armmcu.lib index 88ff5a17..75960357 100644 --- a/library/nxp_armmcu.lib +++ b/library/nxp_armmcu.lib @@ -1856,8 +1856,8 @@ X PIO0_9/XTALOUT 13 -1300 -300 100 R 50 50 1 1 B X PIO0_8/XTALIN 14 -1300 -200 100 R 50 50 1 1 B X VDD 15 -100 700 100 D 50 50 1 1 W X VSS 16 -100 -600 100 U 50 50 1 1 W -X VREFN 17 0 -600 100 U 50 50 1 1 I -X VREFP 18 0 700 100 D 50 50 1 1 I +X VREFN 17 0 -600 100 U 50 50 1 1 P +X VREFP 18 0 700 100 D 50 50 1 1 P X PIO0_0/ACMP_I1/TDO 19 -1300 400 100 R 50 50 1 1 B ENDDRAW ENDDEF From 071ec7d6500c64e7acbee2cf8b7450d6864706e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20K=C3=B3=C5=88a?= Date: Sat, 26 Nov 2016 16:19:10 +0100 Subject: [PATCH 10/10] Changed pin name position offset in LPC822M101JDH20. --- library/nxp_armmcu.lib | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/library/nxp_armmcu.lib b/library/nxp_armmcu.lib index 75960357..beede761 100644 --- a/library/nxp_armmcu.lib +++ b/library/nxp_armmcu.lib @@ -1829,36 +1829,36 @@ ENDDEF # # LPC822M101JDH20 # -DEF LPC822M101JDH20 U 0 40 Y Y 1 F N +DEF LPC822M101JDH20 U 0 5 Y Y 1 F N F0 "U" -200 750 50 H V R CNN F1 "LPC822M101JDH20" -200 650 50 H V R CNN F2 "Housings_SSOP:TSSOP-20_4.4x6.5mm_Pitch0.65mm" 50 -550 50 H I L CNN -F3 "" 50 650 50 H I L CNN +F3 "" 150 650 50 H I L CNN $FPLIST TSSOP*4.4x6.5mm*Pitch0.65mm* $ENDFPLIST DRAW -S -1200 600 1100 -500 0 1 10 f +S -1100 600 1100 -500 0 1 10 f X PIO0_23/ADC_3/ACMP_I4 1 1200 -300 100 L 50 50 1 1 B X PIO0_17/ADC_9 2 1200 -200 100 L 50 50 1 1 B X PIO0_13/ADC_10 3 1200 100 100 L 50 50 1 1 B X PIO0_12 4 1200 200 100 L 50 50 1 1 B -X ~RESET~/PIO0_5 5 -1300 -100 100 R 50 50 1 1 B -X PIO0_4/ADC_11/WAKEUP/~TRST~ 6 -1300 0 100 R 50 50 1 1 B -X SWCLK/PIO0_3/TCK 7 -1300 100 100 R 50 50 1 1 B -X SWDIO/PIO0_2/TMS 8 -1300 200 100 R 50 50 1 1 B +X ~RESET~/PIO0_5 5 -1200 -100 100 R 50 50 1 1 B +X PIO0_4/ADC_11/WAKEUP/~TRST~ 6 -1200 0 100 R 50 50 1 1 B +X SWCLK/PIO0_3/TCK 7 -1200 100 100 R 50 50 1 1 B +X SWDIO/PIO0_2/TMS 8 -1200 200 100 R 50 50 1 1 B X PIO0_11/I2C0_SDA 9 1200 300 100 L 50 50 1 1 C X PIO0_10/I2C0_SCL 10 1200 400 100 L 50 50 1 1 C X PIO0_14/ADC_2/ACMP_I3 20 1200 0 100 L 50 50 1 1 B X PIO0_15 11 1200 -100 100 L 50 50 1 1 B -X PIO0_1/ACMP_I2/CLKIN/TDI 12 -1300 300 100 R 50 50 1 1 B -X PIO0_9/XTALOUT 13 -1300 -300 100 R 50 50 1 1 B -X PIO0_8/XTALIN 14 -1300 -200 100 R 50 50 1 1 B +X PIO0_1/ACMP_I2/CLKIN/TDI 12 -1200 300 100 R 50 50 1 1 B +X PIO0_9/XTALOUT 13 -1200 -300 100 R 50 50 1 1 B +X PIO0_8/XTALIN 14 -1200 -200 100 R 50 50 1 1 B X VDD 15 -100 700 100 D 50 50 1 1 W X VSS 16 -100 -600 100 U 50 50 1 1 W X VREFN 17 0 -600 100 U 50 50 1 1 P X VREFP 18 0 700 100 D 50 50 1 1 P -X PIO0_0/ACMP_I1/TDO 19 -1300 400 100 R 50 50 1 1 B +X PIO0_0/ACMP_I1/TDO 19 -1200 400 100 R 50 50 1 1 B ENDDRAW ENDDEF #