betaflight / bidircfg

9 stars 15 forks source link

MATEKF722 - ESC's don't arm since build 1613 #25

Closed loomerco closed 5 years ago

loomerco commented 5 years ago

Describe the bug MATEKF722 - ESC's don't arm since build 1613 (and up to 1615 as of today its the last).

To Reproduce use above build with BLHELI32 rev 32.36 (inverted DSHOT)

Expected behavior In builds 1604-1612 unsing the same config ESC's arm, only there are dual startup tones.

Setup / Versions

Flight controller configuration


# diff

# version
# Betaflight / MATEKF722 (MKF7) 4.1.0 May  3 2019 / 08:40:35 (d377f9431) MSP API: 1.42

# start the command batch
batch start

board_name MATEKF722
manufacturer_id 

# name

# resources
resource MOTOR 5 NONE
resource MOTOR 6 NONE
resource MOTOR 7 NONE
resource MOTOR 8 NONE
resource PPM 1 NONE
resource PWM 1 NONE
resource PWM 2 NONE
resource LED_STRIP 1 NONE
resource SERIAL_TX 1 NONE
resource SERIAL_TX 5 NONE
resource SERIAL_RX 1 NONE
resource SERIAL_RX 5 NONE
resource LED 1 NONE
resource LED 2 NONE
resource ADC_RSSI 1 NONE
resource ADC_CURR 1 NONE

# timer

# dma

# mixer

# servo

# servo mix

# feature
feature -TELEMETRY
feature -AIRMODE
feature -DYNAMIC_FILTER
feature MOTOR_STOP

# beeper
beeper -ARMED
beeper -ON_USB

# beacon
beacon RX_LOST
beacon RX_SET

# map
map TAER1234

# serial
serial 2 2048 115200 57600 0 115200
serial 3 1024 115200 57600 0 115200

# led

# color

# mode_color

# aux
aux 0 13 1 1650 2100 0 0
aux 1 26 0 900 1300 0 0
aux 2 28 0 900 1300 0 0
aux 3 35 1 1300 2100 0 0

# adjrange
adjrange 0 0 2 900 1325 6 3 0 0
adjrange 1 0 2 1325 1725 7 3 0 0
adjrange 2 0 2 1725 2100 8 3 0 0

# rxrange

# vtx

# vtxtable

# rxfail

# display_name

# master
set gyro_lowpass_type = PT1
set gyro_lowpass_hz = 156
set gyro_lowpass2_hz = 0
set yaw_spin_threshold = 1200
set dyn_notch_width_percent = 0
set dyn_notch_q = 250
set dyn_notch_min_hz = 200
set dyn_lpf_gyro_min_hz = 0
set dyn_lpf_gyro_max_hz = 0
set acc_hardware = NONE
set mag_hardware = NONE
set baro_hardware = NONE
set min_check = 1005
set max_aux_channels = 2
set serialrx_provider = SPEK2048
set airmode_start_throttle_percent = 4
set blackbox_p_ratio = 64
set blackbox_record_acc = OFF
set min_throttle = 1060
set dshot_burst = OFF
set dshot_bidir = ON
set motor_pwm_protocol = DSHOT1200
set bat_capacity = 1300
set vbat_min_cell_voltage = 350
set current_meter = NONE
set vbat_scale = 108
set beeper_dshot_beacon_tone = 2
set yaw_motors_reversed = ON
set small_angle = 180
set auto_disarm_delay = 0
set pid_process_denom = 1
set thrust_linear = 50
set transient_throttle_limit = 25
set osd_vbat_pos = 460
set osd_tim_2_pos = 1
set osd_ah_pos = 234
set osd_current_pos = 33
set osd_mah_drawn_pos = 417
set osd_craft_name_pos = 19
set osd_debug_pos = 34
set osd_warnings_pos = 2377
set osd_stat_max_spd = OFF
set osd_stat_min_rssi = OFF
set osd_stat_max_curr = OFF
set osd_stat_used_mah = OFF
set osd_stat_bbox = OFF
set osd_stat_bb_no = OFF
set osd_stat_max_fft = ON
set debug_mode = GYRO_SCALED
set cpu_overclock = 240MHZ
set scheduler_optimize_rate = ON
set vtx_band = 3
set vtx_channel = 4
set vtx_power = 3
set vtx_low_power_disarm = ON
set vtx_freq = 5645
set vtx_pit_mode_freq = 5645
set gyro_rpm_notch_q = 1000
set gyro_rpm_notch_min = 200
set dterm_rpm_notch_q = 800
set dterm_rpm_notch_min = 200
set rpm_notch_lpf = 200

# profile
profile 0

set dyn_lpf_dterm_min_hz = 0
set dyn_lpf_dterm_max_hz = 46
set dterm_lowpass_type = PT1
set dterm_lowpass_hz = 0
set dterm_lowpass2_type = BIQUAD
set dterm_lowpass2_hz = 120
set vbat_pid_gain = ON
set anti_gravity_gain = 7000
set iterm_relax_cutoff = 5
set pidsum_limit = 1000
set pidsum_limit_yaw = 1000
set throttle_boost = 20
set i_pitch = 60
set d_pitch = 52
set f_pitch = 300
set i_roll = 57
set d_roll = 50
set f_roll = 280
set p_yaw = 65
set i_yaw = 92
set f_yaw = 85
set abs_control_gain = 1
set d_min_roll = 35
set d_min_pitch = 38
set d_min_boost_gain = 45

# rateprofile
rateprofile 0

set roll_srate = 78
set pitch_srate = 78
set yaw_srate = 78
set tpa_rate = 70

# end the command batch
batch end ``` 
joelucid commented 5 years ago

Do your escs arm if you switch off dshot_bidir, @loomerco ?

loomerco commented 5 years ago

Updating: just went checking your request @joelucid and found out that today everything works fine, whilst yesterday this was totally consistent multiple flashing back and forth between the versions (with full erase). I even tried the same sequence of flashing I did yesterday and it works as well. so this can be closed for now.