Toyota Inverter Clocked Serial Interface Protocol
Posted: Sun Apr 30, 2023 9:23 am
Hi All
Hope this is the correct place to ask this question.
In the Zombieverter Source, I see that a timer is setup to a pin that to provide the Clock signal for the Serial Interface.
and according to the wiki this is constant 500KHz.
I cannot find where the actual data transmission from the VCU to Inverter is actually Synced to this clock.
It appears the USART2 is not configured for Synchronous Master mode, but simply as a UART+ PWM Clock. Nor as a Slave mode that would accept a clock...( But slave SPI mode does not do Start and Stop bits...)
Am I missing something?
If just free running, could you then just use a UART + 50% PWM clock from any MCU?
Just something I am trying to get my small head around...
Any Insights appreciated...
Thanks
Hope this is the correct place to ask this question.
In the Zombieverter Source, I see that a timer is setup to a pin that to provide the Clock signal for the Serial Interface.
and according to the wiki this is constant 500KHz.
I cannot find where the actual data transmission from the VCU to Inverter is actually Synced to this clock.
It appears the USART2 is not configured for Synchronous Master mode, but simply as a UART+ PWM Clock. Nor as a Slave mode that would accept a clock...( But slave SPI mode does not do Start and Stop bits...)
Am I missing something?
If just free running, could you then just use a UART + 50% PWM clock from any MCU?
Just something I am trying to get my small head around...
Any Insights appreciated...
Thanks