Skip to content

CW Getting Started

djaumann edited this page Feb 11, 2022 · 5 revisions

Overview

In this quick tutorial we will explain how to use the TLE94112 shield together with the Cypress WICED SDK, compile the provided example, and execute it.

Required Hardware

Name Picture
CYW943907AEVAL1F Evaluation Kit
multi-half-bridge shield (v3.0.0 or higher)
a DC Motor
a power source between 4V and 40V, reasonable for your motor
pin headers solder them to the shield
Micro-USB to USB A cable use the cable included into the CYW943907AEVAL1F Evaluation Kit

Required Software

Tutorial

Software Installation

  1. install WICED Studio. Download the software and follow the instructions in the following website. Registration is required.

  2. for Windows install PuTTY. Downloadable from the official website or use an other sufficient terminal under your system.

  3. for Linux install miniCom. Use your system installer (apt, apt-get, pkcon, zypper or similar). You can also use any other similar software.

  4. install the multi-half-bridge library. Follow the steps in the WICED Lib Installation section.

Hardware Setup

The TLE94112 needs to be stacked on the mcu and due to the pin layout of the headers, this is fail save. Then, simply connect it to the computer with the USB cable. If you are using the Cypress 43xxx boards, than refer to the board documentation or schematics to check wether the 5V VDD pin is connected or not. If not than you must bridge the 3.3V VDD pin and 5V VDD pin on the arduino header to power up the shield. See also the trouble shooting guide.

Ready To Go!

With the hardware connected, the software installed, and the several bugs fixing changes made to the SDK, the example can be finally built and run:

  1. Example basicTest

    Open the snip example (apps/snip/TLE94112/basicTest).

  2. Terminal output

    Open the PuTTY serial terminal with 115200 baud, 8-N-1, and the appropriate COM port (or tty device).

  3. WICED make target

    Create target "snip.TLE94112/basicTest-CYW943907AEVAL1F download run" and click on it.

    The terminal will soon prompt the TLE94112 ready message and prints out the next operation on the motor. If everything is connected, the motor should run up and down, forward and backward (if capable of).

Clone this wiki locally