eTPU Training Overview

ASH WARE – Embedded Software Tools since 1994

eTPU Training Overview

Due to Covid 19 this course will be held online using Zoom.  Each day will be roughly 2 hours and 45 minutes covering one section of the syllabus.

Time is money - you can shorten your learning curve by attending one of our courses! Offered in conjunction with NXP, this eTPU coding course, Programming the eTPU in C, is a three-day (9-day due to Covid 19 actually) session geared for those engineers with a background in C and at least a conceptual understanding of the eTPU.

This is a hands-on, lab-intensive course, remember to bring a laptop!

Training Schedule

We can provide training at your site as soon as Covid travel restrictions ease.

We teach this course on a regular basis in both Europe and the United States. Previous courses have been taught in Detroit, Munich, Austin, Singapore, Shanghai, Chicago, Glasgow, Lasi, Rockford, Hartford, London, Bangalore, Napoli, and many other places.

Location
Dates
Registration
Details
Detroit, MI
Zoom - 2021 Tuesday September 7 to Friday September 17. 2 to 3 hours per day. Starting 1 PM GMT, 8 AM in Detroit, 9 PM in Shanghai.
Call 503.533.0271 or register online with credit card purchase
Munich, Germany
See zoom course, above (Covid).
Call 503.533.0271 or register online with credit card purchase
Shanghai, China
See zoom course, above (Covid).
Contact Sandy Gu at sandy.gu@qast.com
QAST facility in Shanghai, China

Syllabus

Day 1

  • Tools Installation and Introduction. Step-by-step installation guide of ASH WARE's eTPU/eTPU2 C Compiler (ETEC) and ASH WARE's eTPU2+ DevTool. Brief tour of the IDE including stepping, breakpoints, examining trace data, measuring pulse widths using waveform window. Brief tour of the compiler including compiling, project files, multi-file projects, command line, and library directory. Student will modify some eTPU code to perform a calculation, compile, run in simulation and verify calculation.
  • Channel Hardware Basics. A "C-centric" introduction to fundamental channel hardware concepts. Sampling input pin state versus detection of an edge and recording the time at which that edge occurred. Forcing an output pin to a state versus scheduling a output pin edge to occur at a particular future point in time.
  • Events and Event Handling. The eTPU is an event servicing device. Using the eTPU compiler to create an event vector table. Examine event and thread response timing diagrams to see where event servicing occurs.

Day 2

  • Channel Hardware Details. Step through each of the fields used to program the channel hardware. A step-by-step guide to setting up matches and transition detection.
  • The Programming Model. Essentially a programmers' model chapter, with emphasis on context and thread issues. Key data type, function variables, explained in detail including memory map. Other miscellaneous issues.
  • Basic Tools Issues. Automated testing using the IDE (simulation), including data flow, behavior verification, and code coverage. Auto-code generation in the Compiler solves two-copy problem. Example host-side drivers with auto-code generated from the Compiler.

Day 3

  • Channel Hardware Modes. Explain details of match/transition and action unit A/B using the channel "mode". A problem-solving approach: "How to solve problem X? Use channel mode Y."? Includes the eTPU2 User Designed Channel Mode.
  • Angle Mode/Motor Control. Angle mode hardware is a digital phase lock loop (PLL) with a software assist. Underlying concepts and details on the software assist. Motor control covers NXP's set 4 drivers.
  • Scheduler. The round robin scheduler algorithm. Calculating worst case latency. Statistical latency analyses using post processing trace-dump files.

Day 4 (available upon request)

  • Assistance with the architecture of a customer's design

Included with the course itself is a set of printed course notes that provide labs at the end of each chapter.

Related Training Offerings