-
Notifications
You must be signed in to change notification settings - Fork 3
/
Release_Notes.html
2475 lines (2475 loc) · 82.1 KB
/
Release_Notes.html
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 STM32 USB-C Power Delivery Core Stack Library</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="stm32-usb-c-power-delivery-core-stack-library"><mark>STM32 USB-C Power Delivery Core Stack Library</mark></h1>
<p>Copyright © 2017 STMicroelectronics<br />
</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 USB-PD core stack library component provides SW implementation of the USB-PD protocol stack, as described in USB-IF specifications. This implementation covers features of modules as :</p>
<ul>
<li>PE (Policy Engine)</li>
<li>PRL (Protocol Layer)</li>
<li>CAD (CAble Detection) for the high level of the type C detection state machine</li>
</ul>
<p>The library is provided in binary format, comes on top of the STM32Cube HAL driver and offers all the APIs required to develop an USB PD application.</p>
<p>The USB-PD library is developed following the Universal Serial Bus Power Delivery Specification Revision 3.1, V1.7 (January 2023) and Universal Serial Bus type-C Cable and Connector Specification, Revision 2.0 (August, 2019). It has passed successfully the official certification.</p>
<p>Here is the list of references to user documents:</p>
<ul>
<li><a href="https://www.st.com/en/applications/connectivity/usb-type-c-and-power-delivery.html">ST page</a>: Key features of the new USB Type-C™ connector</li>
<li><a href="https://www.st.com/resource/en/user_manual/dm00598101-managing-usb-power-delivery-systems-with-stm32-microcontrollers-stmicroelectronics.pdf">UM2552</a>: USB power delivery User Manual</li>
<li><a href="https://wiki.st.com/stm32mcu/wiki/USB_Power_Delivery_overview">WIKI Page</a>: USB Power Delivery overview</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-section36" checked aria-hidden="true"> <label for="collapse-section36" aria-hidden="true">V5.1.0 / 09-Nov-2023</label>
<div>
<h2 id="main-changes">Main Changes</h2>
<h3 id="maintenance-release">Maintenance Release</h3>
<h2 id="contents">Contents</h2>
<p><strong>Fixed bugs list</strong></p>
<table>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Add AMETimeout management</td>
</tr>
<tr class="even">
<td>Add CM55 support</td>
</tr>
<tr class="odd">
<td>Add defines of Power Delivery revision</td>
</tr>
<tr class="even">
<td>Reduce BIST timing to improve certification tests</td>
</tr>
<tr class="odd">
<td>Fix COMMON.CHECK.PD.9 by adding missing VDM minor version field</td>
</tr>
<tr class="even">
<td>Implement source_info message</td>
</tr>
<tr class="odd">
<td>Improve SenderResponseTimer and PSTransitionTimer timings</td>
</tr>
<tr class="even">
<td>Correct Size value when storing received EPR PDOs</td>
</tr>
<tr class="odd">
<td>Trig Hard Reset when SPR SRC Capabilities is received while in EPR mode</td>
</tr>
<tr class="even">
<td>Update tTypeCSinkWaitCap timer duration</td>
</tr>
<tr class="odd">
<td>Update library content for MINSNK, MINSRC and MINDRP versions</td>
</tr>
<tr class="even">
<td>Reduce maximum ports number to 1 for MINSNK, MINSRC and MINDRP versions</td>
</tr>
<tr class="odd">
<td>Fix data role swap from device to host when port power role is source</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations">Known limitations</h2>
<h2 id="development-toolchains-and-compilers">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.6</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE V1.11.0</li>
</ul>
<h2 id="supported-devices-and-boards">Supported Devices and boards</h2>
<h2 id="backward-compatibility">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies">Dependencies</h2>
<p>NA</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section35" aria-hidden="true"> <label for="collapse-section35" aria-hidden="true">V5.0.0 / 26-Jan-2023</label>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<h3 id="official-support-of-universal-serial-bus-power-delivery-specification-revision-3.1">Official support of Universal Serial Bus Power Delivery Specification Revision 3.1</h3>
<h2 id="contents-1">Contents</h2>
<p><strong>Fixed bugs list</strong></p>
<table>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Test PD.EPR.SRC3.07 : EPR_Get_Sink_Cap message received during EPR Entry Mode process should trigger Soft Reset message sending</td>
</tr>
<tr class="even">
<td>HardReset shall be sent by DUT SRC when Request is received in EPR mode</td>
</tr>
<tr class="odd">
<td>HardReset shall be sent if no keepalive is received from sink, while in EPR mode</td>
</tr>
<tr class="even">
<td>epr_exit shall be followed by src_cap and not HardReset</td>
</tr>
<tr class="odd">
<td>Correct Hard reset procedure in case of SNK role</td>
</tr>
<tr class="even">
<td>Avoid compilation issue with keil not really compiling in C99 but in C90 (error #268)</td>
</tr>
<tr class="odd">
<td>EPR SRC state machine should check conditions on PDO and RDO are fulfilled prior answering Enter Acknowlegded</td>
</tr>
<tr class="even">
<td>HardReset shall be sent if no keepalive is received from sink, while in EPR mode</td>
</tr>
<tr class="odd">
<td>get_source_cap shall be answered by source_cap even while in EPR_mode</td>
</tr>
<tr class="even">
<td>Mcuastyle corrections</td>
</tr>
<tr class="odd">
<td>EPR Mode Entry message sent by SNK, should contain EPR SNK Operational PDP value in Data field</td>
</tr>
<tr class="even">
<td>Fix response to not supported instead of soft reset when receiving an epr mode enter when epr not supported</td>
</tr>
<tr class="odd">
<td>Fix TEST.PD.USB4.DRST.1–Data_Reset command response of UFP UUT - answer not supported instead of reject</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-1">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-1">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.6</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE V1.11.0</li>
</ul>
<h2 id="supported-devices-and-boards-1">Supported Devices and boards</h2>
<h2 id="backward-compatibility-1">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies-1">Dependencies</h2>
<p>NA</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section34" aria-hidden="true"> <label for="collapse-section34" aria-hidden="true">V4.3.1 / 16-Dec-2022</label>
<div>
<h2 id="main-changes-2">Main Changes</h2>
<h3 id="maintenance-release-1">Maintenance release</h3>
<h2 id="contents-2">Contents</h2>
<p><strong>Fixed bugs list</strong></p>
<table>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Codespell corrections</td>
</tr>
<tr class="even">
<td>Fix USBPD_RevisionDO_TypeDef structure bitfield inversion</td>
</tr>
<tr class="odd">
<td>tPSSourceOn timing reduced</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-2">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-2">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.6</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE V1.8.0</li>
</ul>
<h2 id="supported-devices-and-boards-2">Supported Devices and boards</h2>
<h2 id="backward-compatibility-2">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies-2">Dependencies</h2>
<p>NA</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section33" aria-hidden="true"> <label for="collapse-section33" aria-hidden="true">V4.3.0 / 31-Aug-2022</label>
<div>
<h2 id="main-changes-3">Main Changes</h2>
<h3 id="maintenance-release-2">Maintenance release</h3>
<h2 id="contents-3">Contents</h2>
<p><strong>Fixed bugs list</strong></p>
<table>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Add Cortex M7 libraries</td>
</tr>
<tr class="even">
<td>tBISTContMode timing reduced</td>
</tr>
<tr class="odd">
<td>Fix response to data message in case of EPR not supported</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-3">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-3">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.6</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE V1.8.0</li>
</ul>
<h2 id="supported-devices-and-boards-3">Supported Devices and boards</h2>
<h2 id="backward-compatibility-3">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies-3">Dependencies</h2>
<p>NA</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section32" aria-hidden="true"> <label for="collapse-section32" aria-hidden="true">V4.2.0 / 27-Apr-2022</label>
<div>
<h2 id="main-changes-4">Main Changes</h2>
<h3 id="maintenance-release-3">Maintenance release</h3>
<h2 id="contents-4">Contents</h2>
<p><strong>Fixed bugs list</strong></p>
<table>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Add GitHub Readme.md</td>
</tr>
<tr class="even">
<td>MCUAstyle corrections</td>
</tr>
<tr class="odd">
<td>Correction of source_extended_cap data size</td>
</tr>
<tr class="even">
<td>Fix abnormal softreset sent by stack</td>
</tr>
<tr class="odd">
<td>Improvement on Collision avoidance mechanism</td>
</tr>
<tr class="even">
<td>Add definition for USB PD DFP VDO version 1.2</td>
</tr>
<tr class="odd">
<td>Add definition for USB PD UFP VDO version 1.3</td>
</tr>
<tr class="even">
<td>Discovery identity message shall be answered when DUT has more than 1 port</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-4">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-4">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.6</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE V1.8.0</li>
</ul>
<h2 id="supported-devices-and-boards-4">Supported Devices and boards</h2>
<h2 id="backward-compatibility-4">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies-4">Dependencies</h2>
<p>NA</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section31" aria-hidden="true"> <label for="collapse-section31" aria-hidden="true">V4.1.0 / 15-Dec-2021</label>
<div>
<h2 id="main-changes-5">Main Changes</h2>
<h3 id="maintenance-release-4">Maintenance release</h3>
<h2 id="contents-5">Contents</h2>
<p><strong>Fixed bugs list</strong></p>
<table>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>[OS] Fix THREADX thread ID struct handling</td>
</tr>
<tr class="even">
<td>[OS] Fix define for CMSIS OS v2</td>
</tr>
<tr class="odd">
<td>[PE] Update FRS AMS to manage power requirement</td>
</tr>
<tr class="even">
<td>[PE] Clear RX event before FRS ACCEPT</td>
</tr>
<tr class="odd">
<td>[OS] update to kill PE if does not stop executing itself</td>
</tr>
<tr class="even">
<td>[OS] replace OS Free RTOS API with cmsis OS API</td>
</tr>
<tr class="odd">
<td>[SNK] After a soft reset we shall wait for source capa</td>
</tr>
<tr class="even">
<td>Fix typo error, add legacy define for USPBPD_WRITE32</td>
</tr>
<tr class="odd">
<td>[DEF] Add defines for STATUS message</td>
</tr>
<tr class="even">
<td>[PE] SOP’ message needs to be sent only if sender is VCONN owner</td>
</tr>
<tr class="odd">
<td>[PE] Add the support of the USB4 (message USB_ENTER and DATA_RESET)</td>
</tr>
<tr class="even">
<td>[PE] Revision message must be answered</td>
</tr>
<tr class="odd">
<td>[PE] Status message has 6 bytes whereas 7 are mandatory</td>
</tr>
<tr class="even">
<td>[PRL] Update to handle retry and crc timer for more than 2 ports</td>
</tr>
<tr class="odd">
<td>[PRL] MessageId is not well incremented after retry</td>
</tr>
<tr class="even">
<td>[PRL] In PD3 GoodCRC is always sent with PD revision 1</td>
</tr>
<tr class="odd">
<td>[CORE] Update the stack to manage 3 ports in parallel</td>
</tr>
<tr class="even">
<td>MCUAstyle, Codespell</td>
</tr>
<tr class="odd">
<td>[CORE] Solve CubeIDE compilation warning in OS_CREATE_TASK macro use.</td>
</tr>
<tr class="even">
<td>[Licensing] Update the way to declare licenses in Cube and X-CUBE components</td>
</tr>
<tr class="odd">
<td>{PE] SNK AMS HardReset : the USB stack shutdown must be done after VBUS has reached VSAFE_0V</td>
</tr>
<tr class="even">
<td>[PRL] PHY state BUSY is no taken into account</td>
</tr>
<tr class="odd">
<td>[UCSI] Add new ID for UCSI trace</td>
</tr>
<tr class="even">
<td>[THREADX] remove pool allocation inside the stack and Add a pool pointer on the InitOS function</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-5">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-5">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.6</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE V1.7.0</li>
</ul>
<h2 id="supported-devices-and-boards-5">Supported Devices and boards</h2>
<h2 id="backward-compatibility-5">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies-5">Dependencies</h2>
<p>NA</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section30" aria-hidden="true"> <label for="collapse-section30" aria-hidden="true">V4.0.1 / 22-Jun-2021</label>
<div>
<h2 id="main-changes-6">Main Changes</h2>
<h3 id="maintenance-release-5">Maintenance release</h3>
<h2 id="contents-6">Contents</h2>
<p><strong>Fixed bugs list</strong></p>
<table>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Update Release Note</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-6">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-6">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.6</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE V1.7.0</li>
</ul>
<h2 id="supported-devices-and-boards-6">Supported Devices and boards</h2>
<h2 id="backward-compatibility-6">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies-6">Dependencies</h2>
<p>NA</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section29" aria-hidden="true"> <label for="collapse-section29" aria-hidden="true">V4.0.0 / 6-May-2021</label>
<div>
<h2 id="main-changes-7">Main Changes</h2>
<h3 id="maintenance-release-6">Maintenance release</h3>
<h2 id="contents-7">Contents</h2>
<p><strong>Fixed bugs list</strong></p>
<table>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Messages should be discarded when device was about to send HardReset</td>
</tr>
<tr class="even">
<td>Messages must be discarded when VBUS is out of range (like during HR)</td>
</tr>
<tr class="odd">
<td>NO_PD mode only, a type C state machine shall runs therefore the CAD task must be created</td>
</tr>
<tr class="even">
<td>Add the data role reset during hard reset AMS</td>
</tr>
<tr class="odd">
<td>Astyle update</td>
</tr>
<tr class="even">
<td>OS update around the thread creation</td>
</tr>
<tr class="odd">
<td>OS Add the support of the ThreadX RTOS</td>
</tr>
<tr class="even">
<td>Stack state machine issue seen in PHY.E2/E3</td>
</tr>
<tr class="odd">
<td>Codespell update</td>
</tr>
<tr class="even">
<td>OS PE task management improvement to replace create/terminate by suspend/resume</td>
</tr>
<tr class="odd">
<td>OS Add file usbpd_os_port.h to manage the OS portability</td>
</tr>
<tr class="even">
<td>Update in Task definition and creation macros for CMSIS RTOS V2</td>
</tr>
<tr class="odd">
<td>OS improvement of the os porting layer</td>
</tr>
<tr class="even">
<td>[CAD] VconnCCIs shall be set for a snk attachment</td>
</tr>
<tr class="odd">
<td>When an Hard Reset receive too quickly after a message the hardreset is not done"</td>
</tr>
<tr class="even">
<td>MISRAC2012 update</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-7">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-7">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.6</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE V1.7.0</li>
</ul>
<h2 id="supported-devices-and-boards-7">Supported Devices and boards</h2>
<h2 id="backward-compatibility-7">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies-7">Dependencies</h2>
<p>NA</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section28" aria-hidden="true"> <label for="collapse-section28" aria-hidden="true">V3.3.1 / 17-Feb-2021</label>
<div>
<h2 id="main-changes-8">Main Changes</h2>
<h3 id="maintenance-release-7">Maintenance release</h3>
<h2 id="contents-8">Contents</h2>
<p><strong>Fixed bugs list</strong></p>
<table>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Update timer in Low Power Mode not correctly set</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-8">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-8">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.27</li>
<li>STM32CubeIDE V1.4.0</li>
</ul>
<h2 id="supported-devices-and-boards-8">Supported Devices and boards</h2>
<h2 id="backward-compatibility-8">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies-8">Dependencies</h2>
<p>NA</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section27" aria-hidden="true"> <label for="collapse-section27" aria-hidden="true">V3.3.0 / 26-Nov-2020</label>
<div>
<h2 id="main-changes-9">Main Changes</h2>
<h3 id="maintenance-release-8">Maintenance release</h3>
<h2 id="contents-9">Contents</h2>
<table>
<caption>Fixed bugs list</caption>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Enable VCONN support in MIN_SRC library</td>
</tr>
<tr class="even">
<td>[PE] Update to avoid PE lock when called PE_Wakeup inside a critical section</td>
</tr>
<tr class="odd">
<td>Add a MIN_DRP configuration in the stack libraries</td>
</tr>
<tr class="even">
<td>[CAD] Hard fault issue detected with CortexM33 (L5)</td>
</tr>
<tr class="odd">
<td>[LPM] replace the LPM call by tiny_lpm function</td>
</tr>
<tr class="even">
<td>[PE] new sop’ msge shouldn’t be sent after src_cap till DUT is not in explicit</td>
</tr>
<tr class="odd">
<td>[PE] PE_SNK state machine state change abnormally</td>
</tr>
<tr class="even">
<td>Add mechanisme to guarantee the goodcrc timing</td>
</tr>
<tr class="odd">
<td>Implement BIST Shared Capacity Test Mode message</td>
</tr>
<tr class="even">
<td>The RP resistor shall be reset to the default value during the HardReset AMS</td>
</tr>
<tr class="odd">
<td>[PE] Hard fault in the usbpd stack library if USBPD_PE_GetDataInfo not implemented in the application</td>
</tr>
<tr class="even">
<td>[PE] Role alignment during HardReset</td>
</tr>
<tr class="odd">
<td>[PE] TxOK/NG shouldn’t be checked in PD2</td>
</tr>
<tr class="even">
<td>[DOC] Update to add timeout information inside the MSC</td>
</tr>
<tr class="odd">
<td>conflict when PE perform HardReset and CAD a detach</td>
</tr>
<tr class="even">
<td>Rework InitCore function</td>
</tr>
<tr class="odd">
<td>MISRA corrections</td>
</tr>
<tr class="even">
<td>Codespell and MCUAStyle corrections</td>
</tr>
<tr class="odd">
<td>[DRD] update around the identical data role for SRC and SNK</td>
</tr>
<tr class="even">
<td>[SRC] add a notification USBPD_NOTIFY_STATE_SRC_READY</td>
</tr>
<tr class="odd">
<td>[PE] PE_powerrole after power swap</td>
</tr>
<tr class="even">
<td>[CORE] Update to be aligned with latest USB-PD spec (remove the 2nd UFP VDO)</td>
</tr>
<tr class="odd">
<td>[PE] Add defines for conditions on PE_Request_Control</td>
</tr>
<tr class="even">
<td>[PE] AMC and AMA deprecated in PD3.0. AMA only used in PD2.0.</td>
</tr>
<tr class="odd">
<td>[PE] Soft_reset should be sent prior to HardReset in case of non response of src_cap post PR_swap</td>
</tr>
<tr class="even">
<td>Tests TD4.3.x failed on Lecroy with NO_PD Sink version</td>
</tr>
<tr class="odd">
<td>Add a system of hook function to request an action of USB stack</td>
</tr>
<tr class="even">
<td>Avoid double definition with LE16 & LE32 macros used in usbh.def</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-9">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-9">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.27</li>
<li>STM32CubeIDE V1.4.0</li>
</ul>
<h2 id="supported-devices-and-boards-9">Supported Devices and boards</h2>
<h2 id="backward-compatibility-9">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies-9">Dependencies</h2>
<p>Dependencies with TRACER_EMB V1.4.0 or latest</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section26" aria-hidden="true"> <label for="collapse-section26" aria-hidden="true">V3.2.1 / 8-October-2020</label>
<div>
<h2 id="main-changes-10">Main Changes</h2>
<h3 id="patch-release">Patch release</h3>
<h2 id="contents-10">Contents</h2>
<table>
<caption>Fixed bugs list</caption>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Conflict when PE perform HardReset and CAD a detach</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-10">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-10">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.27</li>
<li>STM32CubeIDE V1.2.0</li>
</ul>
<h2 id="supported-devices-and-boards-10">Supported Devices and boards</h2>
<h2 id="backward-compatibility-10">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies-10">Dependencies</h2>
<p>Dependencies with TRACER_EMB V1.4.0</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section26" aria-hidden="true"> <label for="collapse-section26" aria-hidden="true">V3.2.0 / 08-July-2020</label>
<div>
<h2 id="main-changes-11">Main Changes</h2>
<h3 id="maintenance-release-9">Maintenance release</h3>
<h2 id="contents-11">Contents</h2>
<table>
<caption>Fixed bugs list</caption>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>SOPSupported not well reset after detach</td>
</tr>
<tr class="even">
<td>DR_swap management issue</td>
</tr>
<tr class="odd">
<td>LeCroy new merge test : fail on PRSWAP because tester expecting Hard Reset</td>
</tr>
<tr class="even">
<td>Keep USBPD_CAD_Process API for all the configuration</td>
</tr>
<tr class="odd">
<td>PE_datatrole is not aligned to PE_powerRole in DPM_UserCableDetection</td>
</tr>
<tr class="even">
<td>SOFT_RESET sent to SOP1 is not well manage</td>
</tr>
<tr class="odd">
<td>cable_reset management to be improved</td>
</tr>
<tr class="even">
<td>Correct misspelled words</td>
</tr>
<tr class="odd">
<td>Provide external API in CAD to allow application to know which RP present in Sink</td>
</tr>
<tr class="even">
<td>Should not answer GoodCRC to SOP1 soft reset</td>
</tr>
<tr class="odd">
<td>TxOK / TxNG should not be toggled while in PD2 second part to reset the PD capabilities in case of HARDRESET</td>
</tr>
<tr class="even">
<td>Expose RX buffer size to the devices module (to avoid buffer overflow)</td>
</tr>
<tr class="odd">
<td>Reduce size of USBPD_SettingsTypeDef in case of NO_PD configuration</td>
</tr>
<tr class="even">
<td>Remove notification USBPD_NOTIF_PROTOCOL_ERROR when stack has received a NAK message to VDM identity request</td>
</tr>
<tr class="odd">
<td>Move before resetting VCONN status to be able to correctly switch off VCONN during detach</td>
</tr>
<tr class="even">
<td>Add UFP and VPD VDOs for VDM discovery identity</td>
</tr>
<tr class="odd">
<td>Add ErrorRecovery API and remove CAD detection API</td>
</tr>
<tr class="even">
<td>Improve the AMS management to discard any PD send if a message is already present inside the fifo</td>
</tr>
<tr class="odd">
<td>Message discarded wrongly while in PD2</td>
</tr>
<tr class="even">
<td>TEST.PD.VDM.SRC.01 fail on LeCroy</td>
</tr>
<tr class="odd">
<td>Add new API USBPD_PHY_FastRoleSwapReception</td>
</tr>
<tr class="even">
<td>Set FRS as a PD3 feature</td>
</tr>
<tr class="odd">
<td>Integration of the FRS on SRC and SNK state machine</td>
</tr>
<tr class="even">
<td>Remove trace process</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-11">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-11">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.27</li>
<li>STM32CubeIDE V1.2.0</li>
</ul>
<h2 id="supported-devices-and-boards-11">Supported Devices and boards</h2>
<h2 id="backward-compatibility-11">Backward compatibility</h2>
<p>NA</p>
<h2 id="dependencies-11">Dependencies</h2>
<p>Dependencies with TRACER_EMB V1.4.0</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section25" aria-hidden="true"> <label for="collapse-section25" aria-hidden="true">V3.1.0 / 14-Apr-2020</label>
<div>
<h2 id="main-changes-12">Main Changes</h2>
<h3 id="maintenance-release-10">Maintenance release</h3>
<h2 id="contents-12">Contents</h2>
<table>
<caption>Fixed bugs list</caption>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>BIST no more enabled in TCPM</td>
</tr>
<tr class="even">
<td>Indicate when trace is lost</td>
</tr>
<tr class="odd">
<td>Bad answer to UVDM msge.</td>
</tr>
<tr class="even">
<td>Hard reset not detected by PE during power negotiation</td>
</tr>
<tr class="odd">
<td>Update to avoid issue to send a control message</td>
</tr>
<tr class="even">
<td>Add a check on Resistor in case of VBUS lost (manage HardReset Sequence)</td>
</tr>
<tr class="odd">
<td>Update to use a new ID for TCPM trace</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-12">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-12">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.27</li>
<li>STM32CubeIDE V1.2.0</li>
</ul>
<h2 id="supported-devices-and-boards-12">Supported Devices and boards</h2>
<h2 id="backward-compatibility-12">Backward compatibility</h2>
<p>For TCPM implementation, updates have been done on FUSB307 component (tag v3.0.0).</p>
<h2 id="dependencies-12">Dependencies</h2>
<p>Dependencies with TRACER_EMB V1.4.0</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section24" aria-hidden="true"> <label for="collapse-section24" aria-hidden="true">V3.0.0 / 26-Mar-2020</label>
<div>
<h2 id="main-changes-13">Main Changes</h2>
<h3 id="maintenance-release-11">Maintenance release</h3>
<h2 id="contents-13">Contents</h2>
<table>
<caption>Fixed bugs list</caption>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>[CORE] Explicit_Contract information not properly sent to UCPD Monitor on DETACH</td>
</tr>
<tr class="even">
<td>[CORE] Add inside PRL a mechanism to avoid RX buffer overwrite in case of multiple RX</td>
</tr>
<tr class="odd">
<td>[PE] Discard shall be done only if there is incoming message</td>
</tr>
<tr class="even">
<td>[TCPM] Update for TCPM compilation</td>
</tr>
<tr class="odd">
<td>[PRL] update for TCPC mode</td>
</tr>
<tr class="even">
<td>[PRL] Add an optional mechansime to manage the tx discard and tx abort by UCPD IP</td>
</tr>
<tr class="odd">
<td>[PE] Lecroy TEST.PD.VDM.SNK.7 Unrecognized VID in Unstructured VDM</td>
</tr>
<tr class="even">
<td>[PE] TD PD.SRC3.E27 and TD PD.SRC3.E28 - Testing Downstream Port</td>
</tr>
<tr class="odd">
<td>[PE] Reset the spec revision + data role in case of HardReset</td>
</tr>
<tr class="even">
<td>[PE] MQP regression on TD.PD.VNDI3.E10</td>
</tr>
<tr class="odd">
<td>[PE-PRL] Add critical section on the cluster management</td>
</tr>
<tr class="even">
<td>[PE] state machine SRC wrongly managed at reset</td>
</tr>
<tr class="odd">
<td>[PRL] Rework to avoid usage of reentrant state machine</td>
</tr>
<tr class="even">
<td>[PE] keep GPTimer only for TCPC compilation</td>
</tr>
<tr class="odd">
<td>[PE] rework of HardReset + ResetDuringSwap + PE Reset</td>
</tr>
<tr class="even">
<td>[PRL] Code optimizations</td>
</tr>
<tr class="odd">
<td>[PRL] remove the disable RX to avoid overwrite of rx buffer</td>
</tr>
<tr class="even">
<td>[CORE][TCPM] Reset Supported SOPs to SOP when disconnect</td>
</tr>
<tr class="odd">
<td>Merge of modifications done in usbpd_dpm_core.c files in CubeMx generated projects</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-13">Known limitations</h2>
<h2 id="development-toolchains-and-compilers-13">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3</li>
<li>Keil Microcontroller Development Kit (MDK-ARM) toolchain V5.27</li>
<li>STM32CubeIDE V1.2.0</li>
</ul>
<h2 id="supported-devices-and-boards-13">Supported Devices and boards</h2>
<h2 id="backward-compatibility-13">Backward compatibility</h2>
<p>In order to use this version of USBPD Core module, please ensure version of USBPD Device driver module mentions compatibility with this v3.0.0 USBPD Core. (Example for STM32G4xx => use g4_v4.0.0 or higher version of USBPD Device for STM32L5xx => use l5_v2.0.0 or higher version of USBPD Device …</p>
<h2 id="dependencies-13">Dependencies</h2>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section23" aria-hidden="true"> <label for="collapse-section23" aria-hidden="true">V2.10.0 / 19-Feb-2020</label>
<div>
<h2 id="main-changes-14">Main Changes</h2>
<h3 id="maintenance-release-12">Maintenance release</h3>
<h2 id="contents-14">Contents</h2>
<table>
<caption>Fixed bugs list</caption>
<thead>
<tr class="header">
<th>Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>correction to manage correstly the SNK wakeup</td>
</tr>
<tr class="even">
<td>[CORE] Add dedicated SNK state machine to handler VPD identification PRL update to manage SOP*</td>
</tr>
<tr class="odd">
<td>[CORE] Add PD message In in TCPM mode</td>
</tr>
<tr class="even">
<td>[CORE] Add switch USE_STM32_UTILITY_OS to integrate SEQUENCER utility</td>
</tr>
<tr class="odd">
<td>[CORE] Update done to integrate NO PD stack</td>
</tr>
<tr class="even">
<td>[CORE][PE] Do not send SOFT_RESET if NOT_SUPPORTED answered to GET_BATTERY messages</td>
</tr>
<tr class="odd">
<td>[CORE][PRL] Extended message GET_BATTERY_CAPA should not be seen as BIST message</td>
</tr>
<tr class="even">
<td>[CORE][TCPM] Manage TX complete alert before RX alert</td>
</tr>
<tr class="odd">
<td>[NRTOS] Integration of the utilities SEQ and TIMER_SERVER to handle the non RTOS mode</td>
</tr>
<tr class="even">
<td>[PE] Get Source and sink capability extended message should be sent in DRP</td>
</tr>
<tr class="odd">
<td>[PRL] patch TD.PD.VNDI.E4 SOP* Handling</td>
</tr>
<tr class="even">
<td>[TCPC] remove specific management of SOP1, SOP2 and let PE manage</td>
</tr>
<tr class="odd">