<<

RT5350F-OLinuXino RT5350F-OLinuXino-EVB

System-on-Module system capable of running OpenWrt

USER’S MANUAL

Document revision A, June 2017 Designed by OLIMEX Ltd, 2015

All boards produced by Olimex LTD are ROHS compliant OLIMEX© 2017 RT5350F-OLinuXino user's manual

DISCLAIMER

© 2017 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other product names may be trademarks of others and the rights belong to their respective owners.

The information in this document is provided in connection with Olimex products. No license, express or implied or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Olimex products.

The hardware designs of both RT5350F-OLinuXino and RT5350F-OLinuXino-EVB development boards are considered OSHW (Open Source HardWare). The design source files are published online in popular format and freely accessible.

The parts of the software written by Olimex are released under GPL. The official images provided by Olimex may contain propriety code that belongs to other parties. Such propriety code may be initially included in order to demonstrate the full functionality of the hardware, until open source alternatives become available.

It is possible that the pictures in this manual differ from the latest hardware revision of the board.

The product described in this document is subject to continuous development and improvements. All particulars of the product and its use contained in this document are given by OLIMEX in good faith. However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded. This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product.

This evaluation board/kit is intended for use for engineering development, demonstration, or evaluation purposes only and is not considered by OLIMEX to be a finished end-product fit for general consumer use. Persons handling the product must have electronics training and observe good engineering practice standards. As such, the goods being provided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing-related protective considerations, including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards.

Olimex currently deals with a variety of customers for products, and therefore our arrangement with the user is not exclusive. Olimex assumes no liability for applications assistance, customer product design, software performance, or infringement of patents or services described herein.

THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS USED TO CREATE RT5350F-OLINUXINO AND RT5350F-OLINUXINO-EVB. THEY ARE CONSIDERED SUITABLE ONLY FOR RT5350F-OLINUXINO AND RT5350F- OLINUXINO-EVB, RESPECTIVELY.

Page 2 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

Table of Contents DISCLAIMER ...... 2 CHAPTER 1: OVERVIEW ...... 5 1. Introduction to the chapter ...... 5 1.1 Introduction to system-on-a-module design ...... 5 1.2 Target market of the board ...... 6 1.3 Features of R5350F-OLinuXino ...... 7 1.4 Features of R5350F-OLinuXino-EVB ...... 7 1.5 Board revisions used in the manual ...... 7 1.6 Document organization ...... 8 CHAPTER 2: BOARD DESCRIPTION ...... 9 2. Introduction to the chapter ...... 9 2.1 Layouts ...... 9 2.1.1 RT5350F-OLinuXino top view ...... 9 2.1.2 RT5350F-OLinuXino-EVB top view ...... 10 2.2 Pinout RT5350F-OLinuXino (top view) ...... 11 2.3 Pinout RT5350F-OLinuXino-EVB (top view) ...... 12 CHAPTER 3: SETTING UP THE RT5350F BOARD ...... 13 3. Introduction to the chapter ...... 13 3.1 Electrostatic and electrical polarity warnings ...... 13 3.2 Requirements ...... 13 3.3 Preparing the OS to boot ...... 14 3.3.1 Repairing the default image ...... 14 3.4 Powering the board ...... 15 3.4.1 Mounted powering ...... 15 3.4.2 Stand-alone powering of RT5350F-OLinuXino ...... 15 3.5 Button functions ...... 16 3.6 Interacting with the board ...... 16 3.6.1 Basic setup of RT5350F-OLinuXino ...... 16 3.7 Software support ...... 18 CHAPTER 4: THE RT5350F PROCESSOR ...... 19 4. Introduction to the chapter ...... 19 4.1 The processor ...... 19 CHAPTER 5: CONTROL CIRCUITY ...... 21 5. Introduction to the chapter ...... 21 5.1 Reset ...... 21 5.2 Clocks ...... 21 5.3 Power supply circuit ...... 21 CHAPTER 6: CONNECTORS AND PINOUT ...... 22 6. Introduction to the chapter ...... 22

Page 3 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

6.1 Accessing RT5350F-OLinuXino and RT5350F-OLinuXino-EVB ...... 22 6.2 UART0 header of RT5350F-OLinuXino-EVB ...... 23 6.3 Connectors of RT5350F-OLinuXino ...... 24 6.3.1 EXT1 connector ...... 25 6.3.2 EXT2 connector ...... 25 6.3.3 EXT3 connector ...... 26 6.4 Connectors of RT5350F-OLinuXino-EVB ...... 27 6.4.1 EXT4 connector ...... 27 6.4.2 UEXT connector ...... 28 6.4.3 Relays of RT5350F-OLinuXino-EVB ...... 28 6.4.4 connectors of RT5350F-OLinuXino-EVB ...... 28 6.4.5 USB_HOST connector on RT5350F-OLinuXino-EVB ...... 28 6.5 Additional hardware components ...... 29 CHAPTER 7: SCHEMATICS ...... 30 7. Introduction to the chapter ...... 30 7.1 Eagle schematic ...... 30 CHAPTER 8: REVISION HISTORY AND SUPPORT ...... 33 8. Introduction to the chapter ...... 33 8.1 Document revision ...... 33 8.2 Board revisions ...... 33 8.2.1 RT5350F-OLinuXino hardware revisions ...... 33 8.2.2 RT5350F-OLinuXino-EVB hardware revisions ...... 33 8.3 Useful web links ...... 34 8.4 How to purchase? ...... 35 8.5 Order codes ...... 35 8.6 Frequently asked questions ...... 36 8.7 Quality control ...... 37 8.8 Product support ...... 38

Page 4 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

CHAPTER 1: OVERVIEW

1. Introduction to the chapter

Thank you for choosing this single-board computer from Olimex! This document provides a user’s guide for the RT5350F-OLinuXino and RT5350F-OLinuXino-EVB boards. As an overview, this chapter gives the scope of this document and lists the board’s features. The document’s organization is then detailed.

