nrf-rs / nrf-pacs

Peripheral Access Crates (PACs) for nRF microcontrollers
BSD Zero Clause License
27 stars 11 forks source link

Added POWER register for TWIM peripheral. #18

Open Ardelean-Calin opened 1 year ago

Ardelean-Calin commented 1 year ago

Due to Errata 89 from the nrf52832 Erratas it may be necessary to alter some kind of hidden POWER register of the TWIM peripherals. This register is, according to the errata, found at address 0x4000_3FFC for TWIM0.

Unfortunately that POWER register is not described anywhere except in the Errata, it is not in the Register List of the nRF52832 datasheet.

I did have some problems with power consumption using the TWIM and GPIOTE peripherals and writing to address space 0x4000_3FFC as described in the errata fixes these power consumption issues, so that register exists, it is just not documented.

This PR adds said register to the SVD file.

image