<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ch573.git/stubs, branch main</title>
<subtitle>Bare-metal Christmas light hacking using the CH573 microcontroller
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/ch573.git/'/>
<entry>
<title>Add a bunch. Neglected doing commits.</title>
<updated>2025-09-30T19:06:16+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2025-09-30T19:06:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/ch573.git/commit/?id=290d784950b6248782b049cd9831bd6e034fd538'/>
<id>290d784950b6248782b049cd9831bd6e034fd538</id>
<content type='text'>
Add many different patterns, and organize it.

Add a voltage discovery subsystem to allow the ch573 to detect if it's
on 12v or 5v lights.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add many different patterns, and organize it.

Add a voltage discovery subsystem to allow the ch573 to detect if it's
on 12v or 5v lights.
</pre>
</div>
</content>
</entry>
<entry>
<title>System clock is sort of working.</title>
<updated>2024-11-18T06:04:11+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2024-11-18T06:04:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/ch573.git/commit/?id=22c5b3e1dc4e3cf7de3f73ebbf5b59542f207f4b'/>
<id>22c5b3e1dc4e3cf7de3f73ebbf5b59542f207f4b</id>
<content type='text'>
It appears the frequency divider does not work. I've followed the data
sheet, but no matter what I set the frequency divider to it appears to
not work. It's possible maybe the GPIO is using an un-divided clock, but
I'm not sure.

Also the 32khz clock does not work I think. It might be an issue with
the board. The waveform is jagged and looks awful.

But I can switch from the HSE to the PLL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It appears the frequency divider does not work. I've followed the data
sheet, but no matter what I set the frequency divider to it appears to
not work. It's possible maybe the GPIO is using an un-divided clock, but
I'm not sure.

Also the 32khz clock does not work I think. It might be an issue with
the board. The waveform is jagged and looks awful.

But I can switch from the HSE to the PLL.
</pre>
</div>
</content>
</entry>
</feed>
