<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ch573.git/include, branch dev</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>Basic Christmas light implementation!</title>
<updated>2024-12-03T17:35:55+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2024-12-03T17:35:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/ch573.git/commit/?id=f5e15a5a2d55cf0a6fbdbe04e5c49499a6eac642'/>
<id>f5e15a5a2d55cf0a6fbdbe04e5c49499a6eac642</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove padding bytes.</title>
<updated>2024-12-01T07:00:33+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2024-12-01T07:00:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/ch573.git/commit/?id=a15656b399689d0c7b12963a718729bea9b6dfcc'/>
<id>a15656b399689d0c7b12963a718729bea9b6dfcc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement basic LEDs checkpoint.</title>
<updated>2024-12-01T06:57:56+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2024-12-01T06:57:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/ch573.git/commit/?id=708ce9d264b271ac5eb4a64fcb1e814cbe378ac2'/>
<id>708ce9d264b271ac5eb4a64fcb1e814cbe378ac2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Got the DMA to work! (That was surprisingly easy).</title>
<updated>2024-11-28T00:56:47+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2024-11-28T00:56:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/ch573.git/commit/?id=281672d418bdc093716b069198c8852ad87eabb2'/>
<id>281672d418bdc093716b069198c8852ad87eabb2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Some SPI is working, a bit. Still no clock, but I'm about to give up on that.</title>
<updated>2024-11-27T20:04:00+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2024-11-27T19:51:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/ch573.git/commit/?id=fcb936b4ea13841e8c4f87648182b20a194413f2'/>
<id>fcb936b4ea13841e8c4f87648182b20a194413f2</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='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>
<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='https://git.josher.dev/cgit/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>
<entry>
<title>Fix exception handlers not being included during linking.</title>
<updated>2024-11-16T22:03:22+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2024-11-16T22:03:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/ch573.git/commit/?id=9a29506823896c53b4334c5ee202ce01306d921f'/>
<id>9a29506823896c53b4334c5ee202ce01306d921f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move exc and nmi handlers to their own files.</title>
<updated>2024-11-16T21:41:04+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2024-11-16T21:37:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/ch573.git/commit/?id=7b1008111baa95b4a8c3195f9f5a94bfdbe8d7d2'/>
<id>7b1008111baa95b4a8c3195f9f5a94bfdbe8d7d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>UART is working.</title>
<updated>2024-11-15T09:48:27+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2024-11-15T09:48:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/ch573.git/commit/?id=ede9bee7f22fd5d0e1bacb7689f1cac23992b70b'/>
<id>ede9bee7f22fd5d0e1bacb7689f1cac23992b70b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
