Camshaft position sensor.
my 03 corolla started acting like it was misfiring, then it started stalling. Each time it was harder to get it to restart. codes were read said camshaft position sensor and ignition module errors. What can I check to make sure which is wrong, and can one cause the other to show error while still fine?