Skip to content

Commit e2b913a

Browse files
committed
system(U5) update STM32U5xx HAL Drivers to v1.4.0
Included in STM32CubeU5 FW v1.4.0 Signed-off-by: Frederic Pillon <[email protected]>
1 parent b2b9c8c commit e2b913a

File tree

7 files changed

+447
-336
lines changed

7 files changed

+447
-336
lines changed

Diff for: system/Drivers/STM32U5xx_HAL_Driver/Inc/stm32u5xx_hal_adc.h

+28-2
Original file line numberDiff line numberDiff line change
@@ -2127,10 +2127,36 @@ __LL_ADC_CONVERT_DATA_RESOLUTION((__ADCx__), (__DATA__),\
21272127
#define __HAL_ADC_CALC_DATA_TO_VOLTAGE(__ADCx__, __VREFANALOG_VOLTAGE__, \
21282128
__ADC_DATA__, \
21292129
__ADC_RESOLUTION__) \
2130-
__LL_ADC_CALC_DATA_TO_VOLTAGE((__ADCx__), (__VREFANALOG_VOLTAGE__), \
2131-
(__ADC_DATA__), \
2130+
__LL_ADC_CALC_DATA_TO_VOLTAGE((__ADCx__), (__VREFANALOG_VOLTAGE__), \
2131+
(__ADC_DATA__), \
21322132
(__ADC_RESOLUTION__))
21332133

2134+
/**
2135+
* @brief Helper macro to calculate the voltage (unit: mVolt)
2136+
* corresponding to a ADC conversion data (unit: digital value)
2137+
* in differential ended mode.
2138+
* @note On STM32U5, this feature is available on ADC instances: ADC1, ADC2.
2139+
* @note Analog reference voltage (Vref+) must be either known from
2140+
* user board environment or can be calculated using ADC measurement
2141+
* and ADC helper macro @ref __LL_ADC_CALC_VREFANALOG_VOLTAGE().
2142+
* @param __ADCx__ ADC instance
2143+
* @param __VREFANALOG_VOLTAGE__ Analog reference voltage (unit: mV)
2144+
* @param __ADC_DATA__ ADC conversion data (resolution 12 bits)
2145+
* (unit: digital value).
2146+
* @param __ADC_RESOLUTION__ This parameter can be one of the following values:
2147+
* @arg @ref ADC_RESOLUTION_14B
2148+
* @arg @ref ADC_RESOLUTION_12B
2149+
* @arg @ref ADC_RESOLUTION_10B
2150+
* @arg @ref ADC_RESOLUTION_8B
2151+
* @retval ADC conversion data equivalent voltage value (unit: mVolt)
2152+
*/
2153+
#define __HAL_ADC_CALC_DIFF_DATA_TO_VOLTAGE(__ADCx__, __VREFANALOG_VOLTAGE__, \
2154+
__ADC_DATA__, \
2155+
__ADC_RESOLUTION__) \
2156+
__LL_ADC_CALC_DIFF_DATA_TO_VOLTAGE((__ADCx__), (__VREFANALOG_VOLTAGE__), \
2157+
(__ADC_DATA__), \
2158+
(__ADC_RESOLUTION__))
2159+
21342160
/**
21352161
* @brief Helper macro to calculate analog reference voltage (Vref+)
21362162
* (unit: mVolt) from ADC conversion data of internal voltage

Diff for: system/Drivers/STM32U5xx_HAL_Driver/Inc/stm32u5xx_ll_adc.h

+337-291
Large diffs are not rendered by default.

Diff for: system/Drivers/STM32U5xx_HAL_Driver/README.md

+12-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
# STM32CubeU5 HAL Driver MCU Component
22

3+
![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/stm32u5xx_hal_driver.svg?color=brightgreen)
4+
35
## Overview
46

5-
**STM32Cube** is an STMicroelectronics original initiative to ease the developers life by reducing efforts, time and cost.
7+
**STM32Cube** is a STMicroelectronics original initiative aimed at making life easier for developers by reducing effort, time and cost.
68

7-
**STM32Cube** covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform, delivered for each STM32 series.
8-
* The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product
9-
* The STM32 HAL-LL drivers : an abstraction drivers layer, the API ensuring maximized portability across the STM32 portfolio
10-
* The BSP Drivers of each evaluation or demonstration board provided by this STM32 series
11-
* A consistent set of middlewares components such as ThreadX, FileX, USBX, NetDuoX, OpenBootloader, USBPD, trustedfirmware, mbed-crypto, Network Library...
12-
* A full set of software projects (basic examples, applications, and demonstrations) for each board provided for this STM32 series.
9+
**STM32Cube** covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform delivered for each STM32 series.
10+
* The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product.
11+
* The STM32 HAL-LL drivers, an abstraction layer offering a set of APIs ensuring maximized portability across the STM32 portfolio.
12+
* The BSP drivers of each evaluation, demonstration, or nucleo board provided for this STM32 series.
13+
* A consistent set of middleware libraries such as ThreadX, FileX, USBX, NetDuoX, OpenBootloader, USBPD, trustedfirmware, mbed-crypto, Network Library...
14+
* A full set of software projects (basic examples, applications, and demonstrations) for each board, each project developed in three flavors using three toolchains (EWARM, MDK-ARM, and STM32CubeIDE).
1315
* A new LPBAM utility which is a software helper that assists STM32U5 users in the elaboration of LPBAM scenarios.
14-
* A development with three Toolchains and Compilers (IAR Embedded Workbench for ARM (EWARM), RealView Microcontroller Development Kit (MDK-ARM), and STM32CubeIDE).
1516

1617
Two models of publication are proposed for the STM32Cube embedded software:
17-
* The monolithic **MCU Package** : all STM32Cube software modules of one STM32 series are present (Drivers, Middlewares, Projects, Utilities) in the repo (usual name **STM32Cubexx**, xx corresponding to the STM32 series)
18-
* The **MCU component** : progressively from June 2021, each STM32Cube software module being part of the STM32Cube MCU Package, are delivered as an individual repo, allowing the user to select and get only the required software functions.
18+
* The monolithic **MCU Package**: all STM32Cube software modules of one STM32 series are present (Drivers, Middleware, Projects, Utilities) in the repository (usual name **STM32Cubexx**, xx corresponding to the STM32 series).
19+
* The **MCU component**: each STM32Cube software module being part of the STM32Cube MCU Package, is delivered as an individual repository, allowing the user to select and get only the required software functions.
1920

2021
## Description
2122

@@ -34,6 +35,4 @@ The full **STM32CubeU5** MCU package is available [here](https://github.com/STMi
3435

3536
## Troubleshooting
3637

37-
If you have any issue with the **Software content** of this repo, you can [file an issue on Github](https://github.com/STMicroelectronics/stm32u5xx_hal_driver/issues/new/choose).
38-
39-
For any other question related to the product, the tools, the environment, you can submit a topic on the [ST Community/STM32 MCUs forum](https://community.st.com/s/group/0F90X000000AXsASAW/stm32-mcus).
38+
Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) guide.

Diff for: system/Drivers/STM32U5xx_HAL_Driver/Release_Notes.html

+63-26
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,53 @@ <h1 id="purpose">Purpose</h1>
4040
<div class="col-sm-12 col-lg-8">
4141
<h1 id="update-history">Update History</h1>
4242
<div class="collapse">
43-
<input type="checkbox" id="collapse-section6" checked aria-hidden="true"> <label for="collapse-section6" checked aria-hidden="true"><strong>V1.3.0 / 09-June-2023</strong></label>
43+
<input type="checkbox" id="collapse-section7" checked aria-hidden="true"> <label for="collapse-section7" checked aria-hidden="true"><strong>V1.4.0 / 20-October-2023</strong></label>
4444
<div>
4545
<h2 id="main-changes">Main Changes</h2>
4646
<ul>
47+
<li><strong>HAL and LL drivers</strong> Maintenance Release for <strong>STM32U5XX</strong> devices</li>
48+
<li>Update <strong>ADC</strong> HAL and LL drivers to fix known defects and add implementation enhancements</li>
49+
<li>The HAL and LL drivers provided within this package are <strong>MISRA-C, MCU ASTYLE and CodeSonar compliant</strong>, and have been reviewed with a static analysis tool to eliminate possible run-time errors</li>
50+
</ul>
51+
<h3 id="hal-drivers-updates"><strong>HAL Drivers</strong> updates</h3>
52+
<ul>
53+
<li><strong>HAL ADC</strong> driver
54+
<ul>
55+
<li>Add new Helper macro for differential mode raw data to voltage conversion</li>
56+
</ul></li>
57+
<li><strong>HAL ADC_EX</strong> driver
58+
<ul>
59+
<li>Enhance calibration procedure implementation</li>
60+
</ul></li>
61+
</ul>
62+
<h3 id="ll-drivers-updates"><strong>LL Drivers</strong> updates</h3>
63+
<ul>
64+
<li><strong>LL ADC</strong> driver
65+
<ul>
66+
<li>Add new Helper macro for differential mode raw data to voltage conversion</li>
67+
</ul></li>
68+
</ul>
69+
<h2 id="known-limitations">Known Limitations</h2>
70+
<ul>
71+
<li>N/A</li>
72+
</ul>
73+
<h2 id="backward-compatibility">Backward compatibility</h2>
74+
<ul>
75+
<li>N/A</li>
76+
</ul>
77+
</div>
78+
</div>
79+
<div class="collapse">
80+
<input type="checkbox" id="collapse-section6" aria-hidden="true"> <label for="collapse-section6" checked aria-hidden="true"><strong>V1.3.0 / 09-June-2023</strong></label>
81+
<div>
82+
<h2 id="main-changes-1">Main Changes</h2>
83+
<ul>
4784
<li><strong>HAL and LL drivers</strong> official Release for <strong>STM32U5F7xx/STM32U5G7xx</strong>, <strong>STM32U5F9xx/STM32U5G9xx</strong>, <strong>STM32U535xx/STM32U545xx, STM32U575xx/STM32U585xx, STM32U595xx/STM32U5A5xx</strong> and <strong>STM32U599xx/STM32U5A9xx</strong> devices</li>
4885
<li>Add <strong>2 new HAL drivers</strong> : <strong>GFXTIM</strong> and <strong>JPEG</strong> highlighting the graphics aspect of STM32U5F7/STM32U5G7/STM32U5F9/STM32U5G9 devices</li>
4986
<li>The HAL and LL drivers provided within this package are <strong>MISRA-C, MCU ASTYLE and CodeSonar compliant</strong>, and have been reviewed with a static analysis tool to eliminate possible run-time errors</li>
5087
<li>General updates to fix known defects and implementation enhancements</li>
5188
</ul>
52-
<h3 id="hal-drivers-updates"><strong>HAL Drivers</strong> updates</h3>
89+
<h3 id="hal-drivers-updates-1"><strong>HAL Drivers</strong> updates</h3>
5390
<ul>
5491
<li><strong>HAL CRYP</strong> driver
5592
<ul>
@@ -87,7 +124,7 @@ <h3 id="hal-drivers-updates"><strong>HAL Drivers</strong> updates</h3>
87124
<li>Add IS_TIM_CCX_CHANNEL define</li>
88125
</ul></li>
89126
</ul>
90-
<h3 id="ll-drivers-updates"><strong>LL Drivers</strong> updates</h3>
127+
<h3 id="ll-drivers-updates-1"><strong>LL Drivers</strong> updates</h3>
91128
<ul>
92129
<li><strong>LL PWR</strong> driver
93130
<ul>
@@ -132,11 +169,11 @@ <h3 id="ll-drivers-updates"><strong>LL Drivers</strong> updates</h3>
132169
</ul></li>
133170
</ul>
134171
<p>Note: HAL/LL Backward compatibility ensured by legacy defines.</p>
135-
<h2 id="known-limitations">Known Limitations</h2>
172+
<h2 id="known-limitations-1">Known Limitations</h2>
136173
<ul>
137174
<li>N/A</li>
138175
</ul>
139-
<h2 id="backward-compatibility">Backward compatibility</h2>
176+
<h2 id="backward-compatibility-1">Backward compatibility</h2>
140177
<ul>
141178
<li>N/A</li>
142179
</ul>
@@ -145,12 +182,12 @@ <h2 id="backward-compatibility">Backward compatibility</h2>
145182
<div class="collapse">
146183
<input type="checkbox" id="collapse-section5" aria-hidden="true"> <label for="collapse-section5" checked aria-hidden="true"><strong>V1.2.0 / 08-February-2023</strong></label>
147184
<div>
148-
<h2 id="main-changes-1">Main Changes</h2>
185+
<h2 id="main-changes-2">Main Changes</h2>
149186
<ul>
150187
<li><strong>HAL and LL drivers</strong> Official Release for STM32U535xx / STM32U545xx, STM32U575xx / STM32U585xx, STM32U595xx, STM32U5A5xx, STM32U599xx and STM32U5A9xx devices.</li>
151188
<li>Update STM32U545xx_User_Manual, STM32U585xx_User_Manual and STM32U5A9xx_User_Manual CHM User Manuals</li>
152189
</ul>
153-
<h3 id="hal-drivers-updates-1"><strong>HAL Drivers</strong> updates</h3>
190+
<h3 id="hal-drivers-updates-2"><strong>HAL Drivers</strong> updates</h3>
154191
<ul>
155192
<li><strong>HAL ADC</strong> driver
156193
<ul>
@@ -303,7 +340,7 @@ <h3 id="hal-drivers-updates-1"><strong>HAL Drivers</strong> updates</h3>
303340
<li>Add HAL_HCD_HC_SetHubInfo and HAL_HCD_HC_ClearHubInfo macros</li>
304341
</ul></li>
305342
</ul>
306-
<h3 id="ll-drivers-updates-1"><strong>LL Drivers</strong> updates</h3>
343+
<h3 id="ll-drivers-updates-2"><strong>LL Drivers</strong> updates</h3>
307344
<ul>
308345
<li><strong>LL ADC</strong> driver
309346
<ul>
@@ -345,11 +382,11 @@ <h3 id="ll-drivers-updates-1"><strong>LL Drivers</strong> updates</h3>
345382
</ul></li>
346383
</ul>
347384
<p>Note: HAL/LL Backward compatibility ensured by legacy defines.</p>
348-
<h2 id="known-limitations-1">Known Limitations</h2>
385+
<h2 id="known-limitations-2">Known Limitations</h2>
349386
<ul>
350387
<li>N/A</li>
351388
</ul>
352-
<h2 id="backward-compatibility-1">Backward compatibility</h2>
389+
<h2 id="backward-compatibility-2">Backward compatibility</h2>
353390
<ul>
354391
<li>N/A</li>
355392
</ul>
@@ -358,7 +395,7 @@ <h2 id="backward-compatibility-1">Backward compatibility</h2>
358395
<div class="collapse">
359396
<input type="checkbox" id="collapse-section4" aria-hidden="true"> <label for="collapse-section4" checked aria-hidden="true"><strong>V1.1.0 / 16-February-2022</strong></label>
360397
<div>
361-
<h2 id="main-changes-2">Main Changes</h2>
398+
<h2 id="main-changes-3">Main Changes</h2>
362399
<ul>
363400
<li><strong>HAL and LL drivers</strong> Maintenance Release for STM32U575xx / STM32U585xx devices and new support of STM32U595xx, STM32U5A5xx, STM32U599xx and STM32U5A9xx devices</li>
364401
<li>Add <strong>New LTDC, GFXMMU, DSI, GPU2D HAL drivers</strong> highlighting the graphics aspect of STM32U595/STM32U5A5/STM32U599/STM32U5A9 devices</li>
@@ -367,7 +404,7 @@ <h2 id="main-changes-2">Main Changes</h2>
367404
<li>General updates to fix known defects and implementation enhancements</li>
368405
<li>The HAL and LL drivers provided within this package are <strong>MISRA-C, MCU ASTYLE and CodeSonar compliant</strong>, and have been reviewed with a static analysis tool to eliminate possible run-time errors</li>
369406
</ul>
370-
<h3 id="hal-drivers-updates-2"><strong>HAL Drivers</strong> updates</h3>
407+
<h3 id="hal-drivers-updates-3"><strong>HAL Drivers</strong> updates</h3>
371408
<ul>
372409
<li>All the <strong>HAL</strong> drivers are updated to support both STM32U575/STM32U585 and STM32U595/STM32U5A5/STM32U599/STM32U5A9 devices</li>
373410
<li><strong>HAL ADC</strong> driver
@@ -505,7 +542,7 @@ <h3 id="hal-drivers-updates-2"><strong>HAL Drivers</strong> updates</h3>
505542
<li>Rework HAL_USART_DMAResume() function in order to use DMA instead of USART to resume data transfer</li>
506543
</ul></li>
507544
</ul>
508-
<h3 id="ll-drivers-updates-2"><strong>LL Drivers</strong> updates</h3>
545+
<h3 id="ll-drivers-updates-3"><strong>LL Drivers</strong> updates</h3>
509546
<ul>
510547
<li>All the <strong>LL</strong> drivers are updated to support both STM32U575/STM32U585 and STM32U595/STM32U5A5/STM32U599/STM32U5A9 devices</li>
511548
<li><strong>LL ADC</strong> driver
@@ -576,11 +613,11 @@ <h3 id="ll-drivers-updates-2"><strong>LL Drivers</strong> updates</h3>
576613
</ul></li>
577614
</ul>
578615
<p>Backward compatibility ensured by legacy defines</p>
579-
<h2 id="known-limitations-2">Known Limitations</h2>
616+
<h2 id="known-limitations-3">Known Limitations</h2>
580617
<ul>
581618
<li>N/A</li>
582619
</ul>
583-
<h2 id="backward-compatibility-2">Backward compatibility</h2>
620+
<h2 id="backward-compatibility-3">Backward compatibility</h2>
584621
<ul>
585622
<li>N/A</li>
586623
</ul>
@@ -589,11 +626,11 @@ <h2 id="backward-compatibility-2">Backward compatibility</h2>
589626
<div class="collapse">
590627
<input type="checkbox" id="collapse-section3" aria-hidden="true"> <label for="collapse-section3" checked aria-hidden="true"><strong>V1.0.2 / 14-October-2021</strong></label>
591628
<div>
592-
<h2 id="main-changes-3">Main Changes</h2>
629+
<h2 id="main-changes-4">Main Changes</h2>
593630
<ul>
594631
<li>Patch release V1.0.2 of <strong>HAL and LL drivers</strong> for <strong>STM32U575xx / STM32U585xx</strong> devices</li>
595632
</ul>
596-
<h3 id="ll-drivers-updates-3"><strong>LL Drivers</strong> updates</h3>
633+
<h3 id="ll-drivers-updates-4"><strong>LL Drivers</strong> updates</h3>
597634
<ul>
598635
<li><strong>LL DAC</strong> driver
599636
<ul>
@@ -605,11 +642,11 @@ <h3 id="ll-drivers-updates-3"><strong>LL Drivers</strong> updates</h3>
605642
</ul></li>
606643
<li>Backward compatibility ensured by legacy defines</li>
607644
</ul>
608-
<h2 id="known-limitations-3">Known Limitations</h2>
645+
<h2 id="known-limitations-4">Known Limitations</h2>
609646
<ul>
610647
<li>N/A</li>
611648
</ul>
612-
<h2 id="backward-compatibility-3">Backward compatibility</h2>
649+
<h2 id="backward-compatibility-4">Backward compatibility</h2>
613650
<ul>
614651
<li>N/A</li>
615652
</ul>
@@ -618,11 +655,11 @@ <h2 id="backward-compatibility-3">Backward compatibility</h2>
618655
<div class="collapse">
619656
<input type="checkbox" id="collapse-section2" aria-hidden="true"> <label for="collapse-section2" checked aria-hidden="true"><strong>V1.0.1 / 01-October-2021</strong></label>
620657
<div>
621-
<h2 id="main-changes-4">Main Changes</h2>
658+
<h2 id="main-changes-5">Main Changes</h2>
622659
<ul>
623660
<li>Patch release V1.0.1 of <strong>HAL and LL drivers</strong> for <strong>STM32U575xx / STM32U585xx</strong> devices</li>
624661
</ul>
625-
<h3 id="hal-drivers-updates-3"><strong>HAL Drivers</strong> updates</h3>
662+
<h3 id="hal-drivers-updates-4"><strong>HAL Drivers</strong> updates</h3>
626663
<ul>
627664
<li><strong>HAL ADC</strong> driver
628665
<ul>
@@ -660,18 +697,18 @@ <h3 id="hal-drivers-updates-3"><strong>HAL Drivers</strong> updates</h3>
660697
<li>Fix setting Flash latency from MSIRange in Oscillator Configuration</li>
661698
</ul></li>
662699
</ul>
663-
<h3 id="ll-drivers-updates-4"><strong>LL Drivers</strong> updates</h3>
700+
<h3 id="ll-drivers-updates-5"><strong>LL Drivers</strong> updates</h3>
664701
<ul>
665702
<li><strong>LL I2C</strong> driver
666703
<ul>
667704
<li>Add LL_I2C_EnableFastModePlus, LL_I2C_DisableFastModePlus and LL_I2C_IsEnabledFastModePlus APIs</li>
668705
</ul></li>
669706
</ul>
670-
<h2 id="known-limitations-4">Known Limitations</h2>
707+
<h2 id="known-limitations-5">Known Limitations</h2>
671708
<ul>
672709
<li>N/A</li>
673710
</ul>
674-
<h2 id="backward-compatibility-4">Backward compatibility</h2>
711+
<h2 id="backward-compatibility-5">Backward compatibility</h2>
675712
<ul>
676713
<li>N/A</li>
677714
</ul>
@@ -680,11 +717,11 @@ <h2 id="backward-compatibility-4">Backward compatibility</h2>
680717
<div class="collapse">
681718
<input type="checkbox" id="collapse-section1" aria-hidden="true"> <label for="collapse-section1" checked aria-hidden="true"><strong>V1.0.0 / 28-June-2021</strong></label>
682719
<div>
683-
<h2 id="main-changes-5">Main Changes</h2>
720+
<h2 id="main-changes-6">Main Changes</h2>
684721
<ul>
685722
<li>First official release of <strong>HAL and LL drivers</strong> for <strong>STM32U575xx / STM32U585xx</strong> devices</li>
686723
</ul>
687-
<h2 id="known-limitations-5">Known Limitations</h2>
724+
<h2 id="known-limitations-6">Known Limitations</h2>
688725
<ul>
689726
<li>N/A</li>
690727
</ul>

Diff for: system/Drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@
5252
* @{
5353
*/
5454
/**
55-
* @brief STM32U5xx HAL Driver version number 1.3.0
55+
* @brief STM32U5xx HAL Driver version number 1.4.0
5656
*/
5757
#define __STM32U5xx_HAL_VERSION_MAIN (0x01U) /*!< [31:24] main version */
58-
#define __STM32U5xx_HAL_VERSION_SUB1 (0x03U) /*!< [23:16] sub1 version */
58+
#define __STM32U5xx_HAL_VERSION_SUB1 (0x04U) /*!< [23:16] sub1 version */
5959
#define __STM32U5xx_HAL_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
6060
#define __STM32U5xx_HAL_VERSION_RC (0x00U) /*!< [7:0] release candidate */
6161
#define __STM32U5xx_HAL_VERSION ((__STM32U5xx_HAL_VERSION_MAIN << 24U)\

