Tesla charger (GEN3) AC current control over CAN?
Posted: Thu Apr 27, 2023 8:40 am
hi,
i'm running the Tesla charger STM32 firmware on the v5 board in the GEN3 charger, using the PP and CP pins of the v5 board and i control the charger via CAN 0x102 message. all is working perfect, but now i want to control the AC current via CAN. i'm planning to use the BMW LIM and i get the AC limit via that. but via the 0x102 message i can only control the total DC current. i know i can calculate the theoretical AC current through calculating and control the DC current, but i don't know if there is 1 or 3 phase supplied via the EVSE so that is not a solution.
as far is i know the custom CAN messages are not working in the Tesla charger STM32 firmware so a can not map a custom message to a CAN message, or am I wrong and does this work?
I could possibly generate a PWM signal and put it on the cp pin, but I don't think that's such an elegant solution. would prefer to be able to control it via CAN.
As a last option I could read the tesla modules messages themselves to see which and how many phases come from the EVSE and then calculate the DC current based on that, but that also sounds also a bit awkward.
Do you have an idea how best to approach this?
Thanks for contributing ideas!
i'm running the Tesla charger STM32 firmware on the v5 board in the GEN3 charger, using the PP and CP pins of the v5 board and i control the charger via CAN 0x102 message. all is working perfect, but now i want to control the AC current via CAN. i'm planning to use the BMW LIM and i get the AC limit via that. but via the 0x102 message i can only control the total DC current. i know i can calculate the theoretical AC current through calculating and control the DC current, but i don't know if there is 1 or 3 phase supplied via the EVSE so that is not a solution.
as far is i know the custom CAN messages are not working in the Tesla charger STM32 firmware so a can not map a custom message to a CAN message, or am I wrong and does this work?
I could possibly generate a PWM signal and put it on the cp pin, but I don't think that's such an elegant solution. would prefer to be able to control it via CAN.
As a last option I could read the tesla modules messages themselves to see which and how many phases come from the EVSE and then calculate the DC current based on that, but that also sounds also a bit awkward.
Do you have an idea how best to approach this?
Thanks for contributing ideas!