Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings

Latest commit

 

History

History
History
1697 lines (1697 loc) · 61 KB

File metadata and controls

1697 lines (1697 loc) · 61 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Release Notes for STM32WBxx HAL Drivers</title>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
<link rel="stylesheet" href="_htmresc/mini-st_2020.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
<link rel="icon" type="image/x-icon" href="_htmresc/favicon.png" />
</head>
<body>
<div class="row">
<div class="col-sm-12 col-lg-4">
<center>
<h1 id="release-notes-for">Release Notes for</h1>
<h1 id="stm32wbxx-hal-drivers"><mark>STM32WBxx HAL Drivers</mark></h1>
<p>Copyright © 2019 STMicroelectronics</p>
<a href="https://www.st.com" class="logo"><img src="_htmresc/st_logo_2020.png" alt="ST logo" /></a>
</center>
<h1 id="purpose">Purpose</h1>
<p>The STM32Cube HAL and LL, an STM32 abstraction layer embedded software, ensure maximized portability across STM32 portfolio.</p>
<p>The Portable APIs layer provides a generic, multi instanced and simple set of APIs to interact with the upper layer (application, libraries and stacks). It is composed of native and extended APIs set. It is directly built around a generic architecture and allows the build-upon layers, like the middleware layer, to implement its functions without knowing in-depth the used STM32 device. This improves the library code reusability and guarantees an easy portability on other devices and STM32 families.</p>
<p>The Low Layer (LL) drivers are part of the STM32Cube firmware HAL that provide basic set of optimized and one shot services. The Low layer drivers, contrary to the HAL ones are not Fully Portable across the STM32 families; the availability of some functions depend on the physical availability of the relative features on the product. The Low Layer (LL) drivers are designed to offer the following features:</p>
<ul>
<li>New set of inline function for direct and atomic register access</li>
<li>One-shot operations that can be used by the HAL drivers or from application level.</li>
<li>Fully Independent from HAL and can be used in standalone usage (without HAL drivers)</li>
<li>Full features coverage of the all the supported peripherals.</li>
</ul>
</div>
<div class="col-sm-12 col-lg-8">
<h1 id="update-history">Update History</h1>
<div class="collapse">
<input type="checkbox" id="collapse-section23" checked aria-hidden="true"> <label for="collapse-section23" aria-hidden="true">V1.14.7/ 29-October-2025</label>
<div>
<h2 id="main-changes">Main Changes</h2>
<ul>
<li>Maintenance release of HAL and Low Layer drivers to include latest corrections</li>
<li>HAL/LL code quality enhancement</li>
</ul>
<h2 id="contents">Contents</h2>
<h3 id="hal-drivers-updates"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL ADC</strong> driver
<ul>
<li>Add const qualifier for calibrated values (read only, in system flash)</li>
</ul></li>
<li><strong>HAL CRYP</strong> driver
<ul>
<li>Remove invocation of __HAL_UNLOCK() when __HAL_LOCK() is not present</li>
</ul></li>
<li><strong>HAL GPIO</strong> driver
<ul>
<li>Fixed timer timebase initialization sequence by registering the callback before starting the timer to ensure correct callback handling in FreeRTOS projects</li>
</ul></li>
<li><strong>HAL RTC</strong> driver
<ul>
<li>Fixed MISRA 13.5 warnings</li>
</ul></li>
<li><strong>HAL LPTIM</strong> driver
<ul>
<li>Removed duplicated macro<br />
</li>
</ul></li>
<li><strong>HAL LPUART</strong> driver
<ul>
<li>Fix transfer count underflow when using polling mode</li>
</ul></li>
<li><strong>HAL TIM</strong> driver
<ul>
<li>Fix complementary channel systematically disabled by TIM_OCx_SetConfig().</li>
</ul></li>
<li><strong>HAL UART</strong> driver
<ul>
<li>Fix transfer count underflow when using polling mode</li>
</ul></li>
<li><strong>HAL USART</strong> driver
<ul>
<li>Replaced UART calls by USART</li>
</ul></li>
</ul>
<h3 id="ll-drivers-updates"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL ADC</strong> driver
<ul>
<li>Add const qualifier for calibrated values (read only, in system flash</li>
</ul></li>
<li><strong>LL RTC</strong> driver
<ul>
<li>Add missing parentheses into macros LL_RTC_WriteReg() and LL_RTC_ReadReg() to comply with MISRA-C 2012 rule 20.7<br />
</li>
</ul></li>
</ul>
<h2 id="backward-compatibility">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section22" aria-hidden="true"> <label for="collapse-section22" aria-hidden="true">V1.14.6/ 04-June-2025</label>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<ul>
<li>Maintenance release of HAL and Low Layer drivers to include latest corrections</li>
<li>HAL/LL code quality enhancement</li>
</ul>
<h2 id="contents-1">Contents</h2>
<h3 id="hal-drivers-updates-1"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL IWDG</strong> driver
<ul>
<li>Calculate the maximum IWDG Timeout period “HAL_IWDG_DEFAULT_TIMEOUT”, based on a Prescaler=128 at LSI frequency=32kHz.</li>
</ul></li>
<li><strong>HAL I2C</strong> driver
<ul>
<li>Move variable tmp declaration at the beginning in I2C_TransferCofig function.</li>
<li>Update function HAL_I2C_IsDeviceReady() to take into account the number of trials</li>
<li>Remove extra parenthesis in c files for driver HAL I2C and SMBUS</li>
</ul></li>
<li><strong>HAL SPI</strong> driver
<ul>
<li>Avoid buffer overflow in SPI_WaitFifoStateUntilTimeout().</li>
<li>Update function HAL_I2C_IsDeviceReady() to take into account the number of trials.</li>
<li>Fix INTEGER_OVERFLOW Coverity warning</li>
<li>Add note to clarify HAL_SPI_Receive() behavior in master mode</li>
<li>Add units to physical measurements</li>
</ul></li>
<li><strong>HAL RTC</strong> driver
<ul>
<li>Expand the cast of ‘RTC_CR_BYPSHAD’ to 32 bits when writing to the CR register in HAL_RTCEx_DisableBypassShadow() to avoid overwriting its upper bits.</li>
<li>Fix CONSTANT_EXPRESSION_RESULT/UNUSED_VALUE Coverity warnings.</li>
</ul></li>
<li><strong>HAL TIM</strong> driver
<ul>
<li>Update TIM_CCER_CCxE_MASK to support internal TIM Channel5 and TIM Channel6.</li>
</ul></li>
</ul>
<h3 id="ll-drivers-updates-1"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL IWDG</strong> driver
<ul>
<li>Fix MISRAC2012 Rule 8.13 errors<br />
</li>
</ul></li>
</ul>
<h2 id="backward-compatibility-1">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section21" aria-hidden="true"> <label for="collapse-section21" aria-hidden="true">V1.14.5/ 05-October-2025</label>
<div>
<h2 id="main-changes-2">Main Changes</h2>
<ul>
<li>Maintenance release of HAL and Low Layer drivers to include latest corrections</li>
<li>HAL/LL code quality enhancement</li>
</ul>
<h2 id="contents-2">Contents</h2>
<h3 id="hal-drivers-updates-2"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL RNG</strong> driver
<ul>
<li>Update Distinguish error coming from RecoverSeedError or from SeedError.</li>
</ul></li>
<li><strong>HAL HSEM</strong> driver
<ul>
<li>Macro update to be aligned with register name in CMSIS</li>
</ul></li>
<li><strong>HAL RTC</strong> driver
<ul>
<li>Expand the cast of ‘RTC_CR_BYPSHAD’ to 32 bits when writing to the CR register in HAL_RTCEx_DisableBypassShadow() to avoid overwriting its upper bits</li>
</ul></li>
<li><strong>HAL UART</strong> driver
<ul>
<li>Provide accurate position in RxEventCallback when ReceptionToIdle mode is used with DMA, when UART and DMA interrupts process is delayed</li>
<li>Correct references to HAL_UARTEx_WakeupCallback and to HAL_UART_WAKEUP_CB_ID define, according to serie capabilities</li>
<li>Correct DMA Rx abort procedure impact on ongoing Tx transfer in polling mode</li>
<li>Ensure UART Rx buffer is not written beyond boundaries in case of RX FIFO reception in Interrupt mode</li>
<li>Add HAL_UART_RXEVENT_IDLE event notification to user in case of HAL_UARTEx_ReceiveToIdle_DMA() use with Circular DMA, even if occurring just after TC event.</li>
<li>Align prescaler value used by default in UART_GET_DIV_FACTOR macro with RM.</li>
<li>Correct wrong comment in HAL_UARTEx_DisableFifoMode() function</li>
<li>Corrections in CHM/PDF rendering for HAL_UART</li>
</ul></li>
<li><strong>HAL TIM</strong> driver
<ul>
<li>Update TIM_CCER_CCxE_MASK to support internal TIM Channel5 and TIM Channel6.</li>
<li>Fix update flag (UIF) clearing in TIM_Base_SetConfig</li>
</ul></li>
</ul>
<h3 id="ll-drivers-updates-2"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL LPUART</strong> driver
<ul>
<li>Solve Coverity out-of-bound memory access warning in use of LPUART_PRESCALER_TAB array</li>
<li>Add LL LPUART API allowing TX FIFO flush request</li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="backward-compatibility-2">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section20" aria-hidden="true"> <label for="collapse-section20" aria-hidden="true">V1.14.4/ 30-October-2024</label>
<div>
<h2 id="main-changes-3">Main Changes</h2>
<ul>
<li>Maintenance release of HAL and Low Layer drivers to include latest corrections</li>
<li>HAL/LL code quality enhancement</li>
</ul>
<h2 id="contents-3">Contents</h2>
<h3 id="hal-drivers-updates-3"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL ADC</strong> driver
<ul>
<li>Fixed MISRA 20.6_b warnings</li>
</ul></li>
<li><strong>HAL QSPI</strong> driver
<ul>
<li>Clear AR register after CCR to avoid new transfer when address is not needed</li>
</ul></li>
<li><strong>HAL SPI</strong> driver
<ul>
<li>Check data size before changing state in reception API</li>
<li>Fix MISRA2012 Rule 8.13 errors</li>
</ul></li>
<li><strong>HAL UART</strong> driver
<ul>
<li>Correct DMA Rx abort procedure impact on ongoing Tx transfer in polling mode</li>
</ul></li>
<li><strong>HAL PCD</strong> driver
<ul>
<li>Fix added to support bulk transfer in double buffer mode</li>
</ul></li>
</ul>
<h3 id="ll-drivers-updates-3"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL ADC</strong> driver
<ul>
<li>Fixed MISRA 20.6_b warnings.</li>
</ul></li>
<li><strong>LL SPI</strong> driver
<ul>
<li>Add const qualifiers to be compliant with MISRA rule 8.13</li>
</ul></li>
<li><strong>LL USB</strong> driver
<ul>
<li>Fix added to support bulk transfer in double buffer mode</li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="backward-compatibility-3">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section19" aria-hidden="true"> <label for="collapse-section13" aria-hidden="true">V1.14.3/ 05-June-2024</label>
<div>
<h2 id="main-changes-4">Main Changes</h2>
<ul>
<li>Maintenance release of HAL and Low Layer drivers to include latest corrections</li>
<li>HAL/LL code quality enhancement</li>
</ul>
<h2 id="contents-4">Contents</h2>
<h3 id="hal-drivers-updates-4"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL CRYP</strong> driver
<ul>
<li>Code quality enhancment MISRAC 2012 Rule-10.4</li>
</ul></li>
<li><strong>HAL I2C</strong> driver
<ul>
<li>Add a temporary variable to get the value to check before comparison.</li>
<li>Add abort memory management to function HAL_I2C_Master_Abort_IT</li>
<li>Move the prefetch process in function HAL_I2C_Slave_Transmit.</li>
</ul></li>
<li><strong>HAL QSPI</strong> driver
<ul>
<li>Clear AR register after CCR to avoid new transfer when address is not needed</li>
</ul></li>
<li><strong>HAL TIM</strong> driver
<ul>
<li>Fixed typo in PWM asymmetric mode related constants</li>
</ul></li>
<li><strong>HAL UART</strong> driver
<ul>
<li>Add HAL_UART_RXEVENT_IDLE event notification to user in case of HAL_UARTEx_ReceiveToIdle_DMA() use with Circular DMA, even if occurring just after TC even</li>
<li>Align prescaler value used by default in UART_GET_DIV_FACTOR macro with RM.</li>
<li>Correct wrong comment in HAL_UARTEx_DisableFifoMode() function</li>
<li>Ensure UART Rx buffer is not written beyond boundaries in case of RX FIFO reception in Interrupt mode</li>
</ul></li>
</ul>
<p><br />
</p>
<h3 id="ll-drivers-updates-4"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL LPUART</strong> driver
<ul>
<li>Add LL LPUART API allowing TX FIFO flush request</li>
</ul></li>
<li><strong>LL TIM</strong> driver
<ul>
<li>Fixed typo in PWM asymmetric mode related constants.</li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="backward-compatibility-4">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section18" aria-hidden="true"> <label for="collapse-section12" aria-hidden="true">V1.14.2/ 07-February-2024</label>
<div>
<h2 id="main-changes-5">Main Changes</h2>
<ul>
<li>Maintenance release of HAL and Low Layer drivers to include latest corrections</li>
<li>HAL/LL code quality enhancement</li>
</ul>
<h2 id="contents-5">Contents</h2>
<h3 id="hal-drivers-updates-5"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL GPIO</strong> driver
<ul>
<li>Replace GPIO_Pin_x with GPIO_PIN_x to be compliant with macros definition</li>
</ul></li>
<li><strong>HAL CRYP</strong> driver
<ul>
<li>Update CRYP_AESGCM_Process_IT() and CRYP_AESCCM_Process_IT() to prevent ‘Computation Completed’ IRQ from firing before the DINR pointer gets incremented.</li>
</ul></li>
<li><strong>HAL I2C</strong> driver
<ul>
<li>Update HAL_I2C_Slave_Transmit to check if the received NACK is the good one</li>
</ul></li>
<li><strong>HAL SMBUS</strong> driver
<ul>
<li>Update SMBUS_ITErrorHandler to flash TXDR just in case of error</li>
</ul></li>
<li><strong>HAL QSPI</strong> driver
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
<li>Fix incorrect word ‘surcharged’ in functions headers</li>
</ul></li>
<li><strong>HAL CORTEX</strong> driver
<ul>
<li>Updated HAL_MPU_ConfigRegion() to allow the configuration of the MPU registers independently of the value of Enable/Disable field.</li>
<li>Add new APIs HAL_MPU_EnableRegion() / HAL_MPU_DisableRegion().</li>
</ul></li>
<li><strong>HAL TIM</strong> driver
<ul>
<li>Update interrupt flag is cleared when the update event is generated by software.</li>
<li>Fix typo in PWM asymmetric mode macros’ names.</li>
</ul></li>
<li><strong>HAL LPTIM</strong> driver
<ul>
<li>Removed redundant IS_LPTIM_AUTORELOAD macro.</li>
</ul></li>
</ul>
<p><br />
</p>
<h3 id="ll-drivers-updates-5"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL UTILS</strong> driver
<ul>
<li>Fix a note about Ticks parameter.</li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="backward-compatibility-5">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section17" aria-hidden="true"> <label for="collapse-section17" aria-hidden="true">V1.14.1 / 01-November-2023</label>
<div>
<h2 id="main-changes-6">Main Changes</h2>
<ul>
<li>Maintenance release of HAL and Low Layer drivers to include latest corrections</li>
<li>HAL/LL code quality enhancement</li>
</ul>
<h2 id="contents-6">Contents</h2>
<h3 id="hal-drivers-updates-6"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL I2C</strong> driver
<ul>
<li>Update I2C_Slave_ISR_IT, I2C_Slave_ISR_DMA and I2C_ITSlaveCplt to prevent the call of HAL_I2C_ListenCpltCallback twice</li>
<li>Update I2C_WaitOnRXNEFlagUntilTimeout to check I2C_FLAG_AF independently from I2C_FLAG_RXNE</li>
<li>Remove the unusable code in function HAL_I2C_IsDeviceReady</li>
<li>Update I2C_WaitOnFlagUntilTimeout to handle error case</li>
</ul></li>
<li><strong>HAL SAI</strong> driver
<ul>
<li>Improve audio quality (avoid potential glitch)</li>
</ul></li>
<li><strong>HAL QSPI</strong> driver
<ul>
<li>Clear the QSPI.AR register when sCommand.AddressMode is “QSPI_ADDRESS_NONE”</li>
</ul></li>
<li><strong>HAL TIM</strong> driver
<ul>
<li>Removing multiple volatile reads or writes in interrupt handler</li>
<li>Improved period configuration parameter check</li>
<li>Assert check for the right channels</li>
</ul></li>
<li><strong>HAL RTC</strong> driver
<ul>
<li>Remove macro __HAL_RTC_TAMPER_GET_IT() as it is redundant with macro __HAL_RTC_TAMPER_GET_FLAG() and create an alias into the hal_legacy.h file</li>
</ul></li>
<li><strong>HAL UART</strong> driver
<ul>
<li>Fix incorrect gState check in HAL_UART_RegisterRxEventCallback/HAL_UART_UnRegisterRxEventCallback to allow user Rx Event Callback registration when a transmit is ongoing</li>
<li>Avoid RTOF flag to be cleared by a transmit process in polling mode</li>
</ul></li>
</ul>
<p><br />
</p>
<h3 id="ll-drivers-updates-6"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL I2C</strong> driver
<ul>
<li>Update LL_I2C_HandleTranfer function to prevent undefined behavior of volatile usage before updating the CR2 register</li>
</ul></li>
<li><strong>LL TIM</strong> driver
<ul>
<li>Remove unnecessary change of MOE bitfield in LL_TIM_BDTR_Init()</li>
<li>User manual quality improvement</li>
</ul></li>
<li><strong>LL RTC</strong> driver
<ul>
<li>Correct misleading note about shadow registers</li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="backward-compatibility-6">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section16" aria-hidden="true"> <label for="collapse-section16" aria-hidden="true">V1.14.0 / 07-June-2023</label>
<div>
<h2 id="main-changes-7">Main Changes</h2>
<ul>
<li>Maintenance release of HAL and Low Layer drivers to include latest corrections</li>
<li>HAL/LL code quality enhancement</li>
</ul>
<h2 id="contents-7">Contents</h2>
<h3 id="hal-drivers-updates-7"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL CRYP</strong> driver
<ul>
<li>Update Crypt/Decrypt IT processes to avoid Computation Completed IRQ fires before the DINR pointer increment</li>
</ul></li>
<li><strong>HAL Generic</strong> driver
<ul>
<li>Update of HAL_GetTickFreq() brief</li>
</ul></li>
<li><strong>HAL I2C</strong> driver
<ul>
<li>Change HAL_I2C_IsDeviceReady to support 10 bit addressing mode</li>
<li>Update HAL I2C driver to prefetch data before starting the transmission: implementation of errata sheet workaround I2C2-190208 : Transmission stalled after first byte</li>
<li>Update HAL I2C driver to disable all interrupts after end of transaction</li>
<li>Update HAL_I2C_Init API to clear ADD10 bit in 7 bit addressing mode</li>
<li>Update HAL_I2C_Mem_Write_IT API to initialize XferSize at 0</li>
</ul></li>
<li><strong>HAL SMBUS</strong> driver
<ul>
<li>Update HAL I2C driver to prefetch data before starting the transmission: implementation of errata sheet workaround I2C2-190208 : Transmission stalled after first byte</li>
</ul></li>
<li><strong>HAL SPI</strong> driver
<ul>
<li>Fix driver to don’t update state in case of error. (HAL_SPI_STATE_READY will be set only in case of HAL_TIMEOUT)</li>
<li>Update HAL_SPI_TransmitReceive API to set the bit CRCNEXT in case of one byte transaction</li>
<li>Update IT API to enable interrupts after process unlock</li>
</ul></li>
<li><strong>HAL TSC</strong> driver
<ul>
<li>Add parameter assertion depends on Duration time restriction link to product</li>
</ul></li>
<li><strong>HAL UART</strong> driver
<ul>
<li>Update initialisation sequence for TXINV, RXINV and TXRXSWAP settings</li>
</ul></li>
</ul>
<p><br />
</p>
<h3 id="ll-drivers-updates-7"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL USB</strong> driver
<ul>
<li>Add USB_EPStopXfer() function</li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="backward-compatibility-7">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section15" aria-hidden="true"> <label for="collapse-section15" aria-hidden="true">V1.13.0 / 8-February-2023</label>
<div>
<h2 id="main-changes-8">Main Changes</h2>
<ul>
<li>Maintenance release of HAL and Low Layer drivers to include latest corrections</li>
<li>HAL/LL code quality enhancement</li>
</ul>
<h2 id="contents-8">Contents</h2>
<h3 id="hal-drivers-updates-8"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL FLASH</strong> driver
<ul>
<li>Fix missing STM32WB10xx preprocessor checks for several constants (FLASH_PCROP_GRANULARITY_OFFSET,SRAM2B_START_SECURE_ADDR_4,FLASH_PAGE_SIZE..)</li>
<li>Fix wrong value of constant SRAM_SECURE_PAGE_GRANULARITY for STM32WB5x &amp; STM32WB3x devices</li>
</ul></li>
<li><strong>HAL Generic</strong> driver
<ul>
<li>Add missing preprocessor directive on macros IS_SYSCFG_SRAM2WRP_PAGE &amp; IS_SYSCFG_SRAM2WRP2_PAGE for STM32WB10xx device</li>
<li>Fix Tick priority handling in HAL_Init_Tick()</li>
</ul></li>
<li><strong>HAL I2C</strong> driver
<ul>
<li>Enhance I2C HAL to be thread safe</li>
<li>Remove HAL DMA dependency thanks to the HAL_DMA_MODULE_ENABLED define</li>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul></li>
<li><strong>HAL SAI</strong> driver
<ul>
<li>Add 24kHz audio frequency for SAI</li>
</ul></li>
<li><strong>HAL TSC</strong> driver</li>
<li><p>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</p></li>
<li><strong>HAL UART</strong> driver
<ul>
<li>Rework of UART_WaitOnFlagUntilTimeout() API to avoid being stuck forever when UART overrun error occurs and to enhance behavior.</li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="backward-compatibility-8">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section14" aria-hidden="true"> <label for="collapse-section14" aria-hidden="true">V1.12.0 / 09-November-2022</label>
<div>
<h2 id="main-changes-9">Main Changes</h2>
<ul>
<li>Maintenance release of HAL and Low Layer drivers to include latest corrections</li>
<li>Remove HAL_LOCK/HAL_UNLOCK calls in HAL_xxxx_RegisterCallback &amp; HAL_xxxx_UnregisterCallback for IPs (IRDA, LPTIM, SMARTCARD, TIM, UART, USART)</li>
</ul>
<h2 id="contents-9">Contents</h2>
<h3 id="hal-drivers-updates-9"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL ADC</strong> driver
<ul>
<li>Disable AutoPowerOff when performing calibration</li>
<li>Fix calibration issue due to delay between ADC enable and disable</li>
<li>Add Bitfield CFGR1_CHSELRMOD cleaning in HAL_ADC_Init and HAL_ADC_DeInit functions, needed for specific cases with reconfiguration on the fly</li>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul></li>
<li><strong>HAL CRC</strong> driver
<ul>
<li>Add filter in HAL_CRCEx_Polynomial_Set() function to exclude even polynomials</li>
</ul></li>
<li><strong>HAL EXTI</strong> driver
<ul>
<li>Fix computation of pExtiConfig-&gt;GPIOSel in HAL_EXTI_GetConfigLine()</li>
</ul></li>
<li><strong>HAL RCC</strong> driver
<ul>
<li>Optimize HAL_RCC_GetOscConfig function</li>
</ul></li>
<li><strong>HAL RTC</strong> driver
<ul>
<li>Improve HAL_RTC_Init function to avoid initialization if already done</li>
<li>HAL code quality enhancement</li>
</ul></li>
<li><strong>HAL SAI</strong> driver
<ul>
<li>HAL code quality enhancement</li>
</ul></li>
<li><strong>HAL UART</strong> driver
<ul>
<li>New API HAL_UARTEx_GetRxEventType to retrieve the type of event that has led the RxEventCallback execution</li>
<li>Remove HAL_LOCK/HAL_UNLOCK calls in HAL UART Tx and Rx APIs to fix a concurrent access issue</li>
<li>Disable the Receiver Timeout Interrupt when data reception is completed</li>
</ul></li>
<li><strong>HAL USART</strong> driver
<ul>
<li>Remove HAL_LOCK/HAL_UNLOCK calls in HAL_USART_RegisterCallback &amp; HAL_USART_UnregisterCallback</li>
</ul></li>
<li><strong>HAL USB</strong> driver
<ul>
<li>Add a mask for USB RX bytes count</li>
</ul></li>
</ul>
<p><br />
</p>
<h3 id="ll-drivers-updates-8"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL ADC</strong> driver
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul></li>
<li><strong>LL LPTIM</strong> driver
<ul>
<li>Enhance code quality by renaming all functions LL_LPTIM_ClearFLAG_Xxxxx with LL_LPTIM_ClearFlag_Xxxxx</li>
</ul></li>
<li><strong>LL RCC</strong> driver
<ul>
<li>Add specific LSE_VALUE to 32774Hz for STM32WB5Mxx device</li>
</ul></li>
<li><strong>LL TIM</strong> driver
<ul>
<li>Remove useless check on IS_TIM_ADVANCED_INSTANCE() within LL_TIM_BDTR_Init() to fix Break Filter configuration problem with specific TIM instances</li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="backward-compatibility-9">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section13" aria-hidden="true"> <label for="collapse-section13" aria-hidden="true">V1.11.0 / 01-June-2022</label>
<div>
<h2 id="main-changes-10">Main Changes</h2>
<ul>
<li>Maintenance release of HAL and Low Layer drivers to include latest corrections</li>
<li>Correct English spelling errors and typos</li>
</ul>
<h2 id="contents-10">Contents</h2>
<h3 id="hal-drivers-updates-10"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL EXTI</strong> driver
<ul>
<li>Fix build error with -Werror=unused-paramerter</li>
</ul></li>
<li><strong>HAL GPIO</strong> driver
<ul>
<li>Add new API HAL_GPIO_WriteMultipleStatePin() to set simultaneously several pins to Low level and/or High level</li>
</ul></li>
<li><strong>HAL I2C</strong> driver
<ul>
<li>Add new SMBUS_FLAG_TXE flag value for macro __HAL_SMBUS_CLEAR_FLAG()</li>
<li>Add flush on TX register</li>
<li>Fix some communication issues due to low system frequency execution</li>
<li>Fix issue of mismatched data received by master in the case of data size transmitted by the slave is greater than the data size received by the master</li>
<li>Fix Timeout issue using HAL MEM interface through FreeRTOS</li>
</ul></li>
<li><strong>HAL IRDA</strong> driver
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul></li>
<li><strong>HAL LPTIM</strong> driver
<ul>
<li>Enhance IS_LPTIM_AUTORELOAD and IS_LPTIM_PERIOD macros to check that Auto reload value is strictly greater than 0 (Alignment with Reference Manual)</li>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul></li>
<li><strong>HAL PKA</strong> driver
<ul>
<li>Add capability to avoid padding when parameters are not uint32_t aligned</li>
</ul></li>
<li><strong>HAL RCC</strong> driver
<ul>
<li>Add LSI clock as RF system wakeup clock in RCC_CSR register for STM32WB15xx and STM32WB10xx</li>
<li>Enhance HAL_RCCEx_EnableLSCO() and HAL_RCCEx_DisableLSCO() functions</li>
<li>Optimize HAL_RCC_OscConfig()</li>
<li>Fix MCO index check in HAL_RCC_MCOConfig()</li>
<li>Fix IS_RCC_PLLSOURCE macro since PLL_SOURCE_NONE should not be considered as correct parameter</li>
<li>Fix PLL_RDY flag still on when turning off PLL source</li>
</ul></li>
<li><strong>HAL SAI</strong> driver
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul></li>
<li><strong>HAL SMARTCARD</strong> driver
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
<li>Fix wrong cast when setting USARTDIV</li>
</ul></li>
<li><strong>HAL TIM</strong> driver
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
<li>Add capability to configure the TIM_CR2_CCDS bit</li>
<li>Improved period configuration parameter check for IS_TIM_PERIOD macro</li>
</ul></li>
<li><strong>HAL UART</strong> driver
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
<li>Add a check on the UART parity before enabling the parity error interrupt</li>
<li>Fix wrong cast when setting USARTDIV</li>
</ul></li>
<li><strong>HAL USART</strong> driver
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
<li>Add a check on the UART parity before enabling the parity error interrupt</li>
</ul></li>
<li><strong>HAL USB</strong> driver
<ul>
<li>Add new HAL_PCD_EP_Abort API to abort an USB EP transaction</li>
<li>Allow sending multi packet on interrupt endpoints</li>
<li>Avoid EP0 reconfiguration during OUT multi packet transfer</li>
<li>Fix timeout handling in DCD stage of the BCD process</li>
</ul></li>
</ul>
<p><br />
</p>
<h3 id="ll-drivers-updates-9"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL I2C</strong> driver
<ul>
<li>Fix Error status value returned by LL_I2C_DeInit when no I2C1 and I2C3 are available</li>
</ul></li>
<li><strong>LL LPTIM</strong> driver
<ul>
<li>LL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul></li>
<li><strong>LL RCC</strong> driver
<ul>
<li>Add LSI clock as RF system wakeup clock in RCC_CSR register for STM32WB15xx and STM32WB10xx</li>
</ul></li>
<li><strong>LL TIM</strong> driver
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
<li>Update __LL_TIM_CALC_PSC() macro to round up the evaluate value when the fractional part of the division is greater than 0.5</li>
</ul></li>
<li><strong>LL UART</strong> driver
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
<li>Remove TXFECF reference in LL LPUART file</li>
</ul></li>
<li><strong>LL USART</strong> driver
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul></li>
<li><strong>LL USB</strong> driver
<ul>
<li>Add new USB_EPStopXfer API to Stop transfer on an EP</li>
<li>Fix issue to do not set OUT EP to valid state during Init</li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="backward-compatibility-10">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section12" aria-hidden="true"> <label for="collapse-section12" aria-hidden="true">V1.10.1 / 27-March-2022</label>
<div>
<h2 id="main-changes-11">Main Changes</h2>
<ul>
<li>Patch release of <strong>HAL and Low Layer</strong> drivers</li>
</ul>
<h2 id="contents-11">Contents</h2>
<h3 id="hal-drivers-updates-11"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL COMP</strong> driver
<ul>
<li>Fix Code spell</li>
</ul></li>
</ul>
<p><br />
</p>
<h3 id="ll-drivers-updates-10"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL COMP</strong> driver
<ul>
<li>Fix Code spell</li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="backward-compatibility-11">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section11" aria-hidden="true"> <label for="collapse-section11" aria-hidden="true">V1.10.0 / 12-November-2021</label>
<div>
<h2 id="main-changes-12">Main Changes</h2>
<ul>
<li>Maintenance release of <strong>HAL and Low Layer</strong> drivers to include latest corrections</li>
<li>All source files: update disclaimer to add reference to the new license agreement</li>
<li>Correct English spelling errors and typos</li>
</ul>
<h2 id="contents-12">Contents</h2>
<h3 id="hal-drivers-updates-12"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL ADC</strong> driver
<ul>
<li>Enhance ADC calibration to reduce noise effect</li>
</ul></li>
<li><strong>HAL GPIO</strong> driver
<ul>
<li>Reorder EXTI configuration sequence in order to avoid unexpected level detection</li>
</ul></li>
<li><strong>HAL I2C</strong> driver
<ul>
<li>Update I2C_TransferConfig() function to avoid write to reserved bit 28 in I2C_CR2 register</li>
<li>Update header description of I2C_WaitOnFlagUntilTimeout() function</li>
<li>Update driver to handle errors in polling mode</li>
<li>Update I2C_IsAcknowledgeFailed() API to avoid I2C in busy state if NACK received after transmitting register address</li>
<li>Rename I2C_IsAcknowledgeFailed() to I2C_IsErrorOccurred() and correctly manage when error occurs</li>
</ul></li>
<li><strong>HAL IRDA</strong> driver
<ul>
<li>Improve description of IRDA_WaitOnFlagUntilTimeout() function header</li>
</ul></li>
<li><strong>HAL IWDG</strong> driver
<ul>
<li>Fix HAL_GetTick() timeout vulnerability</li>
<li>Update HAL_IWDG_DEFAULT_TIMEOUT value to take into account LSI startup time</li>
</ul></li>
<li><strong>HAL LPTIM</strong> driver
<ul>
<li>Add check on PRIMASK register to prevent from enabling unwanted global interrupts within LPTIM_Disable() and LL_LPTIM_Disable() funstions</li>
</ul></li>
<li><strong>HAL PKA</strong> driver
<ul>
<li>Fix Incorrect length for R and S in HAL_PKA_ECDSASign_GetResult() function</li>
</ul></li>
<li><strong>HAL RCC</strong> driver
<ul>
<li>Enhance RCC_MCOx in order to support both MCO number and AF mapping</li>
<li>Add missing RCC_RNGCLKSOURCE_PLLSAI1 in RNG clock sources</li>
</ul></li>
<li><strong>HAL SMARTCARD</strong> driver
<ul>
<li>Improve description of SMARTCARD_WaitOnFlagUntilTimeout() function header</li>
</ul></li>
<li><strong>HAL SMBUS</strong> driver
<ul>
<li>Add new APIs:
<ul>
<li>HAL_SMBUSEx_EnableWakeUp()</li>
<li>HAL_SMBUSEx_DisableWakeUp()</li>
</ul></li>
</ul></li>
<li><strong>HAL TIM</strong> driver
<ul>
<li>Reorder function calls in HAL_TIM_IC_Start_DMA() and HAL_TIM_Encoder_Start_DMA() functions to enable the timer when configuration is done</li>
</ul></li>
<li><strong>HAL UART</strong> driver
<ul>
<li>Improve description of UART_WaitOnFlagUntilTimeout() function header</li>
</ul></li>
<li><strong>HAL USART</strong> driver
<ul>
<li>Improve description of USART_WaitOnFlagUntilTimeout() function header</li>
</ul></li>
<li><strong>HAL WWDG</strong> driver
<ul>
<li>Remove non UTF-8 characters in comments</li>
</ul></li>
</ul>
<p><br />
</p>
<h3 id="ll-drivers-updates-11"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL ADC</strong> driver
<ul>
<li>Update LL_ADC driver to prevent unused argument compilation warning</li>
</ul></li>
<li><strong>LL RCC</strong> driver
<ul>
<li>Add missing APIs LL_RCC_PLL_IsEnabledDomain_XXX for PLL domain outputs</li>
<li>Add check of PLL enable bit when a peripheral is using PPL P or PLL Q</li>
<li>Update driver to fix CodeSonar warnings</li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="backward-compatibility-12">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section10" aria-hidden="true"> <label for="collapse-section10" aria-hidden="true">V1.9.0 / 24-June-2021</label>
<div>
<h2 id="main-changes-13">Main Changes</h2>
<ul>
<li>Maintenance release of <strong>HAL and Low Layer</strong> drivers to include latest corrections</li>
<li>Update of HAL SMBUS driver to introduce fast mode and fast mode plus
<ul>
<li>Add extension files stm32wbxx_hal_smbus_ex.h/.c for new APIs:
<ul>
<li><em>HAL_SMBUSEx_EnableFastModePlus()</em></li>
<li><em>HAL_SMBUSEx_DisableFastModePlus()</em></li>
</ul></li>
</ul></li>
</ul>
<p><br />
</p>
<h2 id="contents-13">Contents</h2>
<h3 id="hal-drivers-updates-13"><strong>HAL Drivers</strong> updates</h3>
<ul>
<li><strong>HAL CORTEX</strong> driver
<ul>
<li>Disable the smallest MPU region sizes (32B, 64B, 128B) within M0+ context</li>
</ul></li>
<li><strong>HAL CRYP</strong> driver
<ul>
<li>Update HAL_CRYP_InCpltCallback() API to fix an incorrect condition call at resumption time</li>
<li>Update CRYP_AESCCM_Process_IT() to fix incorrect CCM header length management when data are fed to the peripheral under interrupt</li>
</ul></li>
<li><strong>HAL EXTI</strong> driver
<ul>
<li>Update HAL_EXTI_GetConfigLine() to set default configuration value of Trigger and GPIOSel before checking each corresponding register</li>
</ul></li>
<li><strong>HAL FLASH</strong> driver
<ul>
<li>Add new __HAL_FLASH_ECC_CPUID() macro to get the Bus-ID of the CPU access causing the ECC failure</li>
</ul></li>
<li><strong>HAL GPIO</strong> driver
<ul>
<li>Update HAL_GPIO_Init() function to avoid the configuration of PUPDR register when Analog mode is selected</li>
</ul></li>
<li><strong>HAL I2C</strong> driver
<ul>
<li>Updated I2C_IsAcknowledgeFailed() to avoid keeping I2C in busy state if NACK is received after transmitting register address</li>
</ul></li>
<li><strong>HAL IWDG</strong> driver
<ul>
<li>Add LSI startup time in default IWDG timeout calculation (HAL_IWDG_DEFAULT_TIMEOUT)</li>
<li>Update HAL_IWDG_Init() API in order to fix HAL_GetTick() timeout vulnerability issue</li>
</ul></li>
<li><strong>HAL RCC</strong> driver
<ul>
<li>Update definition of IS_RCC_OSCILLATORTYPE() macro</li>
<li>Update IS_RCC_PERIPHCLOCK() macro definition depending on targeted derivative</li>
<li>Add new API HAL_RCC_GetResetSource() to get all reset sources and clear flags for next reset</li>
</ul></li>
<li><strong>HAL RTC</strong> driver
<ul>
<li>Add new API HAL_RTC_DST_Add1Hour() to add 1 hour without going through the initialization procedure</li>
<li>Add new API HAL_RTC_DST_Sub1Hour() to subtract 1 hour without going through the initialization procedure</li>
<li>Add new API HAL_RTC_DST_SetStoreOperation() to memorize the Daylight Saving Time status without going through the initialization procedure</li>
<li>Add new API HAL_RTC_DST_ClearStoreOperation() to clear the Daylight Saving Time status without going through the initialization procedure</li>
<li>Add new API HAL_RTC_DST_ReadStoreOperation() to read the Daylight Saving Time status</li>
<li>Fields DayLightSaving and StoreOperation in RTC_TimeTypeDef structure are deprecated</li>
</ul></li>
<li><strong>HAL RNG</strong> driver
<ul>
<li>Update timeout mechanism to avoid false timeout detection in case of preemption</li>
</ul></li>
<li><strong>HAL SMBUS</strong> driver
<ul>
<li>Add support for Fast Mode Plus to be SMBUS Rev3 compliant.
<ul>
<li>Add HAL_SMBUSEx_EnableFastModePlus() and HAL_SMBUSEx_DisableFastModePlus() APIs to manage Fm+.</li>
</ul></li>
</ul></li>
<li><strong>HAL SPI</strong> driver
<ul>
<li>Update in SPI_WaitFifoStateUntilTimeout() to fix code optimization issue</li>
<li>Update to fix MISRA-C 2012 Rule-13.2 issue</li>
</ul></li>
<li><strong>HAL UART</strong> driver
<ul>
<li>Fix erroneous UART’s handle state in case of error returned after DMA reception start within UART_Start_Receive_DMA()</li>
<li>Update UART ReceptionType management in case of ReceptionToIdle API are called from RxEvent callback</li>
<li>Handling of UART concurrent register access in case of race condition between Tx and Rx transfers</li>
</ul></li>
<li><strong>HAL USB</strong> driver
<ul>
<li>Add fix transfer complete for IN Interrupt transaction in single buffer mode</li>
</ul></li>
</ul>
<p><br />
</p>
<h3 id="ll-drivers-updates-12"><strong>LL Drivers</strong> updates</h3>
<ul>
<li><strong>LL DMA</strong> driver
<ul>
<li>Update LL_DMA_ClearFlag_GIx() functions description to inform use not to clear GIx when channel is ON</li>
</ul></li>
<li><strong>LL RTC</strong> driver
<ul>
<li>Fix race condition in LL_RTC_WaitForSynchro() function</li>
<li>Fix wrong reference of RTC instance in LL_RTC_TIME_Init() and LL_RTC_DATE_Init() functions</li>
</ul></li>
<li><strong>LL SPI</strong> driver
<ul>
<li>Update LL_SPI_TransmitData8() to avoid casting the result to 8 bits</li>
<li>Updated to set the FRXTH bit for 8bit data for LL_SPI_Init() API</li>
</ul></li>
Morty Proxy This is a proxified and sanitized view of the page, visit original site.