How do you use the .ucf file generated by the UNICO GUI and why do the outputs seem to make no sense, comparing it to the register description found in the data sheet?
I am working with the Sensortile.Box right now. More specifically, I want to configure the pedometer function with the MLC to work with certain configurations. The accelerometer has to be set to 16g Full Scale, because of a fall-detection functionality in our project. So we can not use examples, which are mostly configured for 2 or 4g.
I am working with the Unico GUI in offline mode, I have no motherboard to connect the box.
After getting some sample patterns and feeding them to the regression tool, a ucf was generated, which I then converted to c code and put it into my firmware using the STM32CubeIDE.
Heres the Problem: The ucf is, if I interpret it correctly, just a list of register addresses and the value to be written there. But if you look into the data sheet and try to understand, what is happening, it seems, that there are some entries, that do not make any sense.
For example, like you can see in the picture, access to the embedded functions is enabled, then page 1 is selected trough the PAGE_SEL register.
After that, adresses like C8h are given to the PAGE_ADDRESS register, which do not exist on page 1 of the advanced embedded registers.
So, do I interpret the process wrong, or why do the values make no sense?
Further, is there a simple way to load the ucf into the Box, without UNICO GUI in online mode?
I think my Problem is very similar to this one, but since there are no official answers, I am asking again myself.
I would be thankful for a quick answer,
Thanks and with kind regards,
K. Werner.
