Original title:
Simulation of MCU hardware peripherals
Translated title:
Simulace hardwarových periferií MCU
Authors:
Bartosinski, Roman ; Kadlec, Jiří Document type: Papers Conference/Event: Technical Computing Prague 2007, Praha (CZ), 2007-11-14 / 2007-11-14
Year:
2007
Language:
eng Abstract:
[eng][cze] 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.Č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í.
Keywords:
generated code; MCU peripheral; simulation; simulink Project no.: CEZ:AV0Z10750506 (CEP), 1ET400750406 (CEP) Funding provider: GA AV ČR Host item entry: Technical Computing Prague 2007, ISBN 978-80-7080-658-6
Institution: Institute of Information Theory and Automation AS ČR
(web)
Document availability information: Fulltext is available at the institute of the Academy of Sciences. Original record: http://hdl.handle.net/11104/0150861