Ústav teorie informace a automatizace

Jste zde

Bibliografie

Conference Paper (Czech conference)

Simulation of MCU hardware peripherals

Bartosinski Roman, Kadlec Jiří

: Technical Computing Prague 2007, p. 1-7

: Technical Computing Prague 2007, (Praha, CZ, 14.11.2007-14.11.2007)

: CEZ:AV0Z10750506

: 1ET400750406, GA AV ČR

: MCU peripheral, simulation, simulink, generated code

(eng): This paper describes one possible way, how MCU hardware peripherals (e.g. PWMs, Timers, ADCs, etc.) can be simulated in Matlab/Simulink environment and how code controlling these peripherals can be generated. The described implementation of the MCU hardware peripherals is based on using function call outputs as peripheral interrupts and external blocks called Methods as peripheral control functions. In the generated code by Real-Time Workshop, the Method block is represented by directly called corresponding function of the used periphery.

(cze): Článek popisuje možný způsob simulace hardwarových periferií MCU (např. PWM, Časovač, ADC) v prostředí Matlab/Simulink. A způsob jak může být generován řídicí kód pro tyto periferie.Popisovaná implementace využívá signály funkčního volání jako funkce periferií. V generovaném kódu z RTW je speciální blok Method, který reprezentuje přímo volané funkce použitých periferií.

: JC

07.01.2019 - 08:39