cancel
Showing results for 
Search instead for 
Did you mean: 

STHS34PF80 code to access SEL_ABS bit in ALGO_CONFIG register

mikeju
Associate

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.

1 REPLY 1
Federica Bossi
ST Employee

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.