a guess would be that you have some EGR occurring at idle, but not anywhere near the amount commanded above that, causing the spark advance that is added due to EGR presence being enough to cause knock.

I would do a test run with EGR disabled(coolant temp enable threshold raised to maximum) and see if that helps/completely fixes the issue.