Commit Graph
13 Commits
Author SHA1 Message Date
rotorman d19dcb9fc9 Unified dual I2C naming across Taranis and Horus builds.
Using "*_B1_*" for first logical I2C bus and "*_B2_*" for second logical I2C bus (instead of less clear I2C and I2CX).
2021-08-21 15:59:19 +02:00
rotorman b123caba06 Adds support of LSM6DS33 I2C IMU to TX16S via AUX1 port. Using CMake option -DIMU_LSM6DS33=YES the std. serial USART3/AUX1 functionality is changed to I2C2 bus.
The temperature, gyro and linear acceleration values of LSM6DS33 are sampled and displayed at radio analogs dialog screen in SI-units.
2021-08-21 15:08:50 +02:00
rotormanandRaphael Coeffic 3ac70da582 Changed I2C timing to FreeRTOS ticks and added HAL_I2C_Mem_Write_DMA() and HAL_I2C_Mem_Read_DMA() from STM32F4 HAL in preparation of changing to DMA based I2C. 2021-07-31 17:31:51 +02:00
rotorman 5f0bac3dc9 Rewrore STM32F4 HAL_I2C_MspDeInit to not call HAL_GPIO_DeInit(), but only disable I2C GPIO with GPIO_Init(). 2021-07-16 18:40:52 +02:00
rotorman a886c72a55 Cosmetics 2021-07-15 23:09:33 +02:00
rotorman b86745d8f4 Clear ADDR bit in atomic way. Not in original STM32F4 HAL.
Lower timeouts to more reasonable values.
2021-07-15 22:41:12 +02:00
rotorman 2ca5cc771c Added De-Init and Re-Init (in case this is ever required). 2021-07-15 21:34:20 +02:00
rotorman 8bfbb723f3 Integrated STM32F4 I2C HAL functions.
Changed old "I2C_SPEED" to "I2C_CLK_RATE" in order not to conflict with HAL.
Use TOUCH_INT again to gate touch sampling.
2021-07-15 19:25:31 +02:00
Bertrand Songis 677995205d [Horus] I2C audio pot is removed in latest board! 2016-01-15 11:16:24 +01:00
Bertrand Songis e8aaa67450 [Horus] GUI continued - #3159
[GVars] Refactoring continued - #3185
2016-01-14 07:41:30 +01:00
Andre Bernet 7fe39791ff Cosmetics 2016-01-12 11:23:58 +04:00
Bertrand Songis 97d59cfa56 Copyright script applied to all sources in the radio directory 2015-12-23 19:57:13 +01:00
Bertrand Songis 5554540630 Lowercase again in all directories to simplify things 2015-12-11 10:00:03 +01:00