Skip to content

Silicon Labs Series-2 support: xG24, xG26 and minimal xG22#136

Closed
mananni-silabs wants to merge 1 commit into
renode:masterfrom
SiliconLabsSoftware:silabs/series2
Closed

Silicon Labs Series-2 support: xG24, xG26 and minimal xG22#136
mananni-silabs wants to merge 1 commit into
renode:masterfrom
SiliconLabsSoftware:silabs/series2

Conversation

@mananni-silabs

@mananni-silabs mananni-silabs commented Mar 12, 2025

Copy link
Copy Markdown
Contributor

Bringing in all the models, repl files and scripts involved in running Silicon Labs applications for the xG24 and xG26 platforms. Minimal support for xG22 is also included (no radio support, among others).
xG24 and xG26 models enable running 802.15.4-based applications (Zigbee, OpenThread, Connect, RAIL) and BLE-based applications, as well as dynamic multiprotocol (DMP) 802.15.4 + BLE applications.

@PiotrZierhoffer

Copy link
Copy Markdown
Member

Hi @mananni-silabs , thanks for a very extensive contribution!

We have merged it with 1733093.

We also introduced a range of changes, short summary here:

  1. Renamed the peripherals to include the EFR32XG2 prefix
  2. Moved radio EFR32xG24_Radio.cs from renode to renode-infrastructure (this was not possible before, but we restructured the project files)
  3. Removed some commented out code from different classes
  4. Not yet merged these unused peripherals. Could you provide details where they should be added?
    DCDC_2 (gen + impl)
    ULFRCO_1 (gen)
    MSC_9 (impl)
  5. Removed these unused helper classes:
    EMU_Base
    IEMU
  6. Removed Fault, IFault and "inlined" into EFR32xG2_LFXO_1.cs, EFR32xG2_CMU_3
  7. Extended constructor to pass a reference to other instance in repl instead of obtaining reference dynamically at runtime:
    Instead of dynamic reference in CMU_3: -> Added hfxo and dpll parameters
    Instead of dynamic reference in PRS_3 -> Added hfxo and sysrtc parameters
    These interfaces were removed as unused afterwards:
    IPRS
    ISYSRTC
  8. Simplified registers definition in SMU_1 from this to that.
  9. Replaced LogRegisterAccess/LogInterrupts options with built-in Noisy/Debug logLevel
  10. Replaced un-handled non-recoverable exceptions that could be reached at runtime with error logs and early returns, example 1, example 2, changed to error logs
  11. Replaced try{}finally{} logging constructs with if()else()
  12. Removed Symcrypto_1 from repl, because there was no such model in this PR - would you like to add it?
  13. Moved some peripherals to more appropriate namespaces

The files you provided will be reformatted using our recently published rules, but we also added the autogenerated files to the ignore list (they will not be reformatted).

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

Successfully merging this pull request may close these issues.

2 participants