From 2bb74d28554fb6b47884ab599735407b9f848926 Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Sat, 14 Jun 2025 15:49:22 +0200 Subject: [PATCH 1/3] boards/nucleo-l412kb: rename doc.txt -> doc.md --- boards/nucleo-l412kb/{doc.txt => doc.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename boards/nucleo-l412kb/{doc.txt => doc.md} (100%) diff --git a/boards/nucleo-l412kb/doc.txt b/boards/nucleo-l412kb/doc.md similarity index 100% rename from boards/nucleo-l412kb/doc.txt rename to boards/nucleo-l412kb/doc.md From ed48aa90735db6020dfbbc18ff15b14df2dbffae Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Sat, 14 Jun 2025 15:57:44 +0200 Subject: [PATCH 2/3] boards/nucleo-l412kb: add pinout to board doc page --- boards/nucleo-l412kb/doc.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boards/nucleo-l412kb/doc.md b/boards/nucleo-l412kb/doc.md index cd379d8578..df2cae801b 100644 --- a/boards/nucleo-l412kb/doc.md +++ b/boards/nucleo-l412kb/doc.md @@ -8,6 +8,10 @@ The Nucleo-L412KB is a board from ST's Nucleo family supporting ARM-Cortex-M4 STM32L412KB microcontroller with 40KiB of RAM and 128KiB of Flash. +## Pinout + +@image html pinouts/nucleo-l432kc-and-more.svg "Pinout for the Nucleo-L412KB (from STM user manual, UM1956, https://www.st.com/resource/en/user_manual/um1956-stm32-nucleo32-boards-mb1180-stmicroelectronics.pdf, page 32)" width=25% + ## Flashing the Board Using ST-LINK Removable Media On-board ST-LINK programmer provides via composite USB device removable media. From 236c1296f5fc3986f9793a2e2c2599dae6e69fed Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Wed, 18 Jun 2025 10:18:45 +0200 Subject: [PATCH 3/3] boards/nucleo-l412kb: add MCU table to doc page --- boards/nucleo-l412kb/doc.md | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/boards/nucleo-l412kb/doc.md b/boards/nucleo-l412kb/doc.md index df2cae801b..70f58fb4ce 100644 --- a/boards/nucleo-l412kb/doc.md +++ b/boards/nucleo-l412kb/doc.md @@ -1,4 +1,3 @@ -/** @defgroup boards_nucleo-l412kb STM32 Nucleo-L412KB @ingroup boards_common_nucleo32 @brief Support for the STM32 Nucleo-L412KB @@ -12,6 +11,29 @@ STM32L412KB microcontroller with 40KiB of RAM and 128KiB of Flash. @image html pinouts/nucleo-l432kc-and-more.svg "Pinout for the Nucleo-L412KB (from STM user manual, UM1956, https://www.st.com/resource/en/user_manual/um1956-stm32-nucleo32-boards-mb1180-stmicroelectronics.pdf, page 32)" width=25% +### MCU + +| MCU | STM32L412KB | +|:---------- |:------------------- | +| Family | ARM Cortex-M4F | +| Vendor | ST Microelectronics | +| RAM | 40KiB | +| Flash | 128KiB | +| Frequency | up to 80MHz | +| FPU | yes | +| Timers | 10 (6x 16-bit, 1x 32, 1x Systick, 2x Watchdog) | +| ADC | 2x 12-bit (10 channels) | +| UARTs | 4 (two USARTs and one Low-Power UART) | +| SPIs | 1 | +| CANs | 0 | +| RTC | 1 | +| I2Cs | 2 | +| Vcc | 1.7V - 3.6V | +| Datasheet | [Datasheet](https://www.st.com/resource/en/datasheet/stm32l412c8.pdf) | +| Reference Manual | [Reference Manual](https://www.st.com/resource/en/reference_manual/rm0394-stm32l41xxx42xxx43xxx44xxx45xxx46xxx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf)| +| Programming Manual | [Programming Manual](http://www.st.com/content/ccc/resource/technical/document/programming_manual/6c/3a/cb/e7/e4/ea/44/9b/DM00046982.pdf/files/DM00046982.pdf/jcr:content/translations/en.DM00046982.pdf) | +| Board Manual | [Board Manual](https://www.st.com/resource/en/user_manual/um1956-stm32-nucleo32-boards-mb1180-stmicroelectronics.pdf) | + ## Flashing the Board Using ST-LINK Removable Media On-board ST-LINK programmer provides via composite USB device removable media. @@ -24,5 +46,3 @@ make BOARD=nucleo-l412kb PROGRAMMER=cpy2remed flash ``` @note This PROGRAMMER was tested using ST-LINK firmware 2.37.26. Firmware updates can be found on [this STM webpage](https://www.st.com/en/development-tools/stsw-link007.html). - - */