d3drturner
10 mW
- Joined
- Apr 14, 2019
- Messages
- 23
If you look at the generic VESC schematic in Benjamins repo, you will find pins PB11 and PC7 for UART Rx, both are 5V tolerant.
Flipsky is using PB11 also.
View attachment 384916
View attachment 384917
View attachment 384918
thanks for that info; I gather FT means 5V tolerant, which makes sense as my board still seems to function;
I have a question about the Tx to Rx paths:
Schematic-6.png shows
RX is PB10
TX is PB11

on VESC_BLDC\hwconf\flipsky_official\flipsky_v6\hw_flipsky_60_core.h
HW_UART_TX_PIN is B10
HW_UART_RX_PIN is B11
They are crossed, which is correct, right?
I have ekd01 RX going to TX on the flipsky
but you are showing 5 as being TxD going to TX?

on the EKD01 the manual shows Rx and GND on the same side which you also show (but mirrored) but then you have Rx going to Rx?
(manual that came with the EKD01)

but then there is this Varstrom EKD 01 HMI for BAFANG TONGSHENG VARSTROM Conversion Kits which shows GND being on the TxD side, like yours if your pin 3 which is connected to Rx is actually Tx

anyhow, something is interfering with the messaging when the emulator gets connected or I configure the input in VESC tool.
until I do that there is no err30. And the rest of the hardware seems to work; motor spins and detects and spins up on app setting of "no app" with the duty, current or erpm sweeps.
On configuration of the input from the emulator, it shows expected oscillations of 2.5 v to 0.5 volts but the PAS signals do not seem to be getting to Hall1 and 2.


