|The University of Adelaide||Home | Departments | Search|
A Simulink target for real-time control using Infineon C167 microcontrollers
RTC167-Target is a MATLAB/Simulink block-set for real-time control on Infineon C167 microcontrollers. Using MathWorks Real-Time Workshop a Simulink block diagram can be directly built into a C167 target application without any low-level coding of the microcontroller. Once running, the target can be controlled from an associated host (PC). Host-target communication is based on a standard RS-232 serial link using a simple null-modem connection. Monitoring of live data as well as the on-the-fly download of process data are both provided through Simulinks External Mode communication interface. A useful extension of this interface has been devised to provide a number of user data channels through which a user can send and receive customised user data.
The present version of this toolbox has been developed and tested on MATLAB V6.1 (R12.1), using the KEIL compiler suite (C166) to build executables for the Phytec single-board computer phyCORE-167. Adaptations to other C167 based target boards should be reasonably easy. Details outlining the setting-up of the Phytec hardware can be found in appendix A of the RTC167-Target User Manual (Word 2000, <RTC167TARGET_ROOT>\docs\RTC167-Target.doc).
RTC167-Target is distributed as Free Software under the terms of the GNU Public License Agreement (GPL). The spirit of free software incorporates the users' freedom to run, copy, distribute, study, change and improve the software. Commercial developments based on RTC167-Target are permitted within the limits of the GPL.
The University of Adelaide, September 2005
The predecessor toolbox of RTC167-Target, MIRCOS-167, can be downloaded from the following links:
The toolbox has recently been ported to FreeScale microcontrollers (MC9S12DP256B/C). We use Wytec Dragon-12 and/or MiniDragon+ boards, but other boards should work as well (all ports can be configured via the RTW options page and/or the block mask). Follow this link to download the new toolbox. The corresponding manual exists in low resolution as well as in high resolution (pdf).