FAQ

1. VREFP on AM335x
Q: We are shorted 27 contact X5 connector on the GND (VREFP to GND), because Analog input is not needed.
A: Pin 27 of the connector X5 in addition to the connection to the AM335x VREF has resistor 0 Ohm (R41) to AM_ADC_VCCA (1.8V). Therefore it proposed to leave this input without connecting.
2. Modules with Ethernet PHY inserted into the board are heated
Q: We bought sealed module with Ethernet PHY and inserted it into the board - as a consequence -module does not work and is heated.
A: Starting from revision 4 there is an opportunity to book MTAX-SoM-AM335x modules with Ethernet PHY 100Mbit. However, the outputs №74, 75, 76, 77, 79 of connector X4 have been GND before, and in this revision - PHY output with installed50 ohmsresistors, are connected to the 3.3v line. If you have designed a board with its own PHY - you just order the module without a specific PHY.
Or if you have already booked and PHY module to be inserted into the PCB - simply remove the following components:
Chip DD6 (Ethernet PHY)
Nine resistors: R140, R141, R142, R143, R130, R131, R132, R133, R134.
 

3. HE910 modem doesn’t work on debug board MTAX-MB-AM335x-v1
Q: Groundlessappeared a problem with the performance at the HE910 MTAX-MB-AM335x v.1 to Linux: the modem is not visible to the OS, the device / dev / ttyACMx not appear.
Loading module modprobe cdc-acm. dmesg:
[440.209472] usbcore: registered new interface driver cdc_acm
[440.215484] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
The module is loaded, but the modem does not see, there is no device / dev / ttyACMx.
A: The fact is that the following steps need to be done to start modem work:
Out soldered resistors:
R100 - to turn on the power to the sim card,
R110, R111, R112, R113 - pull-up resistors to shutdown and ON_OFF.
After loading the boardshort circuit contacts for 6 seconds on the R113 to feed the momentum with zero active level to turn on the modem.
On Linux, you should see listed modem initialization lines.
On MTAX-MB-AM335x-v2 - GPIO (AM_HE910_ONOFF) is used to activate the modem.
4. Create ubifsimage from targetNFSdirectory
Q: We collected files to the root file system directory targetNFS. Recorded them on the SD card, it works. How now to create image of ubi-fs?
A: If you apply the patch for MTAX module (such as https://drive.google.com/open?id=0B1nl8q4_-tA-OUlBVVFFdWZPNUk), then in the Makefile there is the goal UBI to build the image of the root file system:

 

	ubi:
        @echo ==================================================
        @echo      Creating ubi.img root filesystem for NAND
        @echo ==================================================
        mkfs.ubifs -r ${DESTDIR} -F -o ubifs.img -m 2048 -e 126976 -c 2400
        ubinize -o ubi.img -p 128KiB -m 2048 ubinize.cfg

it is possible to collect ubi.img by running the command:
make ubi
However, it should be noted that filesfrom targetNFS may not fit into the image created with the following parameters. Therefore it is possible before UBIimage creation to run the script rm_files.sh, removing some unnecessary files:

	rm -R targetNFS/opt/*
rm targetNFS/boot/MLO-*
rm targetNFS/boot/u-boot-*
rm targetNFS/boot/uImage-3.2.0
rm targetNFS/boot/vmlinux-3.2.0
rm targetNFS/usr/share/ti/video/*
rm -R targetNFS/usr/share/doc/*
rm targetNFS/usr/share/wl1271-demos/bluetooth/gallery/*
rm -R targetNFS/usr/bin/qtopia/*

5. How to configure 2 Ethernet on module MTAX-SOM-AM335x
Q: 2 Ethernet ports are used on our motherboard: RGMII 1Gb and MII 100Mb. as well as how to properly activate the ethernet ports. processor TI AM335X is provided to use of 2 ethernet controllers via switch.
A: Reconfigure the Linux kernel (correct Pin Mux for your periphery) can be done in the file linux-3.2.0-psp04.06.00.11 / arch / arm / mach-omap2 / board-mtax-am335x.c. An example of how to use 2eth  can be found on board-am335xevm.c. For example:

 

	static struct pinmux_config mii1_pin_mux[] = {     // Для нашего PHY
      {"mii1_rxerr.mii1_rxerr", OMAP_MUX_MODE0 | AM33XX_PIN_INPUT_PULLDOWN},
      {"mii1_txen.mii1_txen", OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT},
      {"mii1_rxdv.mii1_rxdv", OMAP_MUX_MODE0 | AM33XX_PIN_INPUT_PULLDOWN},
      {"mii1_txd3.mii1_txd3", OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT},
      {"mii1_txd2.mii1_txd2", OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT},
      {"mii1_txd1.mii1_txd1", OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT},
      {"mii1_txd0.mii1_txd0", OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT},
      {"mii1_txclk.mii1_txclk", OMAP_MUX_MODE0 | AM33XX_PIN_INPUT_PULLDOWN},
      {"mii1_rxclk.mii1_rxclk", OMAP_MUX_MODE0 | AM33XX_PIN_INPUT_PULLDOWN},
      {"mii1_rxd3.mii1_rxd3", OMAP_MUX_MODE0 | AM33XX_PIN_INPUT_PULLDOWN},
      {"mii1_rxd2.mii1_rxd2", OMAP_MUX_MODE0 | AM33XX_PIN_INPUT_PULLDOWN},
      {"mii1_rxd1.mii1_rxd1", OMAP_MUX_MODE0 | AM33XX_PIN_INPUT_PULLDOWN},
      {"mii1_rxd0.mii1_rxd0", OMAP_MUX_MODE0 | AM33XX_PIN_INPUT_PULLDOWN},
      {"mdio_data.mdio_data", OMAP_MUX_MODE0 | AM33XX_PIN_INPUT_PULLUP},
      {"mdio_clk.mdio_clk", OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT_PULLUP},
      {NULL, 0},
};
/* Module pin mux for rgmii2 */
static struct pinmux_config rgmii2_pin_mux[] = {     // для вашего PHY
        {"gpmc_a0.rgmii2_tctl", OMAP_MUX_MODE2 | AM33XX_PIN_OUTPUT},
        {"gpmc_a1.rgmii2_rctl", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLDOWN},
        {"gpmc_a2.rgmii2_td3", OMAP_MUX_MODE2 | AM33XX_PIN_OUTPUT},
        {"gpmc_a3.rgmii2_td2", OMAP_MUX_MODE2 | AM33XX_PIN_OUTPUT},
        {"gpmc_a4.rgmii2_td1", OMAP_MUX_MODE2 | AM33XX_PIN_OUTPUT},
        {"gpmc_a5.rgmii2_td0", OMAP_MUX_MODE2 | AM33XX_PIN_OUTPUT},
        {"gpmc_a6.rgmii2_tclk", OMAP_MUX_MODE2 | AM33XX_PIN_OUTPUT},
        {"gpmc_a7.rgmii2_rclk", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLDOWN},
        {"gpmc_a8.rgmii2_rd3", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLDOWN},
        {"gpmc_a9.rgmii2_rd2", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLDOWN},
        {"gpmc_a10.rgmii2_rd1", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLDOWN},
        {"gpmc_a11.rgmii2_rd0", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLDOWN},
        {"mdio_data.mdio_data", OMAP_MUX_MODE0 | AM33XX_PIN_INPUT_PULLUP},
        {"mdio_clk.mdio_clk", OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT_PULLUP},
        {NULL, 0},
};

static void rgmii2_init(int evm_id, int profile)
{
        setup_pin_mux(rgmii2_pin_mux);
        return;
}
static struct evm_dev_cfg mtax_mb_dev_cfg[] = {
       ....
 {mii1_init,   DEV_ON_BASEBOARD, PROFILE_ALL},
 {rgmii2_init,   DEV_ON_BASEBOARD, PROFILE_ALL},//Добавьте для поддержки вашего PHY
       ....
        {NULL, 0, 0},
};

Check the terminals and the above Pin Mix values

Copyright © 2011–2018 AXONIM Devices
Order products

Fill in the form to order


Your name:
Phone:
E-mail:
Message: