Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new stm32 nucleo l552ze board #1256

Closed
wants to merge 10 commits into from
Closed

Conversation

FRASTM
Copy link
Contributor

@FRASTM FRASTM commented Dec 4, 2020

add the new NUCLEO-L552ZE-Q
STM32 Nucleo-144 development board with STM32L552ZE MCU, SMPS, supports Arduino, ST Zio and morpho connectivity 144 hardware supporting the stm32L5552ZE device.

Note that USER_BTN has external PullDown and pinMode(USER_BTN, INPUT); is preferred

See NUCLEO-L552ZE-Q
Requires the #1249

Signed-off-by: Francois Ramu [email protected]

@FRASTM FRASTM force-pushed the nucleo_l552ze branch 2 times, most recently from 0769af2 to 9514a7d Compare December 9, 2020 10:12
@FRASTM
Copy link
Contributor Author

FRASTM commented Dec 9, 2020

Fix I2C pins : SDA on PB9 and SCL on PB8
--> X_NUCLEO_IKS01A3_STTS751_TemperatureLimit.ino OK

@FRASTM
Copy link
Contributor Author

FRASTM commented Dec 9, 2020

tested: SPI_A loopback transfer OK (A_MISO connected to A_MOSI) with a sample test application
and tested SPI_B loopback transfer OK (B_MISO connected to B_MOSI, changing the default pins)

Included in STM32CubeL5 FW v1.3.1

Signed-off-by: Francois Ramu <[email protected]>
Included in STM32CubeL5 FW v1.3.1

Signed-off-by: Francois Ramu <[email protected]>
Signed-off-by: Francois Ramu <[email protected]>
@FRASTM
Copy link
Contributor Author

FRASTM commented Dec 15, 2020

rebase
Test EEPROM put/get : passed
Test HWTimer : passed
Test SerialLoop : passed (with USART3 on pin PD9, PD8)

@FRASTM
Copy link
Contributor Author

FRASTM commented Dec 15, 2020

add the support of USB FS : serial CDC and Mouse&HID : passed

nucleo144 board

Signed-off-by: Francois Ramu <[email protected]>
Similar to the stm32L4 serie

Signed-off-by: Francois Ramu <[email protected]>
This bit is mandatory to use PG[15:2]. Especiually for LPUART1 TxRx pins.
This bit of the PWR CR2 is used to validate the V DDIO2 supply for
electrical and logical isolation purpose.

Signed-off-by: Francois Ramu <[email protected]>
#define TIM6_IRQn TIM6_DAC_IRQn
#define TIM6_IRQHandler TIM6_DAC_IRQHandler
#define TIM6_IRQHandler TIM2_DAC_IRQHandler
Copy link
Member

Choose a reason for hiding this comment

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

Why change to TIM2_DAC_IRQHandler

Copy link
Member

Choose a reason for hiding this comment

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

Moreover TIM2_DAC_IRQHandler does not exist.

Error_Handler();
}
}

Copy link
Member

Choose a reason for hiding this comment

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

USB clock config is missing


#define PA0_ALT0 A14
#define PA1_ALT0 A15
#define PA1_ALT1 113
Copy link
Member

Choose a reason for hiding this comment

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

should be 118, pin numbering is wrong.

#define PC11_ALT0 152
#define PF9_ALT0 153

#define NUM_DIGITAL_PINS 154
Copy link
Member

Choose a reason for hiding this comment

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

Wrong value

// Extra HAL modules
#define HAL_DAC_MODULE_ENABLED
#define HAL_SD_MODULE_ENABLED

Copy link
Member

Choose a reason for hiding this comment

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

OSPI missing

Comment on lines +47 to +48
#define PA4 24 // SPI_B_NSS
#define PB4 25 // SPI_B_MISO
Copy link
Member

Choose a reason for hiding this comment

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

Multiple definition, several warning about that during the compile
// 24 is PA4 (20)
// 25 is PB4 (21)

Other pins are also duplcated

Nucleo_144.menu.pnum.NUCLEO_L552ZE_Q.build.series=STM32L5xx
Nucleo_144.menu.pnum.NUCLEO_L552ZE_Q.build.product_line=STM32L552xx
Nucleo_144.menu.pnum.NUCLEO_L552ZE_Q.build.variant=NUCLEO_L552ZE_Q
Nucleo_144.menu.pnum.NUCLEO_L552ZE_Q.build.cmsis_lib_gcc=arm_cortexM33lf_math
Copy link
Member

Choose a reason for hiding this comment

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

Where are this library ?

fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Feb 1, 2021
@fpistm fpistm added this to In progress in STM32 core based on ST HAL via automation Feb 1, 2021
STM32 core based on ST HAL automation moved this from In progress to Done Feb 1, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Feb 1, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Feb 1, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Feb 5, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Feb 10, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Feb 12, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Feb 17, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 14, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 15, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 16, 2021
valeros pushed a commit to valeros/Arduino_Core_STM32 that referenced this pull request Mar 16, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 22, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 23, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 24, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 24, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 28, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 29, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 30, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 30, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 30, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 2, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 8, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 9, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 9, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 9, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 12, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 14, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 15, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants