Emulating NXP S32K148 Microcontrollers and Peripherals Using QEMU or Renode or IAR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Emulating NXP S32K148 Microcontrollers and Peripherals Using QEMU or Renode or IAR

3,151 Views
mjalili27
Contributor I

I'm currently working on a project involving NXP S32Kxxx microcontrollers and their peripherals, specifically the ADC (Analog-to-Digital Converter). To facilitate development and testing, I'm exploring emulation and simulation tools like QEMU and Renode.

I have a few questions related to this:

  1. QEMU for NXP S32Kxxx: Has anyone successfully used QEMU to emulate NXP S32K148 microcontrollers or similar automotive-grade microcontrollers from NXP? If so, could you provide insights into how to set up QEMU for this purpose and any available resources or repositories?

  2. Renode for Peripheral Emulation: Similarly, I'm interested in emulating the ADC peripheral. Has anyone employed Renode to simulate NXP S32K148 peripherals, especially the ADC module? Are there any existing device or peripheral models available for Renode that could be useful for this purpose?

  3. Best Practices: What are the best practices, tips, and potential challenges I should be aware of when using QEMU or Renode for emulating NXP S32K1xx microcontrollers and their peripherals?

  4. Integration with Development Environments: How well do these emulation solutions integrate with common development environments for NXP microcontrollers, such as NXP's own IDEs or toolchains?

  5. IAR Simulation: is IAR Simulation can be used to set and control various digital or analog data for peripherals for testing purposes. is IAR Simulation can be used like qemu or renode?

I'm eager to explore emulation as a means to expedite testing and development, so any insights, experiences, or resources you can share would be greatly appreciated.

Thank you for your time and assistance!

0 Kudos
Reply
3 Replies

3,114 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @mjalili27 

something similar was already discussed here:

https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Simulator-for-S32k14x-devices/td-p/7607...

There are no simulators/emulators for S32K1 devices. As mentioned in that thread, I can see only option to test some generic C code on an ARM core.

Regards,

Lukas

0 Kudos
Reply

3,108 Views
mjalili27
Contributor I

thanks @lukaszadrapa for your response, i need to simulate peripherals and digital/analog input/outputs in order to do a system-level test. iar can not do this due to limitations on peripherals and controlling digital/analog input/outputs. also Renode for nxp peripheral emulation is limited as qemu. is there any VDK or V-ECU like solution available?

0 Kudos
Reply

3,100 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

No, we do not provide VDK or V-ECU for these devices.

Regards,

Lukas

0 Kudos
Reply