Wykres commitów

59 Commity (ae6f17bf3103da09b436f52627c02651cbfa9b5a)

Autor SHA1 Wiadomość Data
Rob Riggs e43049f958 Add symbol slope integrator code (currently unused). 2022-01-23 12:22:25 -06:00
Rob Riggs fd6d13cfa4 Make the adcInputQueue size match the number of buffers allocated in AudioInput.hpp (8). 2022-01-23 12:15:27 -06:00
Rob Riggs a91f25b697 Make LED PWM Timer configurable. 2021-07-24 16:51:59 -05:00
Rob Riggs 8b08eed6fa Use TNC_DEBUG instead of DEBUG because DEBUG is defined by STM32CubeIDE. 2021-07-24 16:16:41 -05:00
Rob Riggs 52313c0ee5 Simplify & correct clock trees. 2021-06-22 20:59:00 -05:00
Rob Riggs 286bfaac94 Update clock trees. Update 9600 baud modem to run at 72MHz instead of 80MHz. Fixes broken 9600 baud mode broken by M17 changes. 2021-06-21 20:52:07 -05:00
Rob Riggs 411c6be489 Add 72MHz clock for M17 and update all clock configs for max accuracy. 2021-06-20 15:32:06 -05:00
Rob Riggs d6c693f044 Fix memory leak (frame buffers). 2021-03-18 20:13:22 -05:00
Rob Riggs 46bfd7a3c6 Re-enable watchdog. 2021-02-21 19:24:21 -06:00
Rob Riggs 308ef55ac4 Log an error if an assertion fails. 2021-02-21 17:15:43 -06:00
Rob Riggs 85fec3e4e3 Add FreeRTOS stack overflow hook. 2021-02-21 10:05:32 -06:00
Rob Riggs 3f4ea71f5f Increase watchdog scaler to 16 for a 2s timeout. 2021-02-18 20:23:29 -06:00
Rob Riggs 6311ef8134 Enable independent watchdog. Update version to 2.1.7. 2021-02-16 19:54:28 -06:00
Rob Riggs 506c2b4b48 Switch modulator to 15 symbol float RRC. Reduce DAC period to 1665 (to improve FSK stats on E4406A/89600 VSA software). 2021-02-16 19:45:48 -06:00
Rob Riggs 00e153fd58 Change MSI to 16MHz to lower PLL jitter (STM recommendation). Lower UART and I2C interrupt priority compared to DAC & ADC. Increase DAC DMA priority. 2021-02-16 19:31:30 -06:00
Rob Riggs 92f83207c4 Increase size of modulator packet buffer to improve streaming. 2021-01-23 10:54:30 -06:00
Rob Riggs 6049139ac7 Make it easier to share code between TNC3 and NucleoTNC. Clean up some dead code. 2021-01-03 15:36:57 -06:00
Rob Riggs fa8b4660e9 Remove unused base64 encoding code. 2021-01-01 22:53:29 -06:00
Rob Riggs 4a2a62e870 Reduce serial number string buffer size. 2021-01-01 13:51:33 -06:00
Rob Riggs 86b1786da5 Add packet demod and modulator support for packet and stream mode. 2020-12-27 21:14:57 -06:00
Rob Riggs d8261e34cd Updated the M17 audio RX. 2020-12-09 18:03:53 -06:00
Rob Riggs 98ceec2559 Use a ping-pong buffer for USB RX. Simplify code and improve flow control. 2020-07-04 14:45:20 -05:00
Rob Riggs 6420bd4f58 Add StdDev/SNR calc for debug. 2020-04-14 21:02:15 -05:00
Rob Riggs a06d3b694b Enable sample&hold on DAC channel 2. Log when changing frequency. 2020-03-05 20:22:37 -06:00
Rob Riggs d014d8055f Convert serial RX code to DMA to improve reliability, throughput and flow control. 2020-02-24 22:36:09 -06:00
Rob Riggs a438470692 Clean up error_message handling and clock initialization. 2020-02-23 15:53:06 -06:00
Rob Riggs 0e4ad6a249 Enable HSI clock and drive I2C and UART from it so communication is not interrupted on clock change. Explicitly disable LSCO for release builds. 2020-02-22 19:09:23 -06:00
Rob Riggs cd2b1f2dde Add code to support changing CPU frequency. 2020-02-07 19:48:34 -06:00
Rob Riggs 5aaed41cac Fix modulator configuration issue when running without battery. Update version to 1.1.5. 2019-10-20 15:31:53 -05:00
Rob Riggs d82e198d59 Previous changes to USB connection state management to fix behavior on Windows was broken. This appears to work on Windows, Linux and MacOS. 2019-06-08 23:05:03 -05:00
Rob Riggs 2ebcc19249 Add ARM Q15 filter library. 2019-06-08 22:41:34 -05:00
Rob Riggs 741bd802dd Update USB to try to address issue on Windows, and especially Winlink. Address back-to-back packets. Update version to 1.1.3rc1. 2019-03-31 21:40:04 -05:00
Rob Riggs 9e699d07e4 Set the MAC address on startup. Support 'reset to defaults' by holding down power button while pressing reset. 2019-01-19 17:41:56 -06:00
Rob Riggs f87873d26a Fix USB connection/battery charging issue. 2019-01-13 13:17:54 -06:00
Rob Riggs e00cb3d8ba Use same serial number encoding algo that is used in DFU. We now show same serial number in USB, BLE and device info data. Update firmware revision to 1.0.0. 2019-01-12 14:25:22 -06:00
Rob Riggs 5ba4233871 Negotiate battery charging when turned off and plugged in. Fixed #7. 2019-01-10 21:21:11 -06:00
Rob Riggs 533b5d0ce0 Fix #3. Store error message in SRAM and reset. Return error message in GET_ALL_VALUES. 2019-01-06 16:39:34 -06:00
Rob Riggs 229993b221 Fix compilation warnings. Disable unsafe (and currently unused) functions. 2019-01-06 12:06:56 -06:00
Rob Riggs 084566f115 Read MAC address from BT module and send it as part of GET_ALL_VALUES. Fixes #2. 2019-01-05 22:50:08 -06:00
Rob Riggs 3e36b400df Fix RTC initialization so it is not re-initialized across soft resets. 2019-01-05 20:40:02 -06:00
Rob Riggs cebbc4081a Enable pulldown on USB_POWER pin (PH0). 2018-11-17 13:56:58 -06:00
Rob Riggs 9463c8de39 Only send PCD_BCD_DISCOVERY_COMPLETED (enable USB CDC) when connected to a downstream port. 2018-11-17 13:45:49 -06:00
Rob Riggs c75b20e9c1 Don't send any ITM messages when KISS_LOGGING is disabled. 2018-11-14 16:53:35 -06:00
Rob Riggs b5dccefb7e Support power on/off via USB. Initialize PTT on power-on. Reset on resume from stop2. 2018-11-04 10:03:25 -06:00
Rob Riggs 11200f234b Set the USB MaxPower value in the config descriptor to 500mA. 2018-10-29 16:55:56 -05:00
Rob Riggs 1373e62ba0 Set serial number in BM78 DIS and USB descriptor, and return it via KISS HW commands. 2018-10-29 14:06:52 -05:00
Rob Riggs 97b304bc7e Clean up BM78 init. Add support for RTC alarm. Defines for USB suspend/resume. 2018-10-28 21:35:51 -05:00
Rob Riggs 3cbe22dd7d STM32CubeMX now provides proper function declaration. 2018-10-28 21:34:48 -05:00
Rob Riggs 0fcbc6f919 FreeRTOS updated with HAL update. 2018-10-28 21:31:35 -05:00
Rob Riggs 992ae6dfe9 Mock up support for suspend. Fix charge enable on address assignment after HAL update. 2018-10-28 21:30:57 -05:00