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 the libm2k version 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 component
  • analog-out β€” control the analogical output component
  • digital β€” control the digital component
  • power-supply β€” control the power supply
  • spi β€” control the functionality of spi
  • i2c β€” control the functionality of i2c
  • uart β€” control the functionality of uart
  • uart-terminal β€” control the functionality of uart streaming

🌸 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