LoginSignup
0
0

More than 1 year has passed since last update.

STM32G031J6M6のArduinoでの新規Lチカコンパイル (STM32G031)

Last updated at Posted at 2021-01-31

STM32G031J6M6のArduinoでの新規Lチカコンパイル

なにがすごいか、秋月で約120円で売っている。

X何らかの方法でArduinoをインストールしておく。

1.stm32ライブラリーのインストール

追加ボードマネージャー
[ファイル]->[環境設定]

下記を,で追加

https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/master/STM32/package_stm_index.json

2.ボードの設定

3.サンプルの読み込み

4.コンパイル

5.おわり

わからない所は、STM32F303K8 Arduinoを参考にしてしらべてね!!
https://www.denshi.club/pc/nucleo/nucleoarduino1blink.html

いろいろ

STM32G031とVSCode+STM32CubeでI2Cスレーブの受信文字をシリアル出力(受信)(STM32G031J6M6)

STM32G031J6M6のArduinoでOLED,OLED096UNO-AでABC defgを表示
https://qiita.com/caa45040/items/0e68df93773637a5f4f7

STM32G031のArduinoでの液晶,AQM0802Aで表示(STM32G031J6M6)(i2c)
https://qiita.com/caa45040/items/1d28813aa0536084a790

STM32G031J6M6とOLED、OLED096UNO-AでHello Worldを表示 STM32G031
https://qiita.com/caa45040/items/86de6d537dcd02d75d2f

STM32G031のArduinoでのシリアル通信(STM32G031J6M6)
https://qiita.com/caa45040/items/8b77fe33e80a54b47c3d

STM32G031のArduinoでの時計,DS1307で時刻表示( AQM0802A i2c)(STM32G031J6M6)
https://qiita.com/caa45040/items/fee158b4d04a5139bae0

STM32G031J6M6に中華ST-LINKでプログラムを書き込む。
https://qiita.com/caa45040/items/5b24dcb4bf38fff97039

PA2ハードウェアシリアル
https://qiita.com/caa45040/items/28625fa763d22aa8edce

忙しい人よう
https://github.com/caa45040/blinky_G031_PA11

firmware.binを書き込むといいかも
なぜか新品のをarduinoで書き込むとうまくいかない
いったん、STM32 ST-LINK Utilityでプログラムを書き込んで
USBをいつたん、抜いて挿すとブリンクする。
その後は、arduinoでうまく書き込める

x シリアルは、デネーブルにね! その後にはまるよ!

stm32_oled_d_3.jpg

l_ax_1.jpg

l_ax_2.jpg

l_ax_3.jpg

l_ax_4.jpg

l_ax_5.jpg

G031_bl_1.jpg

l_ax_7.jpg

G031_bl_2.jpg

G031_bl_3.jpg

h_con5.jpg

タブも見てね

o_con79.jpg

参考

Arduinoのstm32のバージョンアップは、こちらを追加


https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json


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