Skip to content

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Jul 23, 2021

This PR introduces the STM32U5xx support in the core.

Added from STM32CubeU5 FW v1.0.0:

  • STM32U5xx HAL Drivers to v1.0.0
  • STM32U5xx CMSIS Drivers to v1.0.0
  • STM32U5xx system source files
  • STM32U5xx to all wrapped files

Boards support added:

Tested:

B-U585I-IOT02A NUCLEO-U575ZI-Q comments
GPIO ✔️ ✔️
U(S)ART ✔️ ✔️
ADC including internal ✔️ ✔️
DAC ✔️ ✔️
I2C ✔️ ✔️
SPI ✔️ ✔️
Timer ✔️ ✔️
EXTI ✔️ ✔️
RTC ✔️ ✔️
EEPROM ✔️ ✔️
Low Power ✔️ ✔️
HTS221 ✔️ NA stm32duino/HTS221
LPS22HH ✔️ NA stm32duino/LPS22HH
IIS2MDC ✔️ NA stm32duino/IIS2MDC
ISM330DHCX ✔️ NA stm32duino/ISM330DHCX
VL53L5CXV0GC ND NA No library available
VEML6030 ✔️ NA sparkfun/SparkFun_Ambient_Light_Sensor_Arduino_Library
STSAFE-A110 ND NA No library available
M24256‑DFMC6TG ✔️ NA CombiesGit/I2C_EEPROM

Not supported yet

  • USB requires to manage USBPD. Will come late in an other PR.
  • BLE of the B-U585I-IOT02A: STM32WB5MMG
  • WiFi of the B-U585I-IOT02A: MXCHIP EMW3080

Requirement:

@fpistm fpistm added new variant Add support of new bard New feature labels Jul 23, 2021
@fpistm fpistm requested a review from ABOSTM July 23, 2021 15:37
@fpistm fpistm self-assigned this Jul 23, 2021
Copy link
Contributor

@ABOSTM ABOSTM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fpistm fpistm force-pushed the STM32U5 branch 3 times, most recently from 084ee14 to 652cff5 Compare August 17, 2021 13:42
@fpistm fpistm added enhancement New feature or request fix 🩹 Bug fix labels Aug 17, 2021
@fpistm fpistm added this to the 2.1.0 milestone Aug 17, 2021
@fpistm fpistm force-pushed the STM32U5 branch 3 times, most recently from 3854e0f to a81510a Compare August 27, 2021 16:38
@fpistm fpistm force-pushed the STM32U5 branch 2 times, most recently from b943422 to 75748f6 Compare September 15, 2021 10:11
@fpistm fpistm marked this pull request as ready for review September 15, 2021 12:57
Included in STM32CubeU5 FW v1.0.0

Signed-off-by: Frederic Pillon <[email protected]>
Included in STM32CubeU5 FW v1.0.0

Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
Remove duplicate clock definition.
Allow VECT_TAB_OFFSET redefinition.

Signed-off-by: Frederic Pillon <[email protected]>
SMT32U5xx have multiple SYS_WKUPx pins

Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
This bit of the PWR CR is used to validate the VDDIO2
supply for electrical and logical isolation purpose.

Signed-off-by: Frederic Pillon <[email protected]>
Some serie still require to use their name due to wrong
LL API prototype using RTC parameter instead of TAMP.

Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
use register definition instead of serie name

Signed-off-by: Frederic Pillon <[email protected]>

# Conflicts:
#	libraries/SPI/src/utility/spi_com.c
use register definition instead of serie name

Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
Sorted by alphabetical order and rename the Disco G4
with correct name.

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm merged commit cbfd59e into stm32duino:master Sep 24, 2021
@fpistm fpistm deleted the STM32U5 branch September 24, 2021 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix 🩹 Bug fix new variant Add support of new bard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants