Just installed new plug wires, spark plugs, oxygen sensor, fan clutch and air filter (maintenance unrelated to idle issue)
The Issue:
The car idles high around 1,200 rpm at cold start until it reaches temp, at which point the idle drops down and becomes loping up and down from roughly 1,000 to 1,100 rpm. Periodically it will stop the loping and remain a solid idle for 30 seconds or so. It will then begin loping again.
Attempts to resolve so far:
1. I cleaned the ICV and inspected the tubes and intake from the AFM, no obvious cracks or leaks.
2. Removed the ICM from glove box and opened it up. Removed board from green plastic housing for inspection. Generally speaking it appears ok, however one resistor appears to have a brown or potentially burnt spot on it. Though I cannot confirm this is not normal. Photos here: https://bimmerzeit.com/2020/08/17/533i- ... ol-module/
While it is common for the ICM (idle control module in glove box) to be the culprit, I haven't seen a way to directly check if it is faulty. I reached out to the company that rebuilds them and they were unable to provide an answer as to how one even confirms the module is faulty through testing.
3. Running the car with the ICM unplugged made no change in loping idle.
4. Running the car with the ICV unplugged made no change in loping idle.
5. Checked resistance on ICV with meter and read 9.4 ohms. In-spec is supposedly 9-10 ohms.
6. Tested voltage at the ICV plug with key on 11v. With car running 12.2v. With car running while loping 12.6v
7. So resistance at ICV is in spec and the plug itself is getting power. I assume since it is getting power that means the ICM is likely good?
8. Throttle position sensor (TPS) has audible click on/off when butterfly is moved.
9. No fuel present on the vacuum line side of the FPR (fuel pressure regulator)
I'm not sure where to look next, possible a proper smoke test. Also have read that the poorly adjusted throttle plate on throttle body has resolved issues for some members. Another possibility is something related to the purge valve allowing unmetered air according to another thread.
Appreciate any input or tips. Thank you.

