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

RP2040 and Smartport with Castle question #90

Closed ahfynjj closed 1 year ago

ahfynjj commented 1 year ago

Using RP2040, I connected the castle160 ESC through s.port. When the Board GPIO 4 (Castle. Receiver signal) is not connected to the receiver, the feedback of the remote controller is displayed normally. When I connect the Board GPIO 4 to the receiver, the feedback The transmitted information will be lost, but the remote control pushes the accelerator, and the ESC will drive the motor to rotate. This question is very strange. English is not good, I hope you can understand.

dgatf commented 1 year ago

Fixed with 2ecf354e5375c4af6b95a8b7c67e1daab4f9d381. Please try updated firmware. Let me know if it works now

ahfynjj commented 1 year ago

The returned value is displayed, but it seems that the value is wrong. "ESC RPM" stays at "14592/rpm" when the motor stops,And the speed displayed is lower than the actual speed when turning, I am sunnysky X3520-iii 560KV,6S battery, the speed display stays at 906rpm when the throttle is full; "ESC Current" is fixed at "204.80A" without any change; "ESC Concentration" is always "0mAH". ESC is Castle Phhoenix Edge HV 160

dgatf commented 1 year ago

Other values (temp, bec...) are correct?

dgatf commented 1 year ago

I've made some adjustments. Please try updated firmware

ahfynjj commented 1 year ago

https://youtu.be/9xrZCXd11wU Updated the latest firmware, the problem still exists, please watch the video

dgatf commented 1 year ago

Some debug is needed. Please flash this firmware (no need to config it). Disconnect power supply from battery to the rp2040 and connect rp2040 to usb. Then with serial monitor at 115200 (you can use arduino ide) post output

MSRC-RP2040_castle.zip

Unzip as u2f can't be attached here

ahfynjj commented 1 year ago

Is there any data, I'm not sure if it's done correctly, please watch the video https://youtu.be/ODJKWpRl3E4

xiaoyigg commented 1 year ago

兄弟 我也在搞这个 加个QQ或者微信一起交流?

ahfynjj commented 1 year ago

QQ 912665

dgatf commented 1 year ago

Fixed with 33585ca3531d00a9905ecfa0e9957d370f44e846