<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ch573.git/src/io.c, branch main</title>
<subtitle>Bare-metal Christmas light hacking using the CH573 microcontroller</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/ch573.git/'/>
<entry>
<title>Implement serial input.</title>
<updated>2024-12-01T06:55:45+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2024-12-01T06:55:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/ch573.git/commit/?id=7df284ea01ea0015770d626a1eb7ae7f62d48bb3'/>
<id>7df284ea01ea0015770d626a1eb7ae7f62d48bb3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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='http://git.josher.dev/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>
<entry>
<title>Cleanup and get the program to a basic Hello, World program.</title>
<updated>2024-11-16T22:22:24+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2024-11-16T22:22:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/ch573.git/commit/?id=7d64711cf7cbdf81d5a692044161ddc69e3dc33f'/>
<id>7d64711cf7cbdf81d5a692044161ddc69e3dc33f</id>
<content type='text'>
Add separate source file for initializing the uart for stdout.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add separate source file for initializing the uart for stdout.
</pre>
</div>
</content>
</entry>
</feed>
