diff --git a/docs/LGT_MCUs.md b/docs/LGT_MCUs.md
new file mode 100644
index 0000000..0580fc8
--- /dev/null
+++ b/docs/LGT_MCUs.md
@@ -0,0 +1,25 @@
+# LGT MCUs in Arduino boards
+
+LGT8F88A, LGT8Fx8D and LGT8Fx8P main differences
+
+
+
+| - | - | LGT8F88A | LGT8Fx8D | LGT8Fx8P |
+| :-----------: | :----: | :-------: | :---------: | :--------:|
+| Progmem | KB | 8 | 4/8/16/32 | 8/16/32 |
+| RAM | KB | 1 | 0.5/1/1/2 | 1/1/2 |
+| Data Flash (EEPROM) | KB | 504 byte | 1/2/4/progmem shared | 2/4/progmem shared |
+| DAC (8 bit) | | - | 2 | 1 |
+| Internal Reference | V | 1.25/2.56 | 1.25/2.56 | 1.024/2.048/4.096 |
+| Analog Comparators (AC) | | 2 | 2 | 2 |
+| AC resolution | mV | 6 | 12 | 10 |
+| DAP Differential Amplifier | gain | 7.5/15/22.5/30 | - | 1/8/16/32 |
+| ACD | bit | 10 | 12 | 12 |
+| Max sysclk | MHz | 32 | 32 | 32 |
+| Extras | | Capacitive touch button controller,
Thermal sensor | 2x Operational Amplifier
fixed gain = +12 or -11 | DSC (16 bit arithmetic),
SPI buffer, SPI 2 wire input mode |
+| Package | | QFP32, SSOP28 | QFP32, SSOP28, SSOP24, SSOP20 | QFP48, QFP32, SSOP20 |
+
+More docs:
+https://github.com/Edragon/LGT/tree/master/1-LGT8F328/DOCS
+https://github.com/Upcycle-Electronics/LGT8Fx-Datasheet/tree/master/LGT-ArchivedStuffDredgedFromTheInternet
+https://github.com/watterott/LGT8F328P-Testing/
diff --git a/docs/Porting_from_LGT8FX8D_to_LGT8FX8P_v1.0.0.pdf b/docs/Porting_from_LGT8FX8D_to_LGT8FX8P_v1.0.0.pdf
new file mode 100644
index 0000000..391282f
Binary files /dev/null and b/docs/Porting_from_LGT8FX8D_to_LGT8FX8P_v1.0.0.pdf differ
diff --git a/docs/larduino_isp-corrected.png b/docs/larduino_isp-corrected.png
new file mode 100644
index 0000000..9e28342
Binary files /dev/null and b/docs/larduino_isp-corrected.png differ
diff --git a/lgt8f/boards.txt b/lgt8f/boards.txt
index bb7512d..dc1b2e5 100644
--- a/lgt8f/boards.txt
+++ b/lgt8f/boards.txt
@@ -74,10 +74,14 @@ menu.arduino_isp=Arduino as ISP
328.menu.variant.modelD.bootloader.file=lgt8fx8e/optiboot_lgt8f328d.hex
328.menu.variant.modelD.build.variant=lgt8fx8e
-328.menu.variant.modelD_SSOP20=328D-SSOP20 (e.g. green pro mini alternative)
-328.menu.variant.modelD_SSOP20.bootloader.path=lgt8fx8e
-328.menu.variant.modelD_SSOP20.bootloader.file=lgt8fx8e/optiboot_lgt8f328d.hex
-328.menu.variant.modelD_SSOP20.build.variant=lgt8fx8ds20
+328.menu.variant.modelP_SSOP20=328P-SSOP20 (e.g. green pro mini alternative)
+328.menu.variant.modelP_SSOP20.bootloader.path=lgt8fx8ps20
+328.menu.variant.modelP_SSOP20.bootloader.file=lgt8fx8ps20/optiboot_lgt8f328ps20.hex
+328.menu.variant.modelP_SSOP20.build.variant=lgt8fx8ps20
+#328.menu.variant.modelD_SSOP20=328D-SSOP20 (e.g. green pro mini alternative)
+#328.menu.variant.modelD_SSOP20.bootloader.path=lgt8fx8e
+#328.menu.variant.modelD_SSOP20.bootloader.file=lgt8fx8e/optiboot_lgt8f328d.hex
+#328.menu.variant.modelD_SSOP20.build.variant=lgt8fx8ds20 <---- In this case SPI buffer will not work.
############################
#### LGT8F88 ####
diff --git a/lgt8f/variants/standard/pins_arduino.h b/lgt8f/variants/standard/pins_arduino.h
index 650e18d..b739609 100755
--- a/lgt8f/variants/standard/pins_arduino.h
+++ b/lgt8f/variants/standard/pins_arduino.h
@@ -52,7 +52,11 @@
#define digitalPinHasPWM(p) ((p) == 3 || (p) == 5 || (p) == 6 || (p) == 9 || (p) == 10 || (p) == 11)
#endif
+#if defined(__LGT8F_SSOP20__)
+#define PIN_SPI_SS (9) // Redirected in main.cpp at line 77
+#else
#define PIN_SPI_SS (10)
+#endif
#define PIN_SPI_MOSI (11)
#define PIN_SPI_MISO (12)
#define PIN_SPI_SCK (13)