0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

NUCLEO-F446RE Lチカ

Last updated at Posted at 2024-08-24

NUCLEO-F446RE

初期導入、Lチカまでの資料まとめ 随時更新。

IMG_4909.JPG

0.ボードへの電源供給 データシートUM1724

IMG_4906.JPG

JP5:
E5V:外部電源(7V~12V Max 800mA)
U5V:USB供給

STM32電源配線.jpg

STM32電源.jpg

1.LLコード自動生成画面設定

データシート:UM1725 Description of STM32F4 HAL and low-layer drivers
project設置画面で前もってHALまたはLLを、指定しておく。
LLコード設定画面.png

2.GPIO出力LLライブラリー

IMG_4913.JPG

<出力High>
__STATIC_INLINE void LL_GPIO_SetOutputPin (GPIO_TypeDef * GPIOx, uint32_t PinMask)

ex.PB5ピンの場合 LL_GPIO_SetOutputPin(GPIOB,LL_GPIO_PIN_5);
<出力Low>
__STATIC_INLINE void LL_GPIO_ResetOutputPin (GPIO_TypeDef * GPIOx, uint32_t PinMask)

ex.PB5ピンの場合 LL_GPIO_ResetOutputPin(GPIOA,LL_GPIO_PIN_5);

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?