Siddharth Purohit
d484477a99
AP_HAL_ChibiOS: move to using PLL2_R_CK for QSPI
2021-09-01 17:10:53 +10:00
Andrew Tridgell
4cebcede31
HAL_ChibiOS: switched to fix allocation for BMDA streams on H7
...
this avoids issues with BDMA stream assignments due to bugs found
while testing boards with both I2C4 and SPI6
2021-08-25 07:11:31 +10:00
Andrew Tridgell
57e87b9820
HAL_ChibiOS: measure MCU temperature and ref voltage on H7
...
this uses ADC3 to measure the internal MCU temperature and the reference
voltage. This uses a currently unused BDMA channel
2021-08-25 07:11:31 +10:00
Siddharth Purohit
245f9d21b3
AP_HAL_ChibiOS: update clock config for FDCAN and External Flash
2021-06-30 19:34:36 +10:00
Siddharth Purohit
abc26d1993
AP_HAL_ChibiOS: add QSPI Device Driver in HAL
2021-06-30 19:33:17 +10:00
Andrew Tridgell
8764d69e2c
HAL_ChibiOS: default SDMMC clock to 12.5MHz max on H7
...
this makes microsd considerably more reliable
2021-05-02 13:04:42 +10:00
Andrew Tridgell
61c829d624
HAL_ChibiOS: only use SRAM4 for DMA for now
...
we can enable others when we have an allocation interface that
specifies the peripheral type
2021-04-07 17:10:45 +10:00
Andrew Tridgell
ca948171fe
HAL_ChibiOS: fixed ADC error on revXY STM32H7 boards
...
with the new ChibiOS revision we were configuring for newer revisions
of the H7, which meant that we changed the ADC config. This broke ADC
readings on revX and revY H7 MCUs.
This PR fixes it in two ways:
1) change ChibiOS config to assume XY config chips
2) use 16 bit ADC for H7, which means the chip rev doesn't matter,
and also gives us 16x the resolution for ADC readinga, so we can
read smaller voltage and current values
2021-04-05 11:01:03 +10:00
Andy Piper
e1d71486e4
AP_HAL_ChibiOS: build fixes for ChibiOS 20.3.x
2021-03-23 12:01:20 +11:00
Andrew Tridgell
5b59445471
AP_HAL_ChibiOS: fixes for build with 20.3.x ChibiOS
2021-03-23 12:01:20 +11:00
Andrew Tridgell
84bd59a7bb
HAL_ChibiOS: support H7 with no crystal
2020-07-10 13:33:51 +10:00
Andrew Tridgell
db642717be
HAL_ChibiOS: fixed clock for FDCAN to be below 80MHz
...
we were running at 100MHz, which is out of spec
2020-04-24 16:55:03 +10:00
Andrew Tridgell
8e977183fe
HAL_ChibiOS: added mRoNexus
2020-04-23 07:28:13 +10:00
Andrew Tridgell
9e0edba31d
HAL_ChibiOS: raised timer clocks to 200MHz
...
this gives more flexibility in setting up timers for DShot
2020-02-12 18:12:39 +11:00
Andrew Tridgell
fced7d78fc
HAL_ChibiOS: fixed clock src for I2C4 on H7
2020-01-08 05:56:23 +11:00
Andrew Tridgell
f8cfbb8062
HAL_ChibiOS: added ISR limit on I2C
...
this will prevent any possibility of an I2C interrupt storm. This is
designed to address the most likely cause of #11642
2019-08-25 17:12:16 +10:00
Andrew Tridgell
160de969a5
HAL_ChibiOS: simplify H7 clock tree setup
...
and push more peripherals to max of 100MHz
2019-03-04 21:42:07 +11:00
Andrew Tridgell
5bcfe41d1f
HAL_ChibiOS: push H7 clock to 400MHz
2019-03-04 19:38:06 +11:00
Andrew Tridgell
4c12ba4c2c
HAL_ChibiOS: fixed SDMMC IRQ priority
2019-03-01 11:39:27 +11:00
Andrew Tridgell
e192bc6c10
HAL_ChibiOS: adjust H7 clocks, and enabled SDMMC
2019-03-01 11:39:12 +11:00
Andrew Tridgell
f8aeeb0333
HAL_ChibiOS: adjust clock tree to be more consistent
...
use 96MHz for all peripheral buses
2019-02-26 16:18:26 +11:00
Andrew Tridgell
5dd82f1d63
HAL_ChibiOS: adjust 16MHz HSE settings for H743 (CubeH7)
2019-02-26 16:18:26 +11:00
Andrew Tridgell
b0f4494c4a
HAL_ChibiOS: fixed DMA on SPI for Pixhawk4Pro
2019-02-26 16:18:26 +11:00
Andrew Tridgell
77d4e1f796
HAL_ChibiOS: removed ID_ANY streams for H7
...
use generated map instead
2019-02-26 16:18:26 +11:00
Andrew Tridgell
46787fe7d8
HAL_ChibiOS: adjust clocks for H743
2019-02-26 16:18:26 +11:00
Andrew Tridgell
37bcd6e7d8
HAL_ChibiOS: default to timer 5 for H7
2019-02-26 16:18:26 +11:00
Andrew Tridgell
4b01e2c3b3
HAL_ChibiOS: fixed clock tree for no LSE on H7
2019-02-26 16:18:26 +11:00
Andrew Tridgell
52b47e499b
HAL_ChibiOS: fixed H7 clock tree for ADC driver
2019-02-26 16:18:26 +11:00
Andrew Tridgell
1fa0a2eeca
HAL_ChibiOS: fixed peripheral enables on H7
2019-02-26 16:18:26 +11:00
Andrew Tridgell
c2746ca9f9
HAL_ChibiOS: simplify H7 hwdef.dat
2019-02-26 16:18:26 +11:00
Andrew Tridgell
227ecc53ac
HAL_ChibiOS: support mcuconf for STM32H7 MCU
2019-02-26 16:18:26 +11:00