This covers a random issue I ran into. This ch32v307 microcontroller has a feature that I haven't seen before - a configuration option to exchange ram for flash size. My guess is they're using shadow ram to speed up access to the flash, and any ram
Next, I will cover connecting a GPS module to a NTP server over USB. This is part of a series on the ch32v307 dev board Previous project I previously setup PPS over USB using a USB Full-Speed (12Mbit) stm32f103 device. One of the limitations of that device is USB Full-Speed
Next step on getting an NTP server running on the ch32v307 dev board is verifying the local clock. This is part of a series on the ch32v307 dev board There's two local clocks to consider: the PTP hardware timestamp clock, and the PPS input capture clock. I'
I'm continuing to build a development environment for my ch32v307 based projects. In this post, I'll explore a problem I ran into. This is part of a series on the ch32v307 dev board Interrupts First problem: interrupts. Below is an interrupt handler, which has some special
The CH32V307 microcontroller caught my interest because it has both IEEE 1588 timer hardware and the capability to connect via gigabit ethernet. If I ported my NTP server software to it, this would lower the round trip latency (excluding processing time) by around 10x. It's a RISC-V based
Description of 464xlat in Android
Options for mosh on Android
Stratum 2+ NTP servers have multiple potential sources of error, let's experiment with lowering them.
Continuing from part 1, I run my fridge on battery. Setup To start, I connected the inverter to the battery, first using the 1ohm resister to allow the capacitors to pre-charge then connecting it directly. I'm using a Kill-A-Watt to measure the AC power usage, and a DC
With the instability with the power grid in the past few years, I wanted to have a plan for how to handle power being out for 24+ hours at a time. For this post, I'll focus on just keeping the fridge running. Goals Fridges are pretty well insulated,