Code P0221 means what it says. When the powertrain control module does not correlate with the current engine speed, the fault code is called "Throttle/Pedal Position Sensor/Switch B Range/Performance".
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.