2018-12-21 02:05 AM
Hi everyone,
We are students in second year of the engineering cycle at ECE Paris, Lyon, a general engineering school in Paris. As part of our annual enhanced project, we are currently working on a project that aims to reduce the degradation of a smartphone's battery. If you are interested, feel free to look at the presentation of our concept.
https://docs.google.com/presentation/d/16K5bK914NotrKLLLOuzBLQY73Q2vPNgH9Ro1W5MMYjI/edit?usp=sharing
Our prototype would be based on a Lithium-Titanate battery and the P-NUCLEO-USB002 kit in order to take advantage of the capabilities of USB type-C such as the Power Delivery protocol. Our goal would be to first connect an Android smartphone to the development board via a USB type-C cable and implement the Android Open Accessory Protocol 2.0. The application on the smartphone would allow the user to select the charging speed. The choice would be sent to the microcontroller which, through the Power Delivery protocol, could adapt the load.
However, we have great difficulties in finding information on how to implement the various protocols. We have downloaded various software such as: STM32CubeMX, Atollic TrueStudio for STM32, STMStudio and STM32 ST-LINK Utility. Are there other software to be purchased or other more suitable software?
Could you give us some resources that would make it easier for us to set up a communication between Android and the kit mentioned above ?
Thank you for your help.
2019-06-05 07:15 AM
Hello Edouard,
Your request is not clear enought, i suppose you want to build an android application which needs to send power request to our board P-NUCLEO-USB002 using the Android Open Accessory Protocol 2.0. So in that case your application must drive the sent of USB-PD message through the CC line, to get more info about the USB-D specification please check on USB ORG. Beware, the protocol USB and USB-PD are two different thing and i don't know if android provide an API to send USB-PD message. Generally the power management is hidden for safty aspect....
BR