hello!
High NOx (oxides of nitrogen) levels are formed if the temperature in the combustion chambers is too high. The manufacturer controls combustion temperature by diluting the air/fuel mixture slightly with a small amount of exhaust gas mixed into the incoming air/ fuel mixture as needed.
This is accomplished by providing an internal passage through the intake manifold for exhaust gas to flow, and the amount is controlled by the EGR (exhaust gas recirculation) valve.
If you have a high NOx level, then it is almost certainly an EGR related problem. Cheeck the EGR valve for any disconnected vacuum hoses, make sure it is operating, and if necessary remove it to clean any carbon deposits from the pintle area. When functioning properly, opening he EGR valve at idle should make the engine run very roughly or stall.
I hope this is helpful; if so, please click my accept button! Thanks!