Idle deactivation trigger

Hey, I work a lot on customer cars with emu classic and black. To test and learn about the emu pro, I put one in my Volvo 740 turbo and I quite happy with the pro. But there is one thing I can’t sorted out:

If I roll down to a crossroad and press the clutch and let the rpm reaches idle, everything is fine. If I then shift down while still rolling and clutch back in, the idle controller still stays in idle mode and because of the high rpm, the PID controller closes the ICV to the PID min limit value. If I set the PID min limit to low, the car dies if I stop and press the clutch again.

Am I overlooking something? A maximum rpm value to enter/exit the idle state? Ore maybe a combination of gear detection, clutch pressure, VSS sensor value to bring the idle state back to „armed“ if the ecu detects that the car still is in gear? (right now I didn’t set up the gear detecton)

I think the easiest way is, if it goes back to armed state if it overshoots the higher idle drop down rpm.

Tomorrow I can send a log of that problem, if that helps to understand the problem.