Help us help you. By posting the year, make, model and engine near the beginning of your help request, followed by the symptoms (no start, high idle, misfire etc.) Along with any prevalent Diagnostic Trouble Codes, aka DTCs, other forum members will be able to help you get to a solution more quickly and easily!
This is my very first post so please bear with me.
I have this issue with my 2017 Hyundai Santa Fe XL V6 (204000 KMs) where if I idle for about 10-20 minutes the car’s RPM will rise for a very short moment and come back to normal. However, if I try to drive away after that the car goes in LIMP mode. And I have to turn the car off and then back on to be able to drive. The error codes that I get are P2106, P2110, P0638. It doesn’t happens when I keep driving. I could drive for literally hours without any issues, however, whenever I idle for more than 10 minutes this will happen.
These error codes do go away on their own without me clearing them after some time. But the next time I idle they’re back. I am not sure where to start so please help.
P2106 and P2110 are forced idle/power indicators, so I wouldn't sweat them right away. P0638 seems like the ticket to me. This is the set criteria for P0638:
As you can see, there's two different sets of conditions. One is a difference between real and target TPS value. The other is an airflow rationality problem. As in, the amount of air estimated to be flowing through the throttle and the calculated airflow rate don't agree.
Based on your symptoms, I would start looking for a vacuum leak first. Leaking intake gasket, cracked vacuum hose, like that. Idle is when vacuum leaks will have the greatest impact on engine airflow, so it'd make sense that the PCM is detecting a problem after idling for 10-20 minutes.