Carplay just hooks up directly from iPhone to usb1 on the head unit, usb2 can be used for either usb thumb drive with music, pics and or video, or you can hook up to solid state drive with whatever media you want. I personally have solid state drive 480 gb(intel) with ripped dvds for the kids in the rear seat.
The nex series have so many inputs, it all depends what you want to use. SD Card slot, two usb inputs, hdmi, A/V RCA input, and Aux input, along with siriusxm input, RGB input for add-on navigation.
The iPhone can be hooked up in three different ways,
1. USB (for CarPlay, or iPod mode)(You must set CarPlay on in settings for CarPlay to work, otherwise usb/ipod mode will be set)
2. Apple A/V Adapter(for AppRadio mode)(Uses Bluetooth for communication and cdmi for audio-video out to head-unit)(If hdmi is selected as the source, then it will mirror the iPhone screen)
3. Bluetooth(for phone calls and Pandora and music)