RS41ng/src/hal
Mikael Nousiainen 76e2fd1fae
Graw DFM-17 radiosonde support (#61)
* Initial plumbing for DFM17 (#54)

* Implementing Si4063 radio chip support for DFM17 sonde. Work in progress.

* Add an error to indicate that the code does not work yet

* Removed copyrighted docs from documentation and provided links instead (#55)

* Fix SPI bus initialization for DFM17. Trying to make Si4063 SPI communication work (in progress). Fix LED bit polarity.

* Set DFM17 clocks correctly to 24 MHz

* Still trying to fix Si4063 SPI communication, no luck

* Add clearing of SPI overrun status flag to make Si4063 comm work properly in DFM17. Not sure about the reason this is required.

* Fix bug when setting Si4063 frequency. Remove unnecessary GPS debug and delays. Add Si4063 debug printout. Find a suitable frequency offset multiplier to achieve 270 Hz tone spacing for Horus 4FSK.

* Add some known good Si4063 configuration values. Implement direct GPIO-based modulation for Si4063 that allows support for CW now.

* DFM-17 APRS work (#60)

* Modify for APRS on DFM17

* Clean up Si4063 APRS work and make APRS deviation configurable

* Add documentation for DFM-17

* Add a note about the DFM-17 connector

* More work on docs and config for DFM-17

* Docs

* Mor work on config

* Fix RS41 URL

* Added info about high-altitude balloon flights

* Fix typo

* More code cleanup

* Update authors

* Improve DFM-17 docs

* Added a timepulse routine for DFM17 and also a millis() routine.  Working toward clock calibration.

* More refinements to the HCI calibration

* Cleaned up clock calibration code and integrated into the main radio loop.  Also added APRS telemetry for calibration.

* Added logic to (hopefully) avoid over-calibration if there is an errant timepulse.

* Clean up DFM-17 clock calibration implementation and make RS41 compile properly

* Adjust README

* Add notes about DFM-17 clock calibration

* Fix typo

* Add DFM-17 note about clock calibration to the top of the README

* Text style

* Working on README

* Working on README

* Move datasheet links to main README

* Markdown styling

* Improve config file structure

* Remove unnecessary comments

---------

Co-authored-by: Mike Hojnowski <kd2eat@gmail.com>
2023-10-15 12:38:05 +03:00
..
cmsis Initial commit (work in progress) 2020-08-26 22:57:35 +03:00
cmsis_boot Initial commit (work in progress) 2020-08-26 22:57:35 +03:00
stm_lib Add pulse counter feature to RS41ng (#20) 2022-09-05 09:36:53 +03:00
clock_calibration.c Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
clock_calibration.h Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
datatimer.c Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
datatimer.h Add support for Horus 4FSK modulation. Increase APRS preamble size to improve reception. Fix slowness in I2C initialization. Fix incorrect GPS settings for airborne usage. Additional minor code clean-up and refactoring. 2021-08-11 23:24:30 +03:00
delay.c Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
delay.h Initial commit (work in progress) 2020-08-26 22:57:35 +03:00
hal.h Initial commit (work in progress) 2020-08-26 22:57:35 +03:00
i2c.c Make I²C bus clock speed configurable and add notes about the speed 2022-06-16 18:53:54 +03:00
i2c.h Make I²C bus clock speed configurable and add notes about the speed 2022-06-16 18:53:54 +03:00
millis.c Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
millis.h Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
pwm.c Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
pwm.h Add support for Horus 4FSK modulation. Increase APRS preamble size to improve reception. Fix slowness in I2C initialization. Fix incorrect GPS settings for airborne usage. Additional minor code clean-up and refactoring. 2021-08-11 23:24:30 +03:00
spi.c Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
spi.h Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
system.c Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
system.h Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
usart_ext.c Allow relaying of GPS NMEA output to the external RS41 serial port to be integrated with other tracker hardware. Allow GPS position recording (by enabling GPS serial port interrupts) during CW and Horus transmissions to avoid transmitting stale GPS data. 2021-11-11 18:15:52 +02:00
usart_ext.h Allow relaying of GPS NMEA output to the external RS41 serial port to be integrated with other tracker hardware. Allow GPS position recording (by enabling GPS serial port interrupts) during CW and Horus transmissions to avoid transmitting stale GPS data. 2021-11-11 18:15:52 +02:00
usart_gps.c Graw DFM-17 radiosonde support (#61) 2023-10-15 12:38:05 +03:00
usart_gps.h Initial commit (work in progress) 2020-08-26 22:57:35 +03:00