dgatf / msrc

Multi Sensor for RC with RP2040 - FrSky D, SmartPort, XBUS, SRXL, IBUS, SBUS, Multiplex Sensor Bus, Jeti Ex Bus, Hitec
GNU General Public License v3.0
165 stars 39 forks source link

Castle Link and Teensy LC #86

Closed jdowdle closed 1 year ago

jdowdle commented 2 years ago

Im getting Telemetry, the values looked saturated, but tried throttle and it is unresponsive now. I enabled feature "Live Link Enable" on the other page of Castle Link 3.85.00. It is confusing that the ?help button describes this as a USB telemetry, I hope I enabled the correct option.

I currently have the esc input connected to 2 & 6 on the teensyLC, with a 3.3k to 5 V. Your doc on the Castle branch shows using 5V pullup in the Castle/Teensly LC schematic, the table is silent on what to pullup to. The main branch shows pullup to 3.3V for Castle. I am confused whether I should be using the main branch with Castle link configured, or the Castle branch. Started with Main, now have Castle programmed.

I initially connected the throttle out from Receiver to pin 22 as shown in the schematic in the Main branch, but have corrected to pin 16 now.

BTW, I get no ESC beeping when I apply power, but noticed when I disconnect receiver power I get the startup ESC beeps. But no throttle response with power on after that. I verified that Live Link Enable is active in the Castle Link programming tool.

I believe thats it, any ideas? thanks.

ahfynjj commented 1 year ago

I have the same problem as you

dgatf commented 1 year ago

I enabled feature "Live Link Enable"

Yes, that's correct

The main branch shows pullup to 3.3V

Pull up to Teensy pin 3V

I initially connected the throttle out from Receiver to pin 22 as shown in the schematic in the Main branch, but have corrected to pin 16 now.

Sorry, connect throttle signal from receiver to pin 16 as defined in the table. Schematic to pin 22 is wrong

BTW, I get no ESC beeping when I apply power, but noticed when I disconnect receiver power I get the startup ESC beeps.

That means ESC is not getting proper signal from Teensy. Check the throttle signal from receiver is connected to pin 16 and the pull up is installed. If this is correct, try with a lower resistance, 1k

Just tested and working with Teensy LC

dgatf commented 1 year ago

Schematic fixed with 0e726eaea269905623cfb59bc3ca438d9e1a8f03