Have Toyota Questions? Ask a Mechanic for Answers ASAP
Hello. Welcome to Just Answer. Please allow me to assist you. "Sounds" made by the engine (mechanical noises) will rarely cause the check engine light to come on. What does cause thsi light to illuminate are sensor faults, engine misfire issues, and other electrical things. IE a bad water pump will not cause the light to come on. So, it looks like you have two different problems. If the car is running normally, you most likely have an emission system issue. If it runs OK, the emission system can be looked at when you have the time to get it diagnosed. If it is running poorly, you need to take this car to a shop and get a computer diagnostic scan done. This will tell the technician where to start looking for the problem.
If you have any questions, please feel free to reply. Please do take a moment to confirm you have received my input. Thanks!