Title :
Rapid Control Prototyping toolbox for Renesas M32C87 microcontroller
Author :
Duma, R. ; Petreus, D. ; Sita, V.I. ; Dobra, P. ; Rusu, A.
Author_Institution :
Tech. Univ. of Cluj-Napoca, Cluj-Napoca, Romania
Abstract :
The paper presents a Rapid Control Prototyping (RCP) toolbox for Matlab/Simulink, which can be used to generate real-time C code for the Renesas M32C87 microcontroller. The toolbox, Target for Renesas M32C87, contains Simulink blocks, which implement drivers and algorithms specific for the M32C87 processor, grouped in four libraries: I/O drivers, Digital Motor Control (DMC), Controller Area Network (CAN) and Serial Communication Interface (SCI). Control algorithms, for the M32C87 microcontroller can be developed using blocks from the Target for Renesas M32C87 toolbox and predefined blocks from Simulink or user defined blocks. After the validation of the model the cod generation process can be invoked. At the end of the code generation process the High-performance Embedded Workshop (HEW) Integrated Development Environment (IDE) is automatically started, a new HEW project is created, the generated code-source files are added to the project, the project is compiled and the binary file is downloaded to the target processor. The execution of the code can be monitored in real-time using the implemented CAN drivers.
Keywords :
circuit simulation; electronic engineering computing; microcontrollers; I/O drivers; Matlab; Renesas M32C87 microcontroller; Simulink; controller area network; digital motor control; high-performance embedded workshop; integrated development environment; rapid control prototyping toolbox; real-time C code; serial communication interface; Automatic control; Communication system control; Control systems; Digital signal processing; Hardware; Mathematical model; Microcontrollers; Monitoring; Prototypes; Software prototyping;
Conference_Titel :
Automation Quality and Testing Robotics (AQTR), 2010 IEEE International Conference on
Conference_Location :
Cluj-Napoca
Print_ISBN :
978-1-4244-6724-2
DOI :
10.1109/AQTR.2010.5520902