Besides the various Personality Cards, Moto has also produced several examples to help get you started.
The raw_stub example provides a starting point for firmware and applications using the Raw interface. All threads and pipes are configured, reducing development effort to filling out stubs for sending and receiving your data. This is used in conjunction with the MDK RawStub application, and makes it easy to transition into your solution.
APK: MDKRawStub, in the mdk_examples repository
This firmware only example enables MyDP (Display-Ext) and USB3.0 (USB-Ext) when using the MDK. With a MyDP dongle (to DP or HDMI) attached to the MDK's USB #3 port, and a USB3.0 device attached to USB #2, you have the beginnings of a dock. Use the MDKDisplay application to turn on/off display output.
APK: MDKDisplay, in the mdk_display repository
This firmware only example shows the basic structure for implementing a HID device.
This firmware only example configures USB2.0 through the dedicated path (not through the Moto HS Bridge). Since the MDK does not detect hot plug for USB2.0, the driver simply sets this to "On." When used in conjunction with an OTG cable, external USB devices can be plugged into the ports on the MDK. Or, USB devices can be wired directly in with a Perforated Board or HAT adapter.
This firmware and application combination is designed for quick and easy prototyping of a UART device. The firmware reads and writes from UART2 in the Moto Mod, and uses the Raw protocol to pass this to the application. ASCII or Binary data can be passed between the two and displayed in the app. Additionally, this application can control input/output for various available GPIOs on the MDK using the same Raw channel.
APK: MDKTerminal, in the mdk_examples repository
This firmware and application combination uses the FLiR Dev Kit with the HAT Adapter board. This FLiR pins should be connected to the HAT 40-pin header as follows:
VIN: 2 (3.3V)
The SDA and SDL pins can be left unconnected.
APK: FlirApp, in the mdk_examples repository