Code p0320 car is running rough

Code 320 is for a problem with the ignition system including the circuit for the tachometer. Generally speaking the problem could be anything in the ignition system including the crank or cam sensors.
The ignition system would need to be checked out to pinpoint the actual problem.

a 6ya Mechanic can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repair professionals here in the US.
click here to Talk to a Mechanic (only for users in the US for now) and get all the help you need.