Candas1
Candas1
Yes it is the range of the pot. But the pots maximum is when maximum torque is requested. If you make it 5000 instead of 2500, maximum torque will be...
When this is enabled, you can get the max value IN1_MAX, change it, and save it to eeprom, even after the calibration. https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Debug-Serial#keyboard-debug-protocol
When firmware measures a 0v to 3.3v input, in results in a 0 to 4095 value, that's what is expected in config.h So 0.87v would be 1080 as min value.
https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Debug-Serial#keyboard-debug-protocol You activated it?
even DEBUG_SERIAL_PROTOCOL ?
It's been a while I haven't used this to be honest. I am not sure it will work if you enable debug for usart3 as tx and also keep SIDEBOARD_SERIAL_USART3/FEEDBACK_SERIAL_USART3....
I wouldn't advice anyone else using what I developed for now. I just developed the drivers for gd32, and I am trying to use simpleFOC library in the right way...
Hi, Some answers here: https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/360#issuecomment-1363799376
https://github.com/EFeru/hoverboard-sideboard-hack-GD/issues/3
Hi, I came accross this issue. My [fork](https://github.com/Candas1/Arduino-FOC/blob/new_adc_rebase/src/current_sense/hardware_specific/stm32/README.md) for ADC was meant to make it easier in the future to support more STM families, but I couldn't progress on this...