Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to support SiLabs' EFM32PG28 & PG28-PK2506A #609

Open
sch0bert opened this issue May 8, 2024 · 1 comment
Open

Request to support SiLabs' EFM32PG28 & PG28-PK2506A #609

sch0bert opened this issue May 8, 2024 · 1 comment

Comments

@sch0bert
Copy link

sch0bert commented May 8, 2024

Description

I would like to request the support for the latest SiLabs EFM32PG28 as it includes new features that could benefit the community to try, ej AI/ML module and Arm Cortex-M33 core

The development board is the PG28-PK2506A

Usage example

Simulate the core and dev board.

Additional information

Datasheet: https://www.silabs.com/documents/public/data-sheets/efm32pg28-datasheet.pdf
Reference Manual: https://www.silabs.com/documents/public/reference-manuals/efm32pg28-rm.pdf

Dev Board datasheet: https://no.mouser.com/datasheet/2/368/ug545_efm32pg28_brd2506a_user_guide-3314819.pdf

Do you plan to address this issue and file a PR?

I tried to create the repl file based on the efm32g210.repl file but I don't know if the support of this microcontroller is part of the latest Renode version (1.15.0) as this file contains references such as "I2C.EFM32GGI2CController" where it points to the EFM32G family. Also, I don't know if there is such a "EFM32PG" family that can replace the reference "EFM32G" in the deviceInformation section.

@mateusz-holenko
Copy link
Member

Hi @sch0bert , thanks for asking the question.

As you've already mentioned Renode has support for many Silicon Labs platforms from different families.
Reusing peripheral models between them is a common pattern - in fact this is how the devices are built internally as well.
As long as registers layout and logic fits it's safe to mix them - in Renode they implement abstract interfaces which make them compatible with each other.

Right now we do not have EFM32xG2 series, but it seems that some peripherals are similar to EFR32BG27 which we support in our Zephyr Dashboard and Renodepedia.

That could be a good starting point for building a more complex simulation. The SoC you're working with might reuse part of those blocks or require models that differ just a bit.

The M33 CPU core itself is supported, see:

cpuType: "cortex-m33"
for an example.

Please remember that we accept contributions as well as provide commercial support in modeling of platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants