rizacelik / STM32F411CEU6_INAV_Firmware

STM32F411CEU6 Board Firmware
136 stars 34 forks source link

no gyro or sensors #1

Closed gazza2577 closed 2 years ago

gazza2577 commented 2 years ago

status

System Uptime: 80 seconds Current Time: 2041-06-28T01:04:00.000+00:00 Voltage: 8.68V (3S battery - CRITICAL) CPU Clock=96MHz STM32 system clocks: SYSCLK = 96 MHz HCLK = 96 MHz PCLK1 = 48 MHz PCLK2 = 96 MHz Sensor status: GYRO=UNAVAILABLE, ACC=UNAVAILABLE, MAG=UNAVAILABLE, BARO=UNAVAILABLE, RANGEFINDER=NONE, OPFLOW=NONE, GPS=NONE, IMU2=NONE Stack size: 6144, Stack address: 0x20020000, Heap available: 2048 I2C Errors: 0, config size: 7049, max available config: 16384 ADC channel usage: BATTERY : configured = ADC 2, used = ADC 2 RSSI : configured = none, used = none CURRENT : configured = ADC 1, used = none AIRSPEED : configured = none, used = none System load: 13, cycle time: 1009, PID rate: 991, RX rate: 49, System rate: 10 Arming disabled flags: ANGLE CAL HWFAIL RX CLI VTX: not detected

rizacelik commented 2 years ago

Hello gazza2577.

Before connecting the GY-87 Module, connect the INAV Configurator to the stm32f411ceu6 black battery board. In the Configuration tab, set the I2C Speed to 800 KHZ. Terminate the connection and connect the of the GY-87 Module wiring to the diagram. INAV Configurator to the stm32f411ceu6 black battery board. GYRO, ACC, MAG, BARO will work.

Try it and post the result here.

Entering CLI Mode, type 'exit' to return, or 'help'

status

System Uptime: 32 seconds Current Time: 2041-06-28T01:04:00.000+00:00 Voltage: 10.38V (3S battery - WARNING) CPU Clock=96MHz, GYRO=MPU6050, ACC=MPU6050, BARO=BMP085, MAG=HMC5883 STM32 system clocks: SYSCLK = 96 MHz HCLK = 96 MHz PCLK1 = 48 MHz PCLK2 = 96 MHz Sensor status: GYRO=OK, ACC=OK, MAG=OK, BARO=OK, RANGEFINDER=NONE, OPFLOW=NONE, GPS=NONE, IMU2=NONE Stack size: 6144, Stack address: 0x20020000, Heap available: 2028 I2C Errors: 0, config size: 7049, max available config: 16384 ADC channel usage: BATTERY : configured = ADC 2, used = ADC 2 RSSI : configured = none, used = none CURRENT : configured = ADC 1, used = none AIRSPEED : configured = none, used = none System load: 136, cycle time: 604, PID rate: 1655, RX rate: 136, System rate: 9 Arming disabled flags: CAL OVRLD COMPASS ACC CLI VTX: not detected

gazza2577 commented 2 years ago

status

System Uptime: 94 seconds Current Time: 2041-06-28T01:04:00.000+00:00 Voltage: 8.89V (3S battery - CRITICAL) CPU Clock=96MHz STM32 system clocks: SYSCLK = 96 MHz HCLK = 96 MHz PCLK1 = 48 MHz PCLK2 = 96 MHz Sensor status: GYRO=UNAVAILABLE, ACC=UNAVAILABLE, MAG=UNAVAILABLE, BARO=UNAVAILABLE, RANGEFINDER=NONE, OPFLOW=NONE, GPS=NONE, IMU2=NONE Stack size: 6144, Stack address: 0x20020000, Heap available: 2048 I2C Errors: 0, config size: 7049, max available config: 16384 ADC channel usage: BATTERY : configured = ADC 2, used = ADC 2 RSSI : configured = none, used = none CURRENT : configured = ADC 1, used = none AIRSPEED : configured = none, used = none System load: 13, cycle time: 1006, PID rate: 994, RX rate: 49, System rate: 9 Arming disabled flags: ANGLE CAL HWFAIL RX CLI PWMOUT VTX: not detected PWM output init error: Not enough motor outputs/timers

still no joy

gazza2577 commented 2 years ago

status

System Uptime: 94 seconds Current Time: 2041-06-28T01:04:00.000+00:00 Voltage: 8.89V (3S battery - CRITICAL) CPU Clock=96MHz STM32 system clocks: SYSCLK = 96 MHz HCLK = 96 MHz PCLK1 = 48 MHz PCLK2 = 96 MHz Sensor status: GYRO=UNAVAILABLE, ACC=UNAVAILABLE, MAG=UNAVAILABLE, BARO=UNAVAILABLE, RANGEFINDER=NONE, OPFLOW=NONE, GPS=NONE, IMU2=NONE Stack size: 6144, Stack address: 0x20020000, Heap available: 2048 I2C Errors: 0, config size: 7049, max available config: 16384 ADC channel usage: BATTERY : configured = ADC 2, used = ADC 2 RSSI : configured = none, used = none CURRENT : configured = ADC 1, used = none AIRSPEED : configured = none, used = none System load: 13, cycle time: 1006, PID rate: 994, RX rate: 49, System rate: 9 Arming disabled flags: ANGLE CAL HWFAIL RX CLI PWMOUT VTX: not detected PWM output init error: Not enough motor outputs/timers

On Tue, 23 Nov 2021 at 16:24, Rıza Çelik @.***> wrote:

Hello gazza2577.

Before connecting the GY-87 Module, connect the INAV Configurator to the stm32f411ceu6 black battery board. In the Configuration tab, set the I2C Speed to 800 KHZ. Terminate the connection and connect the of the GY-87 Module wiring to the diagram. GYRO, ACC, MAG, BARO will work.

