Simulating microcontroller peripherals is essential for efficient embedded system development. This thesis aims to create a Java-based discrete-time simulator for peripherals like FlexIO and SCTimer, enabling users to input parameters, execute simulations, and visualize behavior over time. This tool will benefit engineers and educators by providing a cost-effective way to test and develop embedded systems.
This phase reviews existing simulation tools and identifies their limitations, such as lack of flexibility and visualization. Java is selected for its portability and graphical capabilities. Detailed analysis of FlexIO and SCTimer functionalities ensures the simulator will accurately replicate their behaviors based on user-defined parameters.
The simulator's design includes a core simulation engine, peripheral modules, and a visualization interface. The engine manages time progression and interactions, while modules simulate specific peripheral behaviors. The visualization interface displays time-based behavior, offering clear insights. The modular design allows for future expansion to include more peripherals.
Implementation involves coding the core simulation engine in Java to handle time progression and event scheduling. Peripheral modules for FlexIO and SCTimer are developed to simulate their behaviors. A user-friendly interface is created for easy input of parameters and real-time visualization of peripheral operations.
Testing the simulator involves running various scenarios to ensure accuracy and reliability. Real-world peripheral behaviors are replicated, and the visualization is checked for clarity and usefulness. User feedback is collected to refine the simulator, ensuring it meets the needs of engineers and educators effectively.
In conclusion, this thesis presents a Java-based discrete-time simulator for microcontroller peripherals like FlexIO and SCTimer. The simulator's development is motivated by the need for cost-effective and efficient testing tools in embedded systems. Through careful analysis, design, implementation, and testing, the simulator proves to be a valuable tool for accurately simulating peripheral behaviors and providing clear visual insights. This work lays the foundation for future expansions and enhancements, contributing significantly to the field of embedded system development.
Language:
CZ/SK/EN
Leader:
Petr Hradsky
Contact:
University team NXP Semiconductors CZ