OTG endpoints for F412/413 should be 5
Posted: Wed Sep 19, 2018 4:20 am
These parts support 5 in + 5 out endpoints (in addition to bi-directional endpoint 0).
This allows the F412/413 to support two x SDU concurrently BTW.
This allows the F412/413 to support two x SDU concurrently BTW.
Code: Select all
Index: stm32_registry.h
===================================================================
--- stm32_registry.h (revision 12270)
+++ stm32_registry.h (working copy)
@@ -1568,7 +1568,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
-#define STM32_OTG1_ENDPOINTS 3
+#define STM32_OTG1_ENDPOINTS 5
#define STM32_HAS_OTG2 FALSE
#define STM32_HAS_USB FALSE
@@ -1903,7 +1903,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
-#define STM32_OTG1_ENDPOINTS 3
+#define STM32_OTG1_ENDPOINTS 5
#define STM32_HAS_OTG2 FALSE
#define STM32_HAS_USB FALSE