Spent quite some time to get 2812B lights to work with FOC_KING. Upgraded to FW 6.05 and installed Refloat. I used the ppm pin to connect Din of my LED strip. C6 from the ppm input low pass filter has to be removed.
A 1k pullup to 5v is also needed on the PPM PIN. I used the PIN directly connected to PB7 of the Processor marked in red to connect the Din line.
As REFLOAT was written for different VESCS (Thor and LittleFOCer), the PIN assignment is not correct, it seems to be hardcoded in Refloat (and FLOAT package). FOC_KING uses GPIO PB7 for PPM, other VESC6 use GPIOB PIN6.
From WS2812 lisp example script:
; This driver can use CH1 or CH2 of TIM3 or TIM4
; TIM3 CH1: GPIOC PIN6 (e.g. HALL1 on VESC6)
; TIM3 CH2: GPIOC PIN7 (e.g. HALL2 on VESC6)
; TIM4 CH1: GPIOB PIN6 (e.g. PPM on VESC6)
; TIM4 CH2: GPIOB PIN7
Long story short, under specs/LED pin select “dedicated pin”, NOT “PPM/servo pin”