Also below might help
If CarPlay doesn't work like you expect, make sure that your iPhone has the latest version of iOS. After your iPhone is updated, follow these steps—checking CarPlay after each step:
If CarPlay doesn't activate automatically, look for the CarPlay logo on your car's display.
Restart your iPhone and your car.
Make sure that Siri is on.
If your iPhone isn't detected by CarPlay, make sure that CarPlay isn't restricted. Go to Settings > Screen Time > Content & Privacy Restrictions, tap Allowed Apps and make sure that CarPlay is enabled.
Go to Settings > General > CarPlay, and tap Forget This Car.
Check your connection:
If you have a wired connection, try connecting again with a different USB cable to a different USB port if you have one.
If you have a wireless connection, enable AirPlane Mode by going to Settings > Airplane Mode. Don't enable Airplane Mode from Control Center.
If needed, install firmware updates. Check your car's manual for more information.