EBiCS firmware on which protocol USART or CAN?

aadarsh02

100 µW
Joined
Sep 10, 2024
Messages
8
Location
India
There are two different pin configurations one is old and another one is new generation, in new generation PA11 and PA12 configured as CAN_RX and CAN_TX, if i use stm32f103c8t6 as my processor then which communication it will take USART or CAN( i have not gone through the whole code)
 
Recently, only the UART protocols for Bafang, Kunteng and 5s (Kingmeter, KeyDisplay and others) are implemented.

regards
stancecoke
 
Recently, only the UART protocols for Bafang, Kunteng and 5s (Kingmeter, KeyDisplay and others) are implemented.

regards
stancecoke
Hi Stancecoke,

I hope you're doing well. I am currently working on a controller project and have encountered some challenges. I would greatly appreciate your guidance and expertise to help me complete the project.

If you're open to it, I would love to communicate further and share some files and details related to the project. Could you kindly provide your email address or preferred contact method so we can discuss this in more detail?

Thank you for your time and consideration.

Best regards,
Aadarsh
 
Depends on the firmware version. Some have the parameter P20, where you can switch to the 5s protocol, that is supported.
Screenshot_20240916-182917~2.png

regards
stancecoke
 
These are the parameters I am uploading to the controller, the display is turned on and I am giving full throttle, still the motor(BLDC hub motor) is not rotating, I can not understand the problem, can you please help me with the parameters or coding part, so that I can finish the project.
 

Attachments

  • Screenshot (9).png
    Screenshot (9).png
    130.6 KB · Views: 3
have you run the autodetect routine once first? Otherwise, the motor will not turn. If yes, went it well? So did the motor first turn slowly and spins up to top speed?
 
have you run the autodetect routine once first? Otherwise, the motor will not turn. If yes, went it well? So did the motor first turn slowly and spins up to top speed?
To run autodetect routine, we have to enable "direction detection" right? I have done that and there is no rotation in motor, do i need to change any other settings?
 
No, you have to enable Debug as display type and activate the Autodetect checkbox in the advanced tab.
Please read the wiki carefully!
sorry for bothering you a lot, can you give the clarification on the parameters, in voltage settings you mentioned that "Regen is stopped, when the battery voltage gets too high. Be careful to set a proper value, if you are using regen! If the BMS of the battery suddenly cuts the battery from the controller due to overvoltage, you will get magic smoke from the controller!!!", this is the exactly what happening to me, getting smoke from controller and my IC got burnt.Can you help me with the settings please, Thank you.
 
Back
Top