2025-07-08 8:00 PM - edited 2025-07-08 8:01 PM
Hi.
I am trying to connect iPhone 14 (lightning port) to OTG (CN15) on STM32MP257F-DK, but there is no connection.
The lightning-to-C cable has been tested with other devices and works fine.
iPhone 16 (type-C port) can connect to OTG to be charged and do USB tethering just fine.
I am already using the newest kernel 6.6.78 from https://github.com/STMicroelectronics/linux, branch "v6.6-stm32mp".
So I would like to confirm if OTG on STM32MP257F-DK support lightning connection or not.
Thank you.
Solved! Go to Solution.
2025-08-12 6:44 PM
Hi dothanhtrung,
Let me add the information here for others who encountered same issue.
The root cause is the firmware of Cortex-M33 is stopped manually. By default, CM33 FW is loaded automatically thanks to the system services. The CM33 FW manages CC communication of type-C port, as well as the cable detection of USB type-C. When the firmware is stopped, there is no notification to system when USB is attached. No USB is recognized then.
Best Regards,
Bossen WU
2025-08-08 3:14 PM
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Regards,
Billy
2025-08-12 6:44 PM
Hi dothanhtrung,
Let me add the information here for others who encountered same issue.
The root cause is the firmware of Cortex-M33 is stopped manually. By default, CM33 FW is loaded automatically thanks to the system services. The CM33 FW manages CC communication of type-C port, as well as the cable detection of USB type-C. When the firmware is stopped, there is no notification to system when USB is attached. No USB is recognized then.
Best Regards,
Bossen WU