Skip to main content
Visitor II
November 24, 2024
Question

STHS34PF80 code to access SEL_ABS bit in ALGO_CONFIG register

  • November 24, 2024
  • 1 reply
  • 574 views

STHS34PF80 code needed to access SEL_ABS bit in ALGO_CONFIG embedded register Address: 28H using Arduino Nano

I would like to know how to generate the code to set SEL_ABS bit in ALGO_CONFIG embedded register using Arduino Nano Board as the micro-controller.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    November 26, 2024

    Hi @mikeju ,

    As reported in the section 2.1 of the AN5867, to access the embedded funcions registers, you must write the FUNC_CFG_ACCESS bit in the CTRL2 (21h) register to 1.

     

    Then, you can change the values of all the embedded functions registers.