Try it and post the result here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rizacelik/STM32F411CEU6_INAV_Firmware/issues/1#issuecomment-976799554, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMA7NW53ROOQ2NF2ZP5IEWTUNO54LANCNFSM5ISBA2AQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

gazza2577 commented 2 years ago

still no joy

On Wed, 24 Nov 2021 at 14:20, alban wincott @.***> wrote:

status

System Uptime: 94 seconds Current Time: 2041-06-28T01:04:00.000+00:00 Voltage: 8.89V (3S battery - CRITICAL) CPU Clock=96MHz STM32 system clocks: SYSCLK = 96 MHz HCLK = 96 MHz PCLK1 = 48 MHz PCLK2 = 96 MHz Sensor status: GYRO=UNAVAILABLE, ACC=UNAVAILABLE, MAG=UNAVAILABLE, BARO=UNAVAILABLE, RANGEFINDER=NONE, OPFLOW=NONE, GPS=NONE, IMU2=NONE Stack size: 6144, Stack address: 0x20020000, Heap available: 2048 I2C Errors: 0, config size: 7049, max available config: 16384 ADC channel usage: BATTERY : configured = ADC 2, used = ADC 2 RSSI : configured = none, used = none CURRENT : configured = ADC 1, used = none AIRSPEED : configured = none, used = none System load: 13, cycle time: 1006, PID rate: 994, RX rate: 49, System rate: 9 Arming disabled flags: ANGLE CAL HWFAIL RX CLI PWMOUT VTX: not detected PWM output init error: Not enough motor outputs/timers

On Tue, 23 Nov 2021 at 16:24, Rıza Çelik @.***> wrote:

Hello gazza2577.

Before connecting the GY-87 Module, connect the INAV Configurator to the stm32f411ceu6 black battery board. In the Configuration tab, set the I2C Speed to 800 KHZ. Terminate the connection and connect the of the GY-87 Module wiring to the diagram. GYRO, ACC, MAG, BARO will work.

Try it and post the result here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rizacelik/STM32F411CEU6_INAV_Firmware/issues/1#issuecomment-976799554, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMA7NW53ROOQ2NF2ZP5IEWTUNO54LANCNFSM5ISBA2AQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

rizacelik commented 2 years ago

Did you follow these steps?

  1. First, load the firmware on the STM32F41 board without connecting the modules.
  2. Then connect to the board with INAV Configrator.
  3. connect the INAV Configurator to the stm32f411ceu6 black battery board.
  4. In the Configuration tab, set the I2C Speed to 800 KHZ.
  5. Connect the sensor modules to the STM32F41 board.
  6. connect the INAV Configurator to the stm32f411ceu6 black battery board.

Have you followed these steps and it didn't work? I can't help you because you haven't given any explanation.

gazza2577 commented 2 years ago

hi done all above dont think the STM32F41 board. i2c is working . not sure why would changing the i2c pins help like pin 6 and 7

gazza2577 commented 2 years ago

Yes, I did.

On Wed, 24 Nov 2021 at 17:03, Rıza Çelik @.***> wrote:

Did you follow these steps?

  1. First, load the firmware on the STM32F41 board without connecting the modules.
  2. Then connect to the board with INAV Configrator.
  3. connect the INAV Configurator to the stm32f411ceu6 black battery board.
  4. In the Configuration tab, set the I2C Speed to 800 KHZ.
  5. Connect the sensor modules to the STM32F41 board.
  6. connect the INAV Configurator to the stm32f411ceu6 black battery board.

Have you followed these steps and it didn't work? I can't help you because you haven't given any explanation.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rizacelik/STM32F411CEU6_INAV_Firmware/issues/1#issuecomment-978064171, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMA7NWYIO4D4PYF473RDDCDUNULHDANCNFSM5ISBA2AQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

rizacelik commented 2 years ago

With this video, I showed you how to install the sensors. Please watch.

https://youtu.be/HbSUMauSkiw

gazza2577 commented 2 years ago

getting a new board i followed your video to the letter checked sensors are working on arduino thanks for your help will let you know how i get on

gazza2577 commented 2 years ago

hi cant get stm32f411ceu6to work with radio on i bus or s bus using a Frsky Taranis x9d plus.with fs-ia6b with module plus frsky reciever using a3 pin rx2 . do i need to use non-inverted (hacked) sbus thanks garry

On Thu, 25 Nov 2021 at 11:45, Rıza Çelik @.***> wrote:

With this video, I showed you how to install the sensors. Please watch.

https://youtu.be/HbSUMauSkiw

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rizacelik/STM32F411CEU6_INAV_Firmware/issues/1#issuecomment-979135379, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMA7NW7CDYN53RYOCNN7WYLUNYOWHANCNFSM5ISBA2AQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

rizacelik commented 2 years ago

You can use frsky reciever. The use of SBUS is turned on, you do not need to do anything additional.

gazza2577 commented 2 years ago

got it working on frsky rx6r sbus using a diy sbus inverter . would not work with sbus from receiver. thanks for all your help riza garry

On Mon, 31 Jan 2022 at 06:07, Rıza Çelik @.***> wrote:

You can use frsky reciever. The use of SBUS is turned on, you do not need to do anything additional.

— Reply to this email directly, view it on GitHub https://github.com/rizacelik/STM32F411CEU6_INAV_Firmware/issues/1#issuecomment-1025409288, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMA7NWZKN3HQ63ZWM3PFBR3UYYRJPANCNFSM5ISBA2AQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you modified the open/close state.Message ID: @.***>

rizacelik commented 2 years ago

Great