Diff for: system/Drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_adc_ex.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,11 @@ HAL_StatusTypeDef HAL_ADCEx_Calibration_Start(ADC_HandleTypeDef *hadc, uint32_t
210210

211211
if (tmp_hal_status == HAL_OK)
212212
{
213+
/* Use a Data Memory Barrier instruction to avoid synchronization issues when accessing ADC registers */
213214
MODIFY_REG(hadc->Instance->CR, ADC_CR_CALINDEX, 0x9UL << ADC_CR_CALINDEX_Pos);
214-
MODIFY_REG(hadc->Instance->CALFACT2, 0x00FF0000UL, 0x00020000UL);
215+
__DMB();
216+
MODIFY_REG(hadc->Instance->CALFACT2, 0xFFFFFF00UL, 0x03021100UL);
217+
__DMB();
215218
SET_BIT(hadc->Instance->CALFACT, ADC_CALFACT_LATCH_COEF);
216219

217220
tmp_hal_status = ADC_Disable(hadc);

Diff for: system/Drivers/STM32YYxx_HAL_Driver_version.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* STM32L4: 1.13.4
1717
* STM32L5: 1.0.5
1818
* STM32MP1: 1.6.0
19-
* STM32U5: 1.3.0
19+
* STM32U5: 1.4.0
2020
* STM32WB: 1.14.0
2121
* STM32WL: 1.3.0
2222

0 commit comments

Comments
 (0)