System Diagram
WARNING: This page is about a different car, the 2008 Toyota Camry Solara. However, it is still accessible from the selected car via links, so may be relevant.
Ignition timing is determined by the ECM based on signals from various sensors.
Courtesy of © TOYOTA, LICENSE AGREEMENT TMS1002
Courtesy of © TOYOTA, LICENSE AGREEMENT TMS1002