<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/ports/stm32/boards/stm32h7xx_hal_conf_base.h, branch master</title>
<subtitle>MicroPython source and hardware configuration for OpenMano</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/'/>
<entry>
<title>stm32/uart: Add uart_set_baudrate function.</title>
<updated>2021-02-14T07:30:49+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-03T05:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=d2a34c62e73f63a7822c823b5523e5924c28831d'/>
<id>d2a34c62e73f63a7822c823b5523e5924c28831d</id>
<content type='text'>
This allows changing the baudrate of the UART without reinitialising it
(reinitialising can lead to spurious characters sent on the TX line).

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows changing the baudrate of the UART without reinitialising it
(reinitialising can lead to spurious characters sent on the TX line).

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/mboot: Add ELEM_TYPE_STATUS element so application can get status.</title>
<updated>2021-01-29T04:02:55+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-01-28T04:46:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=0efa0b54374e3ea0cbaf455c41945800479b5bc8'/>
<id>0efa0b54374e3ea0cbaf455c41945800479b5bc8</id>
<content type='text'>
This new element takes the form: (ELEM_TYPE_STATUS, 4, &lt;address&gt;).  If this
element is present in the mboot command then mboot will store to the given
address the result of the filesystem firmware update process.  The address
can for example be an RTC backup register.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This new element takes the form: (ELEM_TYPE_STATUS, 4, &lt;address&gt;).  If this
element is present in the mboot command then mboot will store to the given
address the result of the filesystem firmware update process.  The address
can for example be an RTC backup register.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/rtc: Validate the RTC prescaler on boot and change if incorrect.</title>
<updated>2020-11-13T00:23:52+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-11-12T03:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=cc2a35b7b241e7eda031db424bf9b3afb8b6204b'/>
<id>cc2a35b7b241e7eda031db424bf9b3afb8b6204b</id>
<content type='text'>
Devices with RTC backup-batteries have been shown (very rarely) to have
incorrect RTC prescaler values.  Such incorrect values mean the RTC counts
fast or slow, and will be wrong forever if the power/backup-battery is
always present.

This commit detects such a state at start up (hard reset) and corrects it
by reconfiguring the RTC prescaler values.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Devices with RTC backup-batteries have been shown (very rarely) to have
incorrect RTC prescaler values.  Such incorrect values mean the RTC counts
fast or slow, and will be wrong forever if the power/backup-battery is
always present.

This commit detects such a state at start up (hard reset) and corrects it
by reconfiguring the RTC prescaler values.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/machine_adc: Fix ADC auto-calibration to run when ADC not enabled.</title>
<updated>2020-10-29T00:09:43+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-10-28T06:19:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=0118c07916c24a6ccb6dbd0ea904312f01798b40'/>
<id>0118c07916c24a6ccb6dbd0ea904312f01798b40</id>
<content type='text'>
Prior to this commit, the ADC calibration code was never executing because
ADVREGEN bit was set making the CR register always non-zero.

This commit changes the logic so that ADC calibration is always run when
the ADC is disabled and an ADC channel is initialised.  It also uses the LL
API functions to do the calibration, to make sure it is done correctly on
each MCU variant.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to this commit, the ADC calibration code was never executing because
ADVREGEN bit was set making the CR register always non-zero.

This commit changes the logic so that ADC calibration is always run when
the ADC is disabled and an ADC channel is initialised.  It also uses the LL
API functions to do the calibration, to make sure it is done correctly on
each MCU variant.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/boards/NUCLEO_H743ZI: Enable FDCAN on this board.</title>
<updated>2019-09-23T07:00:54+00:00</updated>
<author>
<name>iabdalkader</name>
</author>
<published>2019-09-15T23:57:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=4f78ba3cf4db499e863547a05088012b87543cbb'/>
<id>4f78ba3cf4db499e863547a05088012b87543cbb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32: Update components to work with new H7xx HAL.</title>
<updated>2019-07-03T13:40:49+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-07-03T13:40:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=73e8b7e0e4a7c9f89094ffe7d93c6d897a86b67a'/>
<id>73e8b7e0e4a7c9f89094ffe7d93c6d897a86b67a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/boards: Add stm32??xx_hal_conf_base.h files with common settings.</title>
<updated>2019-06-25T04:18:24+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-06-25T03:40:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=f96f53cd978558dde93d136a22c7bd9a42cc6588'/>
<id>f96f53cd978558dde93d136a22c7bd9a42cc6588</id>
<content type='text'>
These are intended to be used by all boards, to reduce the size of a
board's configuration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are intended to be used by all boards, to reduce the size of a
board's configuration.
</pre>
</div>
</content>
</entry>
</feed>
