<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/stm32/adc.c, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2019-10-13T15:08:52+00:00</updated>
<entry>
<title>remove ports/stm32</title>
<updated>2019-10-13T15:08:52+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2019-10-13T15:08:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fc033bd954a46156d6902392f8ae21ac2872bb1c'/>
<id>urn:sha1:fc033bd954a46156d6902392f8ae21ac2872bb1c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32: Add support for STM32F0 MCUs.</title>
<updated>2018-05-28T11:49:49+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-28T08:10:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea7e747979c2f27eb90f9a6ba292c500eb288dd4'/>
<id>urn:sha1:ea7e747979c2f27eb90f9a6ba292c500eb288dd4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32: Add support for STM32L496 MCU.</title>
<updated>2018-05-18T12:37:30+00:00</updated>
<author>
<name>Tobias Badertscher</name>
<email>badi@baerospace.ch</email>
</author>
<published>2018-05-18T07:03:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=708cdb627648428e0c27c7f644a776e1defe7349'/>
<id>urn:sha1:708cdb627648428e0c27c7f644a776e1defe7349</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32: Don't use %lu or %lx for formatting, use just %u or %x.</title>
<updated>2018-05-04T05:52:03+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-04T05:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cb3456ddfe330c562b7d7dde64df933ab7d987f1'/>
<id>urn:sha1:cb3456ddfe330c562b7d7dde64df933ab7d987f1</id>
<content type='text'>
On this 32-bit arch there's no need to use the long version of the format
specifier.  It's only there to appease the compiler which checks the type
of the args passed to printf.  Removing the "l" saves a bit of code space.
</content>
</entry>
<entry>
<title>stm32/adc: Use mp_hal_pin_config() instead of HAL_GPIO_Init().</title>
<updated>2018-05-02T02:17:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-02T02:06:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d4f8414ebdc5e61ef9127778ab0ce4c09f8839e9'/>
<id>urn:sha1:d4f8414ebdc5e61ef9127778ab0ce4c09f8839e9</id>
<content type='text'>
This makes ADCAll work correctly on L4 MCUs.
</content>
</entry>
<entry>
<title>stm32/adc: Add support for H7 MCU series.</title>
<updated>2018-05-01T05:36:11+00:00</updated>
<author>
<name>iabdalkader</name>
<email>i.abdalkader@gmail.com</email>
</author>
<published>2018-04-01T01:20:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8c12f1d916b119596c115ed7ce73eaf3f3a9cd7a'/>
<id>urn:sha1:8c12f1d916b119596c115ed7ce73eaf3f3a9cd7a</id>
<content type='text'>
ADC3 is used because the H7's internal ADC channels are connected to ADC3
and the uPy driver doesn't support more than one ADC.

Only 12-bit resolution is supported because 12 is hard-coded and 14/16 bits
are not recommended on some ADC3 pins (see errata).

Values from internal ADC channels are known to give wrong values at
present.
</content>
</entry>
<entry>
<title>stm32/adc: Factor common ADC init code into adcx_init_periph().</title>
<updated>2018-04-11T04:46:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-04-11T04:46:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f1073e747d0489154942a0d0e0585bc6943df448'/>
<id>urn:sha1:f1073e747d0489154942a0d0e0585bc6943df448</id>
<content type='text'>
The only configuration that changes with this patch is that on L4 MCUs the
clock prescaler changed from ADC_CLOCK_ASYNC_DIV2 to ADC_CLOCK_ASYNC_DIV1
for the ADCAll object.  This should be ok.
</content>
</entry>
<entry>
<title>stm32/adc: Fix config of EOC selection and Ext-Trig for ADC periph.</title>
<updated>2018-04-11T04:29:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-04-11T04:29:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1d6c155d6ac1c335e66b427cbead55b4217fc097'/>
<id>urn:sha1:1d6c155d6ac1c335e66b427cbead55b4217fc097</id>
<content type='text'>
A value of DISABLE for EOCSelection is invalid.  This would have been
interpreted instead as ADC_EOC_SEQ_CONV, but really it should be
ADC_EOC_SINGLE_CONV for the uses in this code.  So this has been fixed.

ExternalTrigConv should be ADC_SOFTWARE_START because all ADC
conversions are started by software.  This is now fixed.
</content>
</entry>
<entry>
<title>stm32/adc: Factor code to optimise adc_read_channel and adc_read.</title>
<updated>2018-04-11T04:28:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-04-11T04:28:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=06807c1bde6885a070be78e63271ad596e31c06c'/>
<id>urn:sha1:06807c1bde6885a070be78e63271ad596e31c06c</id>
<content type='text'>
Saves 200 bytes of code space.
</content>
</entry>
<entry>
<title>stm32/adc: Optimise read_timed_multi() by caching buffer pointers.</title>
<updated>2018-04-11T04:09:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-04-11T04:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=aebd9701a78d267cb264d400804b02c5b7a00e9a'/>
<id>urn:sha1:aebd9701a78d267cb264d400804b02c5b7a00e9a</id>
<content type='text'>
</content>
</entry>
</feed>
