Are these 5 registers required for 802.15.4 in Zephyr #nrf52480 #networking


Brenton Chetty
 

Hi Robert.

Thank you for the response, much appreciated.

I've noticed that when I grep'd the build directory for the sample "build/zephyr/misc/generated/syscalls_links/include_zephyr_drivers_gpio/gpio_cmsdk_ahb.h",  INTENSET and INTENCLR were found.
      /* Offset: 0x020 (r/w) interrupt enable set register */
      volatile uint32_t intenset;
      /* Offset: 0x024 (r/w) interrupt enable clear register */
      volatile uint32_t intenclr;

I think the issue is with the EGU3 registers not being implemented in Renode. I will look further into it.

With thanks
Brenton


On Wed, Sep 28, 2022 at 10:57 AM Lubos, Robert <Robert.Lubos@...> wrote:

Hi Brenton,

 

I’ve reached out to the radio driver development team and here’s the response I’ve got:


“As far as I know, TEMP:TASKS_START is used by the Zephyr's temperature sensor implementation to fetch current temperature. Related links:

https://github.com/zephyrproject-rtos/zephyr/blob/main/modules/hal_nordic/nrf_802154/sl_opensource/platform/nrf_802154_temperature_zephyr.c#L41

https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/sensor/nrf5/temp_nrf5.c#L37

 

That's hardly critical for 802.15.4 operation. I'd assume that if the user runs into problems when trying to make 802.15.4 samples run out of the box on Renode, the temperature platform can be modified to be empty so that the unimplemented register is not used anymore.

 

I'm not aware of usage of any of the remaining four registers in 802.15.4 context.”

 

I hope that helps.

 

Regards,

Robert

 

From: users@... <users@...> On Behalf Of Brenton Chetty via lists.zephyrproject.org
Sent: wtorek, 27 września 2022 19:29
To: users@...
Subject: [Zephyr-users] Are these 5 registers required for 802.15.4 in Zephyr #nrf52480 #networking

 

Hi, I am trying to run Zephyr 802.15.4 samples in Renode for the NRF52840.

On Renode I receive warnings that Renode does not implement the following 5 registers:

  • NVMC:ICACHECNF
  • EGU3:INTENSET
  • EGU3:INTENCLR
  • TEMP:INTENSET
  • TEMP:TASKS_START

Are these registers critical for 802.15.4 or openthread on Zephyr?

I managed to successfully run BLE Zephyr samples on Renode even though renode gives warnings that the following 2 registers are unimplemented"

  • NVMC:ICACHECNF
  • TEMP:INTENSET

Regards
Brenton


Lubos, Robert
 

Hi Brenton,

 

I’ve reached out to the radio driver development team and here’s the response I’ve got:


“As far as I know, TEMP:TASKS_START is used by the Zephyr's temperature sensor implementation to fetch current temperature. Related links:

https://github.com/zephyrproject-rtos/zephyr/blob/main/modules/hal_nordic/nrf_802154/sl_opensource/platform/nrf_802154_temperature_zephyr.c#L41

https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/sensor/nrf5/temp_nrf5.c#L37

 

That's hardly critical for 802.15.4 operation. I'd assume that if the user runs into problems when trying to make 802.15.4 samples run out of the box on Renode, the temperature platform can be modified to be empty so that the unimplemented register is not used anymore.

 

I'm not aware of usage of any of the remaining four registers in 802.15.4 context.”

 

I hope that helps.

 

Regards,

Robert

 

From: users@... <users@...> On Behalf Of Brenton Chetty via lists.zephyrproject.org
Sent: wtorek, 27 września 2022 19:29
To: users@...
Subject: [Zephyr-users] Are these 5 registers required for 802.15.4 in Zephyr #nrf52480 #networking

 

Hi, I am trying to run Zephyr 802.15.4 samples in Renode for the NRF52840.

On Renode I receive warnings that Renode does not implement the following 5 registers:

  • NVMC:ICACHECNF
  • EGU3:INTENSET
  • EGU3:INTENCLR
  • TEMP:INTENSET
  • TEMP:TASKS_START

Are these registers critical for 802.15.4 or openthread on Zephyr?

I managed to successfully run BLE Zephyr samples on Renode even though renode gives warnings that the following 2 registers are unimplemented"

  • NVMC:ICACHECNF
  • TEMP:INTENSET

Regards
Brenton


Brenton Chetty
 

Hi, I am trying to run Zephyr 802.15.4 samples in Renode for the NRF52840.

On Renode I receive warnings that Renode does not implement the following 5 registers:
  • NVMC:ICACHECNF
  • EGU3:INTENSET
  • EGU3:INTENCLR
  • TEMP:INTENSET
  • TEMP:TASKS_START
Are these registers critical for 802.15.4 or openthread on Zephyr?

I managed to successfully run BLE Zephyr samples on Renode even though renode gives warnings that the following 2 registers are unimplemented"
  • NVMC:ICACHECNF
  • TEMP:INTENSET
Regards
Brenton