M2KCLI(1)
π NAME π
m2kcli β bestie's very own command-line interface to the ADALM2000 β¨
m2kcli is literally the easiest way to talk to other devices using digital protocols, like:
- SPI
- I2C
- UART
- UART Terminal
π DESCRIPTION π
okay so here's the vibe β the usage goes a lil something like this:
Usage: m2kcli [-h | --help] [-v | --version]
<command> [<args>]
What does it do? It controls the ADALM2000. That's it, that's the whole job. π
β¨ Optional arguments β¨
-h,--helpβ show this help message and exit, no cap-v,--versionβ show thelibm2kversion and exit π-s,--scanβ retrieve all available USB URIs-i,--identify <uri>β identify the m2k based on its uri, iconic behaviour fr
π Commands π
These commands represent the components of the ADALM2000, and yes, they're all serving π
analog-inβ control the analogical input componentanalog-outβ control the analogical output componentdigitalβ control the digital componentpower-supplyβ control the power supplyspiβ control the functionality ofspii2cβ control the functionality ofi2cuartβ control the functionality ofuartuart-terminalβ control the functionality ofuartstreaming
πΈ SEE ALSO πΈ
The full documentation for m2kcli is maintained via Sphinx and Doxygen. If the libm2k-doc package is properly installed at your site, this URL:
file:///usr/share/doc/libm2k-dev/html/index.html
should give you access to the complete manual. Go get it bestie π«Ά
There's also online documentation via a wiki at this URL:
https://wiki.analog.com/university/tools/m2k/libm2k/m2kcli
and that's the whole page, mwah π β m2kcli v0.4.0, June 2021, stay slaying π¦
π¦ where this page comes from
- debian trixie: m2kcli 0.9.0-3+b1 Β· LGPL-2.1-or-later
- ubuntu questing: m2kcli 0.9.0-3build1
- ubuntu resolute: m2kcli 0.9.0-4build1 Β· LGPL-2.1-or-later
- ubuntu stonking: m2kcli 0.9.0-4build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms