Wykres commitów

38 Commity (master)

Autor SHA1 Wiadomość Data
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
Rob Riggs 88a2222b47 Update for new hardware revision. Implement STOP2 mode support. 2018-09-19 22:41:49 -05:00
Rob Riggs 1d1a362557 Update hardware version number. Use device ID as serial number. 2018-09-19 22:31:08 -05:00
Rob Riggs cb436bb0d1 More USB support code. 2018-09-19 22:30:01 -05:00
Rob Riggs 9f45fc0eb0 Implement CDC interface connect, disconnect, receive. 2018-09-19 22:28:10 -05:00
Rob Riggs 0c87035271 Implement USB battery charger detection. 2018-09-19 22:26:38 -05:00
Rob Riggs 8dddebbf2e Handle interrupts. 2018-09-19 22:25:32 -05:00
Rob Riggs 648058fe20 Enable PVD and PWM on TIM1. 2018-09-19 22:24:28 -05:00
Rob Riggs f197c612e1 Add BM78 support. Add a README file to start documenting build/debug stuff. Add ARM fir filter code. Add ST/LINK config files. 2018-09-19 22:17:37 -05:00
Rob Riggs b98e6c1c2c Commit bulk of code for new project. Still some cleanup to do to make it work with new PCB. 2018-08-26 22:28:24 -05:00