Skip to main content
sch0bert
Associate III
November 16, 2023
Solved

LIS2DUX12: Generated header file from Unico GUI has undefined addresses

  • November 16, 2023
  • 1 reply
  • 2455 views

Hello,

After generating my ucf file that I load to my LIS2DUX12 and verify that it works, I wanted to load the generated configuration through a microcontroller so I used the option in Unico GUI to generate the header file which later on I need to include in my project. After analyzing the content of the commands that is sending, I noticed that is sending commands to addresses not listed in the datasheet neither displayed in Unico GUI. This concerns me as these could be reserved registers and then damage the accelerometer:

sch0bert_0-1700153390945.png

Reviewing the datasheet, the highest address described is 0xB7:

sch0bert_1-1700153500397.png

Could you point me what is then wrong? Is it the documentation and Unico GUI or the generated file?

This topic has been closed for replies.
Best answer by Federica Bossi

Hi @sch0bert ,

Yes Unico GUI.

You can trust on the registers in the header file.

I can point out to my colleagues that it may be useful to include these registers in future releases.

1 reply

Federica Bossi
Technical Moderator
November 17, 2023

Hi @sch0bert ,

Those registers are reserved but the MLC tool is able to manage them so there isn't any risk to damage the accelerometer.

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.
sch0bert
sch0bertAuthor
Associate III
November 17, 2023

Hello @Federica Bossi

Thanks for the prompt response, what do you mean with the MLC tool? Unico GUI? 
So should I trust on the registers in the generated header file?

Will these registers be documented in a new document version?

Regards,

Pascal.

Federica Bossi
Federica BossiBest answer
Technical Moderator
November 20, 2023

Hi @sch0bert ,

Yes Unico GUI.

You can trust on the registers in the header file.

I can point out to my colleagues that it may be useful to include these registers in future releases.

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.