Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Homepage
Another short time hack of mine. To check Mr. J's problem, I needed a way to control SPI in a short time. This is an aid for testing SPI module with an Oscilloscope.
You can specify, frequency, bits, mode and number of loops to let the spi write or read.
For FRDM-KL25Z MOSI: PTD2 MISO: PTD3 SCLK:PTD1
Please set "local echo on" in your terminal program.
某JさんのSPIトラブルの様子を確認するのに、作った簡単なSPIテストプログラムです。 オシロスコープでSPIの挙動を見るためのユティリティです。
FRDM-KL25Zの場合、MOSI(PTD2), MISO(PTD3), SCLK(PTD1) で使っています。
ターミナルプログラムのローカルエコーを有効にしてご使用ください。
SPIモジュールの設定(周波数、ビット、モード、そして読み書きのループ回数を設定できます。)