i-AP2 over USB for car-play.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i-AP2 over USB for car-play.

1,355 Views
Jai13
Contributor I

Hello, I am planning to implement iAP2 support on my iMX6 Ultra lite board, running a Linux . Currently I am able to get enumeration of USB device and Apple device is getting connected now i want to communicate between Apple (i-phone and board) so any one can help me how we can achieve the same.

What do I currently have: iAP2 is in my cased based on the USB layer, including a USB role switch.

Thus I connect the iPhone to the USB OTG port of the board, and send the phone an Apple-specific USB command, which is supposed to trigger a role switch on USB side.

This works, as the iPhone resets its USB port (as specified in the iAP2 specification).

After this step how we can communicate with the i-phone device and imx6ul board ?

Labels (3)
0 Kudos
1 Reply

1,350 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jai13

 

for understanding one can refer to apple_usb_role_switch_user_guide.pdf included

in 3.10.17_1.0.0-patch.7z.zip on link

https://community.nxp.com/t5/i-MX-Processors/USB-dual-role-patch-for-Linux-3-10-17-BSP/m-p/385427#52...

Latest NXP linux BSPs include support for USB HNP & SRP,  linux documentation link:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor