~~NOCACHE~~ ~~NOTOC~~ Embedded module en tqma8mxml TQMa8MxML arm linux yocto YOCTO Linux ===== Starterkit Interfaces and Functions ===== The microphone input is not supported in the current BSP version. X12 X14 X13 MBa8Mx {{ :en:arm:tqma8mx:linux:yocto:how_to:mba8mx_audio.png?nolink&400 |}} There are three GPIO buttons on the MBa8Mx. They are bound to the gpio-keys driver, and can be tested with the evtest tool. | S1 | Button 0 | | S2 | Button 1 | | S3 | Button 2 | {{ :en:arm:tqma8mxnl:linux:yocto:tqma8mxnl_gpio-button.png?nolink&400 |}} /dev/input/event0 evtest /dev/input/event0 The STKa8MxML Starterkit provides one Gigabit Ethernet interfaces. The IP configuration can be done statically or by a DHCP server in the network. The Ethernet interface is activated and configured by systemd-network. The configuration file for the interface is located in /lib/systemd/network/ these configuration file can be altered to customize the default interface configuration. | eth0 | 10-eth0.network | tqma8mxml arm 0 0 STKa8MxML The DIP Switch S9-4 must be OFF. ^ Interface ^ Device tree ^ | LCDIF | imx8mm-mba8mx-lcdif-lvds-tm070jvhg33.dtb | imx8mq-mba8mx-lcdif-lvds-tm070jvhg33.dtb'' arm EMB_QSG_CAM_KIT_STKa8Mx_Rev 001 imx8mm-mba8mx-lcdif-lvds-tm070jvhg33-imx327-tqma8mxml-2gb-mba8mx.dtb setenv imx8mm-mba8mx-lcdif-lvds-tm070jvhg33-ov9281-tqma8mxml-2gb-mba8mx.dtb MBa8Mx two | SPI1| /dev/spidev0.0 | | SPI2| /dev/spidev1.0 | * SPI1: bridge between X20_5 (SPI1_MISO) and X20_6 (SPI1_MOSI) * SPI2: bridge between X35_33 (SP2_MOSI) and X35_35 (SPI2_MISO) STKa8MxML The STKa8MxML has two temperature sensors, one is located on the TQMa8MxML SOM and the other is located on the MBa8Mx baseboard. ^ Device ^ I²C Address ^ | TQMa8MxML | 0x1B | | MBa8Mx | 0x1F | **Read TQMa8MxML Temperature Sensor** cat /sys/devices/platform/soc@0/30800000.bus/30a20000.i2c/i2c-0/0-001b/hwmon/hwmon0/temp1_input **Read MBa8Mx Temperature Sensor** cat /sys/devices/platform/soc@0/30800000.bus/30a30000.i2c/i2c-1/1-001f/hwmon/hwmon1/temp1_input **Read CPU internal Temperature Sensor**\\\ The i.MX8MxML CPU has an internal TMU that supports one thermal zone, it can be read by the command below: **Thermal zone0** cat /sys/devices/virtual/thermal/thermal_zone0/temp The temperature is shown in millidegrees Celsius. The MBa8Mx has two user controllable LEDs, the behavior of these LEDs can be selected by several triggers. | V38 | led1 | green | /sys/class/leds/led1 | | V37 | led2 | green | /sys/class/leds/led2 | {{ :intern:arm:tqma8mx:linux:yocto:mba8mx_user_led.png?nolink&400 }} /sys/devices/platform/gpio-leds/leds/ led1 /sys/class/leds/led1/trigger
cat /sys/devices/platform/soc@0/30800000.bus/30a20000.i2c/i2c-0/0-001b/hwmon/hwmon0/temp1_input
cat /sys/devices/platform/soc@0/30800000.bus/30a30000.i2c/i2c-1/1-001f/hwmon/hwmon1/temp1_input
cat /sys/devices/virtual/thermal/thermal_zone0/temp