The RT5350F-OLinuXino development board enables code development of applications running on the RT5350F SoC microcontroller, manufactured by Ralink (a MediaTek's subsidiary company) from Taiwan.

The RT5350F-OLinuXino is typically used together with RT5350F-OLinuXino-EVB which features most of the peripherals and connectors needed for evaluation and utilization of the RT5350 SoC.

The hardware designs of RT5350F-OLinuXino and RT5350F-OLinuXino-EVB board are open- source, open-hardware and all documentation used for the hardware design and manufacturing is available to the customer.

The software written by Olimex for both boards is also open-source and released under GPL license.

1.1 Introduction to system-on-a-module design

The design of both RT5350F-OLinuXino and RT5350F-OLinuXino-EVB follows the system-on-a- module approach. A low-cost modular design which allows rapid product development and integration in own products. It is a two part system – a main part (smaller, multilayer, very densely populated) that nests the processor, the memory, the power control unit and a peripheral part (bigger and less densely populated) which contains the USB ports, the Ethernet connectors, most of the other connectors and interfaces. SOM designs are targeted at customers who want to apply custom modifications for own projects without having to deal with multilayer PCBs with controlled impedance and BGA assembly. This modular approach makes it possible to create simple 2-layer boards (that can be manufactured by your local PCB manufacturer) containing only the peripherals you need with the dimensions and shape suitable for your specific case.

Both the main part and the peripheral part of the SOM system have support in the official OpenWRT images distributed by Olimex and maintained by Olimex. These recommended images are typically available at the wiki articles of the board. Furthermore, the OpenWRT community recognizes the board and also provides official builds.

The hardware designs of both RT5350F-OLinuXino and RT5350F-OLinuXino-F are open source, unlike other Olimex SOM designs (where the design layout of the densely populated part is propriety).

Page 5 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

1.2 Target market of the board

The RT5350F-OLinuXino board is meant for people interested in single-board Linux computers with extended networking capabilities. The board is easily setup as web server. Basic electronics understanding and experience are recommended. Previous Linux experience and knowledge of OpenWRT are highly recommended.

Using the RT5350F-OLinuXino as a stand-alone development board would be more suitable for users with hardware experience or people already familiar with other single-board Linux boards and designs. As mentioned in the previous chapter the stand-alone board can be implemented in own hardware designs.

It is highly recommended to use RT5350F-OLinuXino with RT5350F-OLinuXino-EVB initially, unless you have previous experience with the same or similar boards manufactured by OLIMEX.

Some previous experience with OpenWRT is highly recommended.

Note that in the OLIMEX web-shop the product named “RT5350F-OLinuXino-EVB” includes the main board named “RT5350F-OLinuXino”.

RT5350F-OLinuXino is typically evaluated together with RT5350F-OLinuXino-EVB. In that case, the board's target market widens drastically – the combination is suitable for people familiar with OpenWRT, embedded systems enthusiasts, Linux gadget fans and also networking professionals (since its low cost and OpenWRT compatibility makes it a very good solution for application- orientated embedded systems with networking). The reason for this alteration is the additional hardware provided by RT5350F-OLinuXino-EVB. Generally, the processor's features become easier to access.

In which cases a RT5350F-OLinuXino is suitable for you:

1. The need to implement low-cost wireless and/or wired server or networking option to your end product using Linux-capable module 2. General-purpose performance and video output are not important for your task 3. Interest in OpenWRT Linux or routers in general

In case you are looking for a board suitable for more of a general usage – it might be a good idea to take a look at other OLinuXino boards that provide more desktop-like experience (like A64- OLinuXino-eMMC, A20-OLinuXino-MICRO, or A20-OLiuXino-LIME2).

Page 6 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

1.3 Features of R5350F-OLinuXino

The RT5350F-OLinuXino board has the following set of features:

• RT5350F SoC – Ralink’s IEEE 802.11n draft compliant 1T1R MAC/BBP/PA/RF; 360 MHz MIPS24KEc CPU core; a 5-port integrated 10/100 Ethernet switch/PHY and a USB • 32MB SDRAM • 8MB SPI NAND Flash • On-board antenna • WLAN activity LED • Power LED • x3 external connectors at convenient 0.1" step with all RT5350F signals • x3 external DCDC power converters releasing internal RT5350F vreg and preventing common problem with overheating with this chip. • Two mounting holes • Suitable for embedding • Operating temperature: -10+55C • Size: (1600×1900)mils ~ (41×48)mm

1.4 Features of R5350F-OLinuXino-EVB

The RT5350F-OLinuXino-EVB board extends the hardware provided by RT5350F-OLinuXino in order to make it easier for initial evaluation with the following set of features:

• Barrel power jack for easier powering (5V only!) • USB 2.0 type A connector • 2×10/100 Mbps Ethernet ports with connectors • UART connector pins at 0.1" step for easier serial debugging • 2×15A/240VAC relays with connectors and status LEDs • User-programmable button • UEXT connector • JTAG pinholes exposed for chain programming • EXT connector at 0.1" step with the unused RT5350 signals • 27 GPIOs on a connector (24 free GPIOs) • 4 grounded mounting holes • Operating temperature: -10+55C • Dimensions: (4000×2500)mils ~ (102×64)mm

Note that the product named “RT5350F-OLinuXino-EVB” in our web-shop includes the main board named “RT5350F-OLinuXino”.

1.5 Board revisions used in the manual

The documents follows the hardware layout of RT5350F-OLinuXino board revision D. RT5350F- OLinuXino-EVB revision B board of peripherals was used while writing this document. Different board revisions might have different features or settings. It is possible that parts of this document do not apply to all board revisions.

Page 7 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

1.6 Document organization

Each section in this document covers a separate topic, organized as follows:

– Chapter 1 is an overview of the board usage and features – Chapter 2 contains the general board diagram and layout – Chapter 3 provides a guide for quickly setting up the board and software notes – Chapter 4 describes the component that is the heart of the board: the RT5350F SoC – Chapter 5 is an explanation of the control circuitry associated with the microcontroller – Chapter 6 covers the connector pinout, peripherals and jumper description – Chapter 7 provides the schematics and the dimensions of the board – Chapter 8 contains the revision history, useful links and support information

Page 8 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

CHAPTER 2: BOARD DESCRIPTION 2. Introduction to the chapter

Here you get acquainted with the main parts of the board. Note the names used on the boards might differ from the names used below to describe them. For the actual names either refer to the hardware design files or inspect the white print on the boards.

2.1 Layouts

2.1.1 RT5350F-OLinuXino top view

The picture below shows the top side of the RT5350F-OLinuXino board and highlights the most important parts:

Page 9 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

2.1.2 RT5350F-OLinuXino-EVB top view

You may find similar picture of RT5350F-OLinuXino-EVB on the next page.

Page 10 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

2.2 Pinout RT5350F-OLinuXino (top view)

The picture below shows the pinout of the EXT1, EXT2, and EXT3 connectors at the top side of the board. EXT1, EXT2 and EXT3 come with male connectors with 0.1'' step placed at the bottom of the board. These are used to attach RT5350F-OLinuXino to RT5350F-OLinuXino-EVB (or to your custom shield of peripherals).

You can find a stand alone picture of the pinout at the following link: https://www.olimex.com/Products/OLinuXino/RT5350F/RT5350F-OLinuXino/resources/rt5350f- -pinout.png

Page 11 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

2.3 Pinout RT5350F-OLinuXino-EVB (top view)

You can find a stand alone picture of the pinout at the following link: RT5350F-OLinuXino-EVB's pinout

Page 12 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

CHAPTER 3: SETTING UP THE RT5350F BOARD

3. Introduction to the chapter

This section helps you set up the development board for the first time. Please consider first the electrostatic warning to avoid damaging the board, then discover the hardware and software required to operate the board.

The procedure to power up the board is given, and a description of the default board behavior is detailed.

3.1 Electrostatic and electrical polarity warnings

The RT5350F-OLinuXino and RT5350F-OLinuXino-EVB boards are shipped in protective anti- static cases. The boards must not be exposed to high electrostatic potentials. A grounding strap or similar protective device should be worn when handling the boards in an environment where there is a chance of electrostatic influence. Avoid touching the component pins or any other metallic element with bare hands.

Ensure that your development board gets attached to properly working hardware. If this is not possible please use isolators (like USB-ISO) to save your development board from potential over voltage.

If you connect other electrical devices to the board make sure that they have equal electrical polarity. For example, when you connect a serial cable between a PC and the board's UART pin it is a good idea to have them both connected to the same electrical source (to the same utility power socket). In rare cases different polarity might cause hardware damage to the board.

3.2 Requirements

In order to set up the RT5350F-OLinuXino-EVB board optimally one or more additional items may be needed. They might be generally placed in two categories:

Required – items that are needed in order to achieve minimum functionality; Recommended – items that is good to have in order to be able to interact with the most important of the features of the board;

Note that if RT5350F-OLinuXino is used without RT5350F-OLinuXino-EVB – the requirements would be different! The requirements below are for the typical use of RT5350-OLinuXino-EVB.

Required items: - 5V external power supply with proper connector – RT5350F-OLinuXino-EVB has a power jack – a DC barrel jack with a 2.0mm thick inner pin and the diameter of the hole is 6.3mm. The inner pin is the positive electrode. Page 13 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

- Output device – USB↔SERIAL cable + personal computer with serial terminal program – RT5350-OLinuXino-EVB also has other options for debugging (SSH via the network interfaces, for example), but these might require extra software configuration, so initially you would need a serial cable that would always work; the cable needs to have a converter in order to be compatible with the CMOS levels of the board's signals.

Some of the above-suggested items can be purchased by Olimex, for instance:

USB-SERIAL-CABLE-F – female USB serial adapter cable – provides the easiest way of debugging BB-CH340T – USB serial adapter, open source hardware design, comes without wires SY0605E – 5V power adapter suitable for 220V/50Hz power socket; with compatible power jack SY0605E-CHINA – cheaper version of a 5V power adapter suitable for 220V/50Hz power socket; with compatible power jack

3.3 Preparing the OS to boot

Olimex provides an official image for RT5350F-OLinuXino-EVB board – each board comes pre- programmed with this OpenWRT image on-board. Typically, you only need to attach serial cable and power the board.

Step-by-step instructions on how the images were prepared (and links to the resources used) are available at the bottom of the wiki article e: https://www.olimex.com/wiki/RT5350F-OLinuXino

The board is also recognized by the OpenWRT community. There are images and builds available at the official OpenWRT repositories, compatible with Olimex RT5350F-OLinuXino and RT5350F- OLinuXino-EVB.

3.3.1 Repairing the default image

In case you have modified the memory with other image or you want to update the image you can always revert to the official image. There are two methods that we have described in detail at the wiki article – either by using the on-board u-boot menu or by using third party programmer. Refer to the wiki article for detailed instructions on how to proceed (https://www.olimex.com/wiki/RT5350F-OLinuXino).

Page 14 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

3.4 Powering the board

The powering requirements of the RT5350F-OLinuXino are different depending on whether you use it in stand-alone mode or mounted atop RT5350F-OLinuXino-EVB. The sub-chapters below deal with both scenarios.

3.4.1 Mounted powering

Typically, RT5350-OLinuXino gets evaluated when mounted atop RT5350-OLinuXino-EVB. In this case the former is powered via the latter. The power line, altogether with a number of other important processor lines, is transferred via the three headers EXT1, EXT2, and EXT3.

You need to provide 5V DC voltage to the power jack (named PWR) of RT5350F-OLinuXino-EVB board. The DC barrel jack has 2.0mm inner pin and 6.3mm hole. More information about the exact component might be found here: https://www.olimex.com/wiki/PWRJACK

The typical consumption of RT5350F-OLinuXino + RT5350F-OLinuXino-EVB is around 0.15A @ 5V but might reach peaks up to 0.20A @ 5V during initial boot. These values were measured without anything else connected to the board (e.g. no keyboard, no mouse, etc).

Do not provide AC voltage to the RT5350F-OLinuXino board! Do not provide more than 5V of voltage directly to neither the RT5350F-OLinuXino nor RT5350F-OLinuXino-EVB boards! Providing 12V would instantly cause permanent hardware damage!

For the European customers, we also stock and sell basic power supply adapters compatible with the power jack.

It is always recommended to perform a soft “turn off” of the board.

If you disconnect the power supply before turning off the board you may corrupt the Linux file system.

Note that it is normal that when the board is powered some integrated circuits might appear hotter than others. This is perfectly normal for some electronic components – for instance – the voltage regulators and the main processor.

3.4.2 Stand-alone powering of RT5350F-OLinuXino

If you use only RT5350F-OLinuXino board (e.g. it is neither attached to RT5350F-OLinuXino- EVB nor to any other board of peripherals) the is only one options for powering it – using the male pins of EXT1. Provide +5V to pin #1 of EXT1 header; connect ground to pin #2 of the same EXT1 header. Double check the white print of the names of the header and the pins before applying any voltage! Make sure that you have properly identified EXT1 and EXT2 headers and pins #1 and #2!

The minimum power that your supply should be able to provide is 2W (equivalent of 0.4A of

Page 15 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual current at 5V of voltage). Note that there is no standard jack for the powering circuit but you might add own DC power jack.

Do not provide AC voltage to the RT5350F-OLinuXino board! Do not provide more than 5V of voltage directly to the RT5350F-OLinuXino board! Providing 12V would instantly cause permanent hardware damage!

3.5 Button functions

The RT5350F-OLinuXino has no buttons. The RT5350-OLinuXino-EVB board has only one – the user programmable button BUT4.

3.6 Interacting with the board

The typical and recommended way of interacting with RT5350F-OLinuXino and RT5350F- OLinuXino-EVB board is via a serial cable and a personal computer. The computer needs to be able to recognize your cable and you need a serial terminal program. You would probably need a cable suitable for such a connection due to the fact that most personal computers lack a nowadays. Even if you have serial port you should respect the CMOS levels of the board which are incompatible with the TTL levels of your computer.

We distribute ready-to-use plug-and-play cables that fit the criteria – one of them is called BB- CH430T and the other one is called USB-SERIAL-CABLE-F. Even if you already have such a cable or you decide to purchase it elsewhere it is advisable to visit the product pages for a reference.

There are other ways to connect to the board, once you are comfortable with it. For example, via the Ethernet or WIFI using SSH protocol. Yet, this connection requires setting properly the software configuration, and it is possible to corrupt the output settings when connected over those interfaces and, thus, lose the output. In such cases, you can always use the serial cable as a reliable way to establish connection to the board.

3.6.1 Basic setup of RT5350F-OLinuXino

During typical evaluation of RT5350F-OLinuXino-EVB you need to connect the USB ↔ serial cable to the board's UART0 pins as follows: RX line to UART_TXD2 pin; TX line to UART_RXD2 pin; GND to GND (if using only RT5350F-OLinuXino you can find these signals on EXT2 header). Make sure that the serial cable is connected to your personal computer and recognized properly after driver installation. After the hardware connection is established, open a serial terminal program on the serial (COM) port which the cable is associated with. Famous serial terminal programs are “PuTTy”, “TeraTerm”, “Console”, “minicom”, etc. The typical baud rate is 57600, the rest of the settings should be left as per default.

After the serial connection, cable, and computer are set, you would need to power the board as explained in “3.4 Powering the board”. After applying the power supply, you should receive boot information on the serial terminal. In the command line interface of the official OpenWRT image you are automatically logged as root. You can test a few commands now and configure the WIFI.

Page 16 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

Type: cat /etc/config/wireless

Enable the wireless server with: uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi

This would create a WIFI network with SSID “OpenWRT”. Connect to the network and the board via a WIFI-capable device (for example, a laptop or a smartphone). Then start a web-browser and open 192.168.1.1 which would start the LuCI webUI – the graphical user control panel of the server, hosted on the RT5350F-OLinuXino board. Set up a password and explore the different options of the router.

More information for the initial software setup can be found here: https://wiki.openwrt.org/doc/howto/firstlogin and here: https://wiki.openwrt.org/doc/howto/basic.config

Page 17 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

3.7 Software support

At the moment, we provide ready-to-use OpenWRT Linux images suitable for the of the board. We also provide instructions and sources of these releases. These images might be downloaded for free and modified as the user wishes. The latest images and updates are featured at the wiki article of the device: https://www.olimex.com/wiki/RT5350F-OLinuXino

We usually try to provide extra details and best experiences with our products at our wordpress page: http://olimex.wordpress.com/. Another useful place is the Olimex forums where a lot of people share their experience and advice: https://www.olimex.com/forum/.

The official images are a constant work-in-progress – newer releases are packed with better hardware support, newer kernels and extra features.

You are more than welcome to send or share your suggestions and ideas at our e-mail, the public forums or irc channel. We would attempt to help in almost every case. We listen to the feedback and if the majority of users suggest a software change or update we try to implement such. Customer feedback is very important for the overall state of the software support. However, do not expect full Linux software support.

We can share our experience. We can give you full details for things we have tried. We can point you to a resource or a guide. We can give you general directions to solving a specific problem or places to look for more information. However, we won’t install a piece of software for you or write custom program for you. We won't provide a specific software solution to a specific software problem.

Page 18 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

CHAPTER 4: THE RT5350F PROCESSOR

4. Introduction to the chapter

In this chapter is located the information about the heart of RT5350F-OLinuXino – its main processor. The information is a modified version of the datasheet provided by its manufacturers.

4.1 The processor

RT5350 is a system-on-a-chip processor – it packs a lot of features and requires only a few external components to create a wireless product. The embedded, high performance CPU can easily manage advanced applications such as Wi-Fi data processing without overloading the host processor. The chip also features a fast Ethernet switch, should you need wired networking. In addition, the RT5350 offers a variety of hardware interfaces (SPI/I2S/I2C/PCM/UART/USB) to support a range of possible applications. The software support for the features in the processor is at pretty good state thanks to the efforts of the community.

A short list of the features of the chip might be found below:

 CPU: MIPS 24KEc 360 Mhz with 32 KB I cache/16KB D cache  Embedded 1T1R 2.4G CMOS RF  Embedded 802.11n 1T1R MAC/BBP with MLD enhancement  Embedded 5-port 10/100 Mbps Ethernet switch and 5-port UTP PHY  Embedded PA/LNA  150 Mbps PHY data rate  20 MHz/40 MHz channel width  Co-existence  Multiple BSSID (up to 16)  WEP64/128, WPA, WPA2, WAPI engines  QoS – WMM, WMM Power Save  Supports 802.11h TPC  Supports 16-bit SDR SDRAM (up to 64 MB)  USB 2.0 host/device dual mode x1  Slow speed I/O: GPIO, SPI, I2C, I2S, PCM, UART, and JTAG  Rich on peripheral support and connectivity options

More information about the features of the processor can be found in its datasheet (also available at the Olimex GitHub repository): https://github.com/OLIMEX/OLINUXINO/blob/master/HARDWARE/RT5350F/RT5350.pdf

Page 19 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

4.2 Block diagram The block diagram is based on the RT5350's documentation.

Page 20 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

CHAPTER 5: CONTROL CIRCUITY

5. Introduction to the chapter

Here you can find information about hardware reset circuit and quartz crystals locations, the power supply circuit is also briefly discussed.

5.1 Reset

Neither RT5350F-OLinuXino, nor RT5350F-OLinuXino-EVB have hardware reset circuit implemented. Should you need hardware reset, you can use the two pinholes named “RST_RT” on the RT5350F-OLinuXino-EVB board (on the top side, near UART0 debug pins). “RST_RT” has two pinholes – the first one is routed to PORSTN (pin #15 of EXT3 connector; processor pin C10). Nearby you can also find a standalone RST pinhole exposed (only PORSTN).

It is a good practice to perform software reset of the board. Performing a hardware reset or power- cycling the board (reset by disconnecting and re-applying the main power supply) might lead to software corruption of the .

5.2 Clocks

The board uses 20Mhz resonator Q2 (20MHz/9pF/10ppm). It is connected to pins A7 and B7 of the main chip.

The frequency is quite important for a fluent WIFI operation. If you face connectivity problems make sure to check this article: https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/RT5350F/Prebuilt %20images/mtd2%20recovery

5.3 Power supply circuit

The board requires 5V power supply. The different voltages required by the chip are derived from the 5V source via three step down regulators (SY8009AAAC). The RT5350-OLinuXino-EVB just adds a power jack to the design, in order to connect and disconnect the power supply easily. The power jack has 2.0mm thick inner pin. The outer hole diameter is 6.3mm. Refer to this wiki article for more information about the component used: https://www.olimex.com/wiki/PWRJACK

Make sure your power supply is capable of providing at least 0.5A of current at 5V of voltage (2.5W).

For more info on how to power the board refer to chapter “3.4 Powering the board”.

Page 21 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

CHAPTER 6: CONNECTORS AND PINOUT

6. Introduction to the chapter

In this chapter are presented the connectors that can be found on the board all together with their pinout and notes about them. Jumpers functions are described. Notes and info on specific peripherals are presented. Notes regarding the interfaces are given.

Overview images with the pinout can be found in “2.2 Pinout RT5350F-OLinuXino (top view)” and “2.3 Pinout RT5350F-OLinuXino-EVB (top view)”.

Stand-alone images with the pinount can also be found at the following locations: RT5350F- OLinuXino pinout and RT5350F-OLinuXino-EVB

6.1 Accessing RT5350F-OLinuXino and RT5350F-OLinuXino-EVB

The direct access method to the Linux command interface is via the serial debug interface. In the case of RT5350F-OLinuXino-EVB you would need to use the three pins of the UART0 header and then use your favorite terminal program (puTTy, minicom, picocom, teraterm, etc) to access the command line interface of the Linux. The board's connectors have the convenient 0.1” step which allows you to use a number of compatible cables (and breadboards).

Note that UART0 header and UEXT connector share same UART signals (UART_RXD2 and UART_TXD2). The logical voltage level of the UART is 3.3V.

If you want to access the RT5350F-OLinuXino only, then you can connect the serial cable to the EXT2 connector – pin #2 is GND; pin #23 is UART_TXD2; pin #25 is UART_RXD2. Remember that you would also need to power the board via the 5V power supply attached to EXT1 (EXT1's pin #1 is +5V; EXT1's pin #2 is GND).

In both scenarios you can use USB-SERIAL-CABLE-F with the serial interface that allows you to connect to a personal computer with a free USB port.

If you decide to make your own cable you would need to consider the 3.3V level of each signal available at the board's connector UART0 and you would need a convertor to reach the voltage level of your computer or cable! That is true for the RX and TX also!

It is highly recommended to have an USB-SERIAL-CABLE-F (or similar product) at hand when debugging – the other methods of accessing the board are not always reliable and might require additional configuration. You might be unable to access the board without a proper UART0 connection.

For more information please refer to chapter “3.5 Interacting with the board”.

Page 22 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

6.2 UART0 header of RT5350F-OLinuXino-EVB

The pins of the UART0 header, located on RT5350F-OLinuXino-EVB, might be used for serial communication between the board and a personal computer. In the case of an output problem a cable might provide the needed feedback and greatly reduce the efforts needed to repair the board or to adjust the software setting.

Note that by default only UART0 is defined as a port suitable for serial debug. You can use our USB-SERIAL-CABLE-F for debugging.

Even when RT5350F-OLinuXino is mounted on RT5350F-OLinuXino-EVB, the default debug port remains UART0.

Consider the table on the next page when connecting the USB-SERIAL-CABLE-F to the board. Remember to refer to the wire color code of the cable. The RX line of the cable (GREEN wire) should go to TX line of the target board; the TX line of the cable (RED wire) should go to the RX line of the target board. The BLUE wire should go to a target's GND line.

The signal names are printed near the pins, make sure to inspect the names before connecting the supply.

More info about the power supply can be found in chapter 5 of this manual.

UART0 connector (RT5350F-OLinuXino-EVB) Pin # Printed name Signal name Processor pin 1 GND GND -POWER CIRCUIT- 2 UART_RXD21 UART_RXD2 P3 3 UART_TXD213 UART_TXD2 (PULLED DOWN VIA 4.7K) N2

1 UART0's RXD2 and TXD2 are available also at, respectively, pins #25 and #23 of connector EXT2 Page 23 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

6.3 Connectors of RT5350F-OLinuXino

There are three connectors located on the bottom side of RT5350F-OLinuXino. They ease the access to processors pins. These connectors also provide a way to attach the board to a board of peripherals (like RT5350F-OLinuXino-EVB). The RT5350F-OLinuXino board has male connectors, while the bottom board has female connectors.

The power line at the EXT connectors that might be used as power input is the one named '+5V' available at the first pin of EXT1 and also the first pin of EXT3 connector. The rest of the power signals are outputs and it would be incorrect to try to power the board from there.

To keep the form factor as small as possible the GPIO and LCD_CON connectors have 0.05'' step.

IMPORTANT: The connectors are fragile – if you attempt to disconnect the board in one single pull or by pulling only one side out it might break! Furthermore – you might bend the board's pins! Use pliers or other suitable object as lever to disconnect the connectors carefully.

Below you would find tables with the signal at each pin. To understand better what each processor pin does it might be a good idea to refer to the schematics.

IMPORTANT: Some of the pins described below are used for the boot up sequence. Setting those pins improperly during power up might lead to start up problems.

Refer to the bottom-right corner of the schematic of the board for the boot up sequence configuration and options.

You can also find the pinout of the EXT connectors in a stand-alone document at the following link: https://www.olimex.com/Products/OLinuXino/RT5350F/RT5350F-OLinuXino/resources/rt5350f- olinuxino-pinout.png

Page 24 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

6.3.1 EXT1 connector

The connector has 2 rows with 13 pins each. The step between the pins is 0.1”.

EXT1 connector (RT5350F-OLinuXino) Pin# Signal name Processor pin Pin# Signal name Processor pin 1 +5V -POWER CIRCUIT- 2 GND -POWER CIRCUIT- 3 PORSTN2 C10 (SUPERVISED BY MCP130T-300I/TT) 4 UPHY0_PADM N12 5 RXIM4 N9 6 UPHY0_PADP P12 7 RXIP4 P9 8 TXOM4 M9 9 RXIM3 M8 10 TXOP4 L9 11 RXIP3 L8 12 TXOM3 N8 13 RXIM2 N7 14 TXOP3 P8 15 RXIP2 P7 16 TXOM2 M7 17 RXIM1 L6 18 TXOP2 L7 19 RXIP1 M6 20 TXOM1 N6 21 RXIM0 L5 22 TXOP1 P6 23 RXIP0 M5 24 TXOM0 N5 25 SPI_CS1 L2 26 TXOP0 P5

6.3.2 EXT2 connector

The connector has 2 rows with 13 pins each. The step between the pins is 0.1”.

EXT2 connector (RT5350F-OLinuXino) Pin# Signal name Processor pin# Pin# Signal name Processor pin# 1 3.3V -POWER CIRCUIT- 2 GND -POWER CIRCUIT- B13 (PULLED UP TO 3.3V VIA B14 (PULLED UP TO 3.3V VIA 3 I2C_SD 4 I2C_SCLK 2.2K) 2.2K) 5 GPIO0 B12 6 EJTAG_TDI A13 7 EJTAG_TMS A13 8 EJTAG_TCK A12 9 EJTAG_TDO B11 10 EJTAG_TRSTN A11 11 CTS_N K4 12 DCD_N J4 13 RIN M3 14 DSR_N L3 15 RTS_N P2 16 DTR_N N4 K1 (PULLED DOWN VIA 4.7K; 17 WLAN_LED3 18 LINK03 K3 (PULLED DOWN VIA 4.7K) WLAN_ACT LED) 19 LINK13 L1 (PULLED DOWN VIA 4.7K) 20 LINK23 L4 (PULLED DOWN VIA 4.7K) M1 (PULLED UP TO 3.3V VIA 21 LINK33 22 LINK43 M4 (PULLED DOWN VIA 4.7K) 4.7K) 23 UART_TXD213 N2 24 TXD3 K2 (PULLED DOWN VIA 4.7K) 25 UART_RXD21 P3 26 RXD N3

2 Also available at pin #15 of connector EXT3 3 Boot up sequence configuration Page 25 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

6.3.3 EXT3 connector

The connector has a single row of 16 pins. The step between the pins is 0.1”.

EXT3 connector (RT5350F-OLinuXino) Pin# Signal name Processor pin# 1 +5V -POWER CIRCUIT- 2 3.3V -POWER CIRCUIT- 3 1.8V -POWER CIRCUIT- 4 1.2V -POWER CIRCUIT- 5 SPI_MISO M2 6 SPI_MOSI3 J3 (PULLED DOWN VIA 4.7K; CONNECTED TO EN25Q64) 7 SPI_CLK3 N1 (PULLED DOWN VIA 4.7K; CONNECTED TO EN25Q64) 8 SPI_CS0 P1 9 LGATE J1 10 FB H4 11 EXT_LDO_1P2 H3 12 LDOSEL G3 (PULLED UP TO 3.3V VIA 4.7K) 13 COMP G4 14 UGATE H1 15 PORSTN4 C10 (RESET IS SUPERVISED BY MCP130T-300I/TT) 16 GND -POWER CIRCUIT-

4 Also available at pin #3 of connector EXT1 Page 26 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

6.4 Connectors of RT5350F-OLinuXino-EVB

RT5350F-OLinuXino-EVB has three female connectors that are used to interface with the main board RT5350F-OLinuXino. The pinaout is similar to that of the male connectors of the main board, so these would be listed below.

6.4.1 EXT4 connector

The bottom board has own 40-pin connector at 0.1” step for the ease of accessing a number of pins. This connector allow the user to attach additional hardware, check readings or perform hardware debug.

Full list of recommended displays for the board might be found in chapter “3.7 Connecting and calibrating a display”.

EXT4 connector (RT5350F-OLinuXino-EVB) Pin # Signal name Processor pin Pin # Signal name Processor pin 1 +5V -POWER CIRCUIT- 2 GND -POWER CIRCUIT- 3 3.3V -POWER CIRCUIT- 4 GND -POWER CIRCUIT- 5 1.8V -POWER CIRCUIT- 6 1.2V -POWER CIRCUIT- 7 GPIO0 B12 8 EJTAG_TDI A13 9 EJTAG_TMS A13 10 EJTAG_TCK A12 11 EJTAG_TDO B11 12 EJTAG_TRSTN A11 13 CTS_N K4 14 DSR_N L3 15 RTS_N P2 16 DTR_N N4 17 TXD3 K2 (PULLED DOWN VIA 4.7K) 18 RXD N3 C10 (SUPERVISED BY MCP130T- 19 PORSTN 20 UGATE H1 300I/TT) G3 (PULLED UP TO 3.3V 21 COMP G4 22 LDOSEL VIA 4.7K) 23 EXT_LDO_1P2 H3 24 FB H4 L1 (PULLED DOWN VIA 25 LGATE J1 26 LINK13 4.7K) M1 (PULL UP 3.3V VIA 27 LINK23 L4 (PULLED DOWN VIA 4.7K) 28 LINK33 4.7K) 29 TXOP1 P6 30 TXOM1 N6 31 RXIP1 M6 32 RXIM1 L6 33 TXOP2 L7 34 TXOM2 M7 35 RXIP2 P7 36 RXIM2 N7 37 TXOP3 P8 38 TXOM3 N8 39 RXIP3 L8 40 RXIM3 M8

Page 27 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

6.4.2 UEXT connector

Located on RT5350F-OLinuXino-EVB. The connector has two rows of 5 pins. The step between the pins is 0.1”. This connector is typically used for attaching aditional modules – it nests power out pins, and several frequently used interfaces – UART, I2C, and SPI.

UEXT connector (RT5350F-OLinuXino-EVB) Pin# Signal name Processor pin# 1 3.3V -POWER CIRCUIT- 2 GND -POWER CIRCUIT- 3 UART_TXD2 N2 4 UART_RXD2(PULLED UP VIA 10K) P3 5 I2C_SCL (PADS FOR PULLUPS) B14 6 I2C_SDA (PADS FOR PULLUPS) B13 7 SPI_MISO M2 8 SPI_MOSI J3 9 SPI_CLK N1 10 SPI_CS1 L2

6.4.3 Relays of RT5350F-OLinuXino-EVB

The EVB part of the board has two electromechanical relays RAS-0515 (5V/72mA). Each of them has a status LED. Relay REL1 uses signal RIN to drive the relay (RIN goes to EXT2 connector and it is routed to processor pin M3). Relay REL2 uses signal DCD_N (DCD_N also goes to EXT2 connector and it is routed to processor pin J4).

There are pads provided behind the relays for measuring the levels of RIN and DCD_N lines.

6.4.4 Ethernet connectors of RT5350F-OLinuXino-EVB

The board has two standard RJ45 Ethernet connectors on the EVB part. They use two of the five ports of the chip (available after the embedded fast Ethernet switch). LAN1 uses the following data signals: LINK4, TXOP4, TXOM4, RXIP4, RXIM4. LAN2 uses LINK0, TXOP0, TXOM0, RXIP0, RXIM0. These signals are located on EXT1 and EXT2 connectors.

6.4.5 USB_HOST connector on RT5350F-OLinuXino-EVB

There is a side-placed USB type A connector available on board. It acts as USB host interface, as the name suggests. It uses two data signals – UPHY0_PADM and UPHY0_PADP (both signals can be found on EXT1).

Page 28 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

6.5 Additional hardware components

The components below are mounted on the RT5350F-OLinuXino or RT5350F-OLinuXino-EVB but are not discussed above. They are listed here for completeness:

- PWR_LED (RT5350F-OLinuXino) – power identification LED – turns on upon powering the RT5350F-OLinuXino board; - WLAN_ACT (RT5350F-OLinuXino) - indicates WLAN activity;

The components below are placed on RT5350F-OLinuXino-EVB:

- BUT4 button – user programmable – used to reset the board – drives signal GPIO0 (processor pin B12)

- PROG pinpholes – can be used for programming the board over the SPI (#1 – 3.3V; #2 – SPI_MISO; #3 – SPI_MOSI; #4 - SPI_CLK; #5 – SPI_CSO; #6 – GND; all of these signals can be found at EXT3 header); refer to the wiki entry on how to use a programmer like ARM-USB-OCD- H with the board: https://www.olimex.com/wiki/RT5350F- OLinuXino#Upload_prebuilt_images_using_programmer_tool

- RST pinhole – located next to PROG row of pinholes – connected to PORSTN signal and RST_RT pin #1

- RST_RT pinholes – consists of RST and GND pinholes – allows the addition of reset button

- GND_PIN pinhole – allows easier access to a GND signal

Page 29 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

CHAPTER 7: SCHEMATICS

7. Introduction to the chapter

In this chapter is located information about the schematics describing logically RT5350F- OLinuXino and RT5350F-OLinuXino-EVB.

7.1 Eagle schematic

RT5350F schematics may be found in the OLIMEX's GitHub repository: https://github.com/OLIMEX/OLINUXINO/tree/master/HARDWARE/RT5350F (each part of the modular design has own folder). You can download the whole repository as .zip without having a GitHub account.

You can find lower resolution exports of the schematics on the next two pages. The hardware revision of the exports might not be the latest. For an older or a newer hardware revision design files make sure to check the Git location linked above. If you are looking for a schematic of an older revision of the board and it isn't available at our web site you may request it by the support e-mail.

Page 30 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

3.3V

3.3V

R4 4.7k RT5350F-OLinuXino, hardware revision E R1 R2 WLAN_ACT 2.2k 2.2k LED/Yellow/0603 R3 R42 4.7k 2.2k

EJTAG_TDI EJTAG_TMS EJTAG_TCK EJTAG_TRSTN SDRAM EJTAG_TDO R5 R6 R7 R8 R9 I2C_SCLK 4.7k 4.7k 4.7k 4.7k NA 256Mbit SDRAM / 133MHz I2C_SD GPIO0 (4M x 16bit x 4Banks)

U1

RT5350 U2

MD0 E10 D0 A0 23 DQ0 2 D2 A0 MD1 D11 D1 A1 24 DQ1 4 D1 A1 MD2 D12 D2 A2 25 DQ2 5 D0 A2 MD3 D13 D3 A3 26 DQ3 7 D3 A3 MD4 D14 D4 A4 29 DQ4 8 D4 A4 MD5 E11 D5 A5 30 DQ5 10 D7 A5 3.3V MD6 F11 D6 A6 31 DQ6 11 D5 A6 MD7 E12 D7 A7 32 DQ7 13 D6 A7 MD8 F12 D8 A8 33 DQ8 42 D8 A8 UPHY0_PADP P12 MD9 E13 D9 A9 34 DQ9 44 D10 UPHY0_PADP A9 UPHY0_PADM N12 MD10E14 D10 A10 22 DQ10 45 D14 UPHY0_PADM A10/AP C1100nF P11 MD11G11 D11 A11 35 DQ11 47 D9 UPHY0_VRES A11 R10 R11 MD12G12 D12 A12 36 DQ12 48 D12 4.7k 4.7k A12 R12 8.2k/1% MD13F13 D13 DQ13 50 D13 MD14G13 D14 DQ14 51 D11 UART_RXD2 UART_RXD2 P3 MD15F14 D15 BA0 20 DQ15 53 D15 RXD2/GPIO16 BA0 UART_TXD2 UART_TXD2 N2 BA1 21 3.3V TXD2/GPIO15 BA1 DTR_N DTR_N N4 DTR_N/GPIO11/PCMFS/RTS_N CTS_N CTS_N K4 MA0 G14 A0 DQM0 15 VDD1 1 CTS_N/GPIO9/I2SSDO DQML RTS_N RTS_N P2 MA1 H13 A1 DQM1 39 VDD2 14 RTS_N/GPIO7/I2SCLK DQMH RIN RIN M3 MA2 H12 A2 VDD3 27 RIN/GPIO14/PCMDTX/RXD DSR_N DSR_N L3 MA3 H11 A3 CS 19 VDDQ13 DSR_N/GPIO13/PCMDRX/CTS_N CS DCD_N DCD_N J4 MA4 J14 A4 WE 16 VDDQ29 DCD_N/GPIO12/PCMCLK/TXD WE RXD RXD N3 MA5 J13 A5 CAS 17 VDDQ343 RXD/GPIO10/I2SSDI CAS TXD TXD K2 MA6 J12 A6 RAS 18 VDDQ449 TXD/GPIO8/I2SWS RAS MA7 K14 A7 MA8 K13 A8 38 VSS1 28 CLK SPI_CS0 P1 MA9 J11 A9 3.3V 37 VSS2 41 R13 R14 SPI-CS0/GPIO3 CKE SPI_CS1 L2 MA10 L14 A10 R15 VSS3 54 4.7k 4.7k SPI_CS1/GPIO27/WDT_RST 3.3V SPI_MISO M2 MA11 K12 A11 4.7k VSSQ16 SPI_MISO/GPIO6 SPI_MOSI J3 MA12 L13 A12 VSSQ212 SPI_MOSI/GPIO5 SPI_CLK N1 VSSQ346 R16 SPI_CLK/GPIO4 4.7k 3.3V MBA0L12 BA0 CS1 40 VSSQ452 CS1 NC1 MBA1M14 BA1 SPI_MISO MDQM0 100nF J10 DQM0 W9825G6JH-6 U3 C2 H2 MDQM1M13 DQM1 DCDC_V33A 2 DO/IO1 5 SPI_MOSI J2 MCAS_NC12 CAS 3.3V DI/IO0 100nF DCDC-V33D C3 MWE_NC13 WE R17 4 GND 6 SPI_CLK MRAS_NL11 RAS CLK 22R MCS0_NK11 CS 8 VCC 7 N11 MCS1_N/REFCLK0_OUTC14 CS1 /HOLD/IO3 UPHY0_VDDA_V33A C5 C6 C7 C8 C9 G5 100nF SOC_IO_V33D R19 3 /WP/IO2 1 SPI_CS0 C4 F5 MCLK H14 22R /CS/ 100nF SOC_IO_V33D 100nF 100nF 100nF 100nF 22uF/6.3V C10 D10 MCKE C11 SOC_IO_V33D_1 EN25Q64-104HIP

F10 GND A1 R20 SDRAM_IO_V33D G10 GND A4 1uF SDRAM_IO_V33D C12 H10 GND B2 NA(47k) SDRAM_IO_V33D K8 GND B4 100nF EPHY_V33A C13 K7 GND C2 EPHY_V33A K6 GND C3 EPHY_V33A Close to RT5350 K5 GND C4 EPHY_V33A 1.2VE_REG GND C5 1.2V POWER SUPPLY CIRCUIT 1 2 Close GND D2 H9 GND D3 1uF SOC_CO_V12D C14 J5 GND D4 1.8V 1.8V SOC_CO_V12D F9 GND D5 L1 1uF SOC_CO_V12D U4 C15 H5 GND D6 2.2uH/1.5A/DCR<0.1R/CD32 SOC_CO_V12D 1.2VE G9 GND D7 +5V 4 LX 3 1uF SOC_CO_V12D IN C16 1 2 G1 GND D8 VOUT_1P2 B10 GND D9 1 FB 5 1uF PLL_DVDD_V12D EN C17 Open A10 GND E2 C21 PLL_AVDD_V12A Re C23 P13 GND E4 2 100nF UPHY0_VDDL_V12D C22 GND 22pF C24 C18 B9 GND E5 Z2 WL_ADC_V12 22uF/6.3V GND 22uF/6.3V 22uF/6.3V 100nF E6 SMAZ5V6-TP(Farnell_PN-1924469) SY8009AAAC(SOT23-5) C19 LDOSEL G3 GND E7 LDOSEL Rf EXT_LDO_1P2 H3 GND E8 R22 100nF EXT_LDO_1P2 C20 GND E9 2.74k/1% GND F1 Vout=0.6x(1+Re/Rf) = 1.83V UGATE H1 GND F2 UGATE LGATE J1 GND F3 LGATE FB H4 GND F4 FB COMP G4 GND F6 3.3V 3.3V 1.8V COMP 3.3V GND C25 F7 U5 L2 100nF G2 GND F8 LDO_V18A 2.2uH/1.5A/DCR<0.1R/CD32 GND G6 +5V 4 LX 3 C26 IN GND 100nF C27 G7 100nF GND G8 1 FB 5 R41 C28 C29 EN 10pF 1uF A8 GND H6 C33 2.2k WL_LDORF_IN_VX Re A9 GND H7 2 C30 WL_BG_V33A GND 22pF 1uF E3 GND H8 WL_RF0_PA1_V33A A6 GND J6 SY8009AAAC(SOT23-5) C31 WL_PLL_VC_CAP PWR_LED 3.3V 22nF E1 GND J7 WL_RF0_PA_V33N Rf LED/RED/0603 B1 GND J8 R24 WL_RF0_PA_V33P 1.1k/1% B6 GND J9 WL_PLL_V12A C6 GND K9 WL_VCO_VCO_V12A Vout=0.6x(1+Re/Rf) = 3.32V PLL_VCC_1V2 C7 GND K10 WL_LDOPLL_OUT_V12 RF_VCC_1V2 C8 GND L10 WL_LDORF_OUT_V12 B5 GND M10 WL_RF0_IF_V12A C36 C37 C38 C39 C40 C41 C42 A5 GND M11 WL_RF_BB1_V12A B3 GND M12 1.2V 1.2V WL_RF0_RF_V12A 1uF 10pF 1uF 1uF 100pF 10pF 100nF C9 GND N10 WL_RF_BB2_V12 U7 L5 B8 GND N13 WL_BG_RES_12K 2.2uH/1.5A/DCR<0.1R/CD32 A2 GND N14 +5V 4 LX 3 WL_RF0_2G_INP IN A3 GND P10 WL_RF0_2G_INN C1 GND P14 1 FB 5 R25 WL_RF0_PA_OUTP EN D1 C60 WL_RF0_PA_OUTN Re A7 2 12k/1% WL_PLL_X1 GND 22pF B7 PORST_NC10 PORSTN GND R26 WL_PLL_X2 C43 SY8009AAAC(SOT23-5) C44 C45 NA(1M) Rf R40 100pF 2.7pF 2.7pF 1.1k/1% R27 330R Vout=0.6x(1+Re/Rf) = 1.2V

E4SB20.000F20E15(20MHz/9pF/10ppm/5x3.2mm)

C47 Q1 C48 C50 1.2pF C49 RT5350 Boot Up Strapping 1.2pF 22pF NA(6.8pF) Pin Name Description Value = 0 Value = 1 R29 C51 3.3V 9.1k/1% Close to RT5350 SPI_CLK XTAL_FREQ_HI 20MHz 40MHz

C62 NA 3.3V R28 NA(10k) ANT 10pF WLAN_LED_N Big Endian Little Endian Big Endian C52 U6 MCP130T-300I/TT CD1 EPHY_LED4_N DRAM_FROM_EE from boot strapping from EEPROM NA 1 E/D 4 2 1 VDD VCC RESET

3 C53 GND INIC/AP(SDR)

2 100nF OUT VSS EPHY_LED3_N DRAM_SIZE 00: 2MB/8MB

NA(20MHz/5032/20ppm/3.3V) EPHY_LED2_N 01: 8MB/16MB WIFI_RF_I-PEX 10: 16MB/32MB, 32MB*2 11: 32MB

3.3V ML26HN2X13 ML26HN2X13 +5V CPU clock select

2 1 2 1 R31 R33 R35 R37 R38 EPHY_LED1_N CPU_CLK_SEL 00: 360MHz I2C_SCLK4 3 I2C_SD UPHY0_PADM4 3 PORSTN 49.9/1% 49.9/1% 49.9/1% 49.9/1%49.9/1% EJTAG_TDI6 5 GPIO0 UPHY0_PADP6 5 RXIM4 EPHY_LED0_N 01: Reserved R32 R34 R36 EJTAG_TCK8 7 EJTAG_TMS TXOM48 7 RXIP4 49.9/1% 49.9/1% 49.9/1% EJTAG_TRSTN10 9 EJTAG_TDO TXOP410 9 RXIM3 10: 320MHz DCD_N12 11 CTS_N TXOM312 11 RXIP3 DSR_N14 13 RIN TXOP314 13 RXIM2 11: 300MHz DTR_N16 15 RTS_N TXOM216 15 RXIP2 C54 C55 C56 C57 LINK018 17 WLAN_LED TXOP218 17 RXIM1 LINK220 19 LINK1 TXOM120 19 RXIP1 100nF 100nF 100nF 100nF A vector to set chip function/ LINK422 21 LINK3 TXOP122 21 RXIM0 TXD24 23 UART_TXD2 TXOM024 23 RXIP0 test/debug modes RXD26 25 UART_RXD2 TXOP026 25 SPI_CS1 EXT2 EXT1 SPI_MOSI CHIP_MODE[2:0] 000 : Normal mode(boot fromSPI

3.3V 1.2V 1.8V 3.3V +5V TXD2 serial flash) TXD 001 : iNIC-USB mode EXT3 1 010 : Reserved 4.7kR30 2 3 011 : Reserved 4 PHY Address SPI_MISO 5 100 : Reserved PHY address 5'd0 -> Internal PHY for port 0 SPI_MOSI 6 SPI_CLK 7 101 : iNIC-PHY mode PHY address 5'd1 -> Internal PHY for port 1 SPI_CS0 8 LGATE 9 110 : SCAN mode PHY address 5'd2 -> Internal PHY for port 2 FB 10 EXT_LDO_1P2 11 111 : TEST/DEBUG mode PHY address 5'd3 -> Internal PHY for port 3 LDOSEL 12 COMP 13 PHY address 5'd4 -> Internal PHY for port 4 UGATE 14 PORSTN 15 PHY address 5'd5 -> default for the external Port5 16 HN1X16 PHY address 5'd5...5'd31 are free for the external PHY RT5350F-OLinuXino, hardware revision E

Page 31 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

5VDC Only!!!

+5V PWR. 2 + RT5350F-OLinuXino-EVB, hardware revision B 1 - C14 PWR +5V NA(TB2/3.5mm) 470uF/10V/105C YDJ-1136 D3 EXT1 SMBJ6.0A GND_PIN 1 2 PORSTN 3 4 UPHY0_PADM RXIM4 5 6 UPHY0_PADP RXIP4 7 8 TXOM4 RXIM3 9 10 TXOP4 RXIP3 11 12 TXOM3 1.8V RXIM2 13 14 TXOP3 RXIP2 15 16 TXOM2 LINK4 RXIM1 17 18 TXOP2 1:1 1 TXOP4 RXIP1 19 20 TXOM1 1 TD+ 75 75 3 TXOM4 RXIM0 21 22 TXOP1 4 COM 2 RXIP4 RXIP0 23 24 TXOM0 5 TD- AG RXIM4 SPI_CS1 25 26 TXOP0 2 AG 3.3V GREEN KG R2 KG NA ML26PN2X13 AY YELLOW AY KY 560RR4 3 KY NA(RA1206_(4X0603)_4B8_51R) 75 75 1:1 7 7 RD+ 6 8 NC 8 +5V USB_HOST 6 RD- USB_A_VERTICAL GND 1nF/2kV LAN1 C89 C88 C87 1 3.3V RJLBC-060TC1_GND_MILLING 100nF 100nF 100nF UPHY0_PADM2 UPHY0_PADP3 EXT2 4 1 2 L9 I2C_SDA 3 4 I2C_SCL SHIELD FB0805/600R/2A GPIO0 5 6 EJTAG_TDI EJTAG_TMS 7 8 EJTAG_TCK 1.8V EJTAG_TDO 9 10 EJTAG_TRSTN CTS_N 11 12 DCD_N DCD_N LINK0 RIN RIN 13 14 DSR_N 1:1 1 TXOP0 RTS_N 15 16 DTR_N 1 TD+ 75 75 3 TXOM0 WLAN_LEDWLAN_LED 17 18 LINK0 4 COM 2 RXIP0 LINK1 19 20 LINK2 5 TD- AG RXIM0 LINK3 21 22 LINK4 2 AG 3.3V GREEN KG R53 UART_TXD2 23 24 TXD KG NA AY R64 10k UART_RXD2 25 26 RXD YELLOW AY 3.3V KY 560RR54 3 KY NA(RA1206_(4X0603)_4B8_51R) ML26PN2X13 75 75 1:1 7 UART0 7 RD+ 6 UART_TXD2 3 8 NC 8 UART_RXD2 2 6 RD- GND 1nF/2kV 1 D2 LAN2 C13 C11 C12 1N5819(S4SOD-123)HN1X3 RJLBC-060TC1_GND_MILLING 100nF 100nF 100nF

1.8V 3.3V +5V 1.2V 3.3V 3.3V EXT4 +5V 3.3V 1.8V 1.2V 3.3V 1 2 UEXTs 3 4 3.3V R3 10k GPIO0 5 6 EXT3 GPIO0 7 8 EJTAG_TDI 1 EJTAG_TMS 9 10 EJTAG_TCK 2 PROG R82 R83 R84 11 12 3 NA(2.2k) NA(2.2k)47k EJTAG_TDO EJTAG_TRSTN CTS_N 13 14 DSR_N 4 1 DTSM24R(12x12x10)BUT4 UEXT RTS_N 15 16 DTR_N 5 SPI_MISO 2 1 2 TXD 17 18 RXD 6 SPI_MOSI 3 UART_TXD2 3 4 UART_RXD2 PORSTN 19 20 UGATE 7 SPI_CLK 4 I2C_SCL 5 6 I2C_SDA R1 21 22 8 5 560R COMP LDOSEL SPI_CS0 SPI_MISO 7 8 SPI_MOSI EXT_LDO_1P223 24 FB 9 LGATE 6 SPI_CLK 9 10 SPI_CS1 LGATE 25 26 LINK1 10 FB 27 28 11 BH10S LINK2 LINK3 EXT_LDO_1P2 NA(PN1X6) TXOP1 29 30 TXOM1 12 LDOSEL RXIP1 31 32 RXIM1 13 COMP TXOP2 33 34 TXOM2 14 UGATE RXIP2 35 36 RXIM2 15 PORSTN1 RST_RT +5V +5V TXOP3 37 38 TXOM3 16 2 RELAYS NA(HN1x2) RXIP3 39 40 RXIM3 PN1X16 REL1 CON1 BH40S RST 1 REL1 REL2 2 D9 D8 3

CON3-DG306-5.0_3P(TB3-5MM) RAS-05-15 RAS-05-15 R5 R6 2.2k 2.2k

CON3-DG306-5.0_3P(TB3-5MM)1 2 RIN R15 T2 DCD_N R13 T1 3 1k 1k BC817-40(SMD) BC817-40(SMD) REL2 CON2 R16 R14 10k 10k RT5350F-OLinuXino-EVB, hardware revision B

Page 32 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

CHAPTER 8: REVISION HISTORY AND SUPPORT

8. Introduction to the chapter

In this chapter you will find the current and the previous version of the document you are reading. Also the web-page for your device is listed. Be sure to check it after a purchase for the latest available updates and examples.

8.1 Document revision

Document revision Changes Modified page A, 07.06.17 Initial manual release All

8.2 Board revisions

Remember to check the schematics and the board design files to compare the differences.

8.2.1 RT5350F-OLinuXino hardware revisions

Board revision Notable changes B Initial hardware revision of the board 1. Added power LED to the 3.3V line 2. Added Zener diode Z1 -> DDZ9678-7(SOD-123)_Farnell_PN-1858631 3. Added 5.6V Zener diode to +5V C 4. Changed the value of the quartz from 20ppm to 10 ppm E4SB20.000F20E15(20MHz/10pF/10ppm/5×3.2mm) 5. Changed C49 from NA to 6.8pF and C50 from 27pF to 22pF. 1. Added CD1 oscillator for testing purposes D 2. Added R42 (4.7k) pull-up on EPHY_LED2_N and changed R7 to NA 1. Changed value of R42 to NA (down from 4.7K) E 2. R9 value changed to NA (down from 4.7K) 3. C49 value changed to NA (down from 6.8pF)

8.2.2 RT5350F-OLinuXino-EVB hardware revisions

Board revision Notable changes B Initial hardware revision of the board

Page 33 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

8.3 Useful web links

The web pages you can visit for more information about RT5350F-OLinuXino are: https://www.olimex.com/Products/OLinuXino/RT5350F/RT5350F-OLinuXino/ and https://www.olimex.com/Products/OLinuXino/RT5350F/RT5350F-OLinuXino-EVB/

Wiki article of the boards: https://www.olimex.com/wiki/RT5350F-OLinuXino

Wiki article at the OpenWRT site: https://wiki.openwrt.org/toh/olimex/rt5350f-olinuxino-evb

You can get the latest hardware updates at the GitHub page: https://github.com/OLIMEX/OLINUXINO/tree/master/HARDWARE/RT5350F

A place for general questions, FAQ or friendly talk: https://www.olimex.com/forum/

You may may join our IRC channel #olimex @ freenode.net (http://webchat.freenode.net/? channels=olimex).

Page 34 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

8.4 How to purchase?

You can purchase directly from our online shop or from any of our distributors. Note that usually it might be faster and cheaper to purchase Olimex products from our distributors. List of confirmed Olimex LTD distributors and resellers: https://www.olimex.com/Distributors.

Please visit https://www.olimex.com/ for more info.

8.5 Order codes

Short summary of the formal product names of the devices mentioned in this document:

RT5350F-OLinuXino – the target of this manual RT5350F-OLInuXino-EVB – RT5350F-OLinuXino + RT5350F-OLinuXino-EVB – the main board with board with all important peripherals that makes it easier access chip's resources (two Ethernet connectors; USB HOST connector; two relays with status LEDs; a power jack; UEXT; 0.1'' step GPIO connectors; etc)

USB-SERIAL-CABLE-F – USB serial console cable with female leads

Page 35 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

8.6 Frequently asked questions

Q: I just received the product. How to establish basic connection with the board? Connect USB<->serial cable between the UART0 pins of the board and your personal computer. Open your favorite serial terminal software on the COM port, created by your USB<->serial cable. The baud rate for the connection is 57600. Power RT5350F-OLinuXino-EVB using the PWR barrel jack (5V DC only!).

Q: I see only 16MB RAM listed in OpenWRT! The board is supposed to have 32MB RAM! Did I get a defective board? What should I do in order to see 32MB RAM? The board should be fine – during the production tests the amount of RAM listed in OpenWRT gets verified by a technician. Usually there are three ways to fix this issue:

1) Unpower the board. Disconnect your serial cable from the board. Power the board and wait 30 seconds then connect the serial cable. The whole 32MB of RAM memory should be available now. Some noisy serial cables might alter the levels of the board, which affects the bootstrap configuration.

2) Purchase a better USB <-> serial cable. Our serial cables (USB-SERIAL-CABLE-F) should work fine.

3) Disconnect the power supply from the board. Connect pin #27 from EXT4 connector to pin #3 of the same connector via a 1K resistor. After the connection is established apply power to the board. This forces a 32MB-only bootstrap configuration – this alteration just pulls up LINK2 (since LINK3 is already pulled-up). Refer to the datasheet of RT5350 for more information.

Page 36 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

8.7 Quality control

Each board designed and manufactured by Olimex passes a number of tests to ensure it is working properly. There are tests performed before and after assembly.

Before assembly:

- the PCB of each the boards passes electrical test for obvious short circuits - the bigger components get tested for obvious manufacturing problems

If there is a problem with a board PCB components before assembly the faulty PCB or the faulty component typically go directly to the trash.

The largest part of the assembly is usually performed by automatic SMT placing machines. Yet, some components can be placed only by hand (plastic connectors, for example).

Tests performed after assembly:

- the board passes automatized optical inspection for component misplacement and soldering issues. - the board gets inspected visually by a technician - the assembled board passes electrical tests performed by a technician - the board passes software tests performed by a technician; the software checks every peripheral, and every free pin of the board (via additional hardware headers, specifically designed for testing)

If there is a problem after the assembly usually we attempt to fix the problem (only if it is possible; if it is not – we salvage what we can and throw the rest). Fixing the problem often requires manual soldering, which sometimes leads to not-so-pretty looking but perfectly functional board. After the problem is fixed the board is cleaned and has to pass all tests again.

Page 37 of 38 OLIMEX© 2017 RT5350F-OLinuXino user's manual

8.8 Product support

For product support, hardware information and error reports mail to: [email protected]. All document or hardware feedback is welcome. Note that we are primarily a hardware company and our software support is limited. Please consider reading the paragraph below about the warranty of Olimex products.

All goods are checked before they are sent out. In the unlikely event that goods are faulty, they must be returned, to OLIMEX at the address listed on your order invoice. OLIMEX will not accept goods that have clearly been used more than the amount needed to evaluate their functionality.

If the goods are found to be in working condition, and the lack of functionality is a result of lack of knowledge on the customers part, no refund will be made, but the goods will be returned to the user at their expense.

All returns must be authorized by an RMA Number. Email [email protected] for authorization number before shipping back any merchandise. Please include your name, phone number and order number in your email request.

Returns for any unaffected development board, programmer, tools, and cables permitted within 7 days from the date of receipt of merchandise. After such time, all sales are considered final.

Returns of incorrect ordered items are allowed subject to a 10% restocking fee. What is unaffected? If you hooked it to power, you affected it. To be clear, this includes items that have been soldered to, or have had their changed. Because of the nature of the products we deal with (prototyping electronic tools) we cannot allow returns of items that have been programmed, powered up, or otherwise changed post shipment from our warehouse.

All returned merchandise must be in its original mint and clean condition. Returns on damaged, scratched, programmed, burnt, or otherwise 'played with' merchandise will not be accepted.

All returns must include all the factory accessories which come with the item. This includes any In-Circuit-Serial-Programming cables, anti-static packing, boxes, etc.

With your return, enclose your PO#. Also include a brief letter of explanation of why the merchandise is being returned and state your request for either a refund or an exchange. Include the authorization number on this letter, and on the outside of the shipping box.

Please note: It is your responsibility to ensure that returned goods reach us. Please use a reliable form of shipping. If we do not receive your package we will not be held liable.

Shipping and handling charges are not refundable. We are not responsible for any shipping charges of merchandise being returned to us or returning working items to you.

The full text might be found at https://www.olimex.com/wiki/GTC#Warranty for future reference.

Page 38 of 38