Hello, is it somehow possible to add peripheral registers to the data graph (timeline) window for graphical view.
Thank you.
[Blocked Image: https://pbs.twimg.com/media/F39gnTfXIAAQnPE?format=png&name=900x900]
[SOLVED] Add peripheral registers to Data Sampling (Data Graph / Timeline) view
-
skam -
August 20, 2023 at 6:26 PM -
Closed
-
-
Hi skam,
as long as the peripheral register is memory mapped and accessible, you can add a term such as
*(unsigned int*)(0x080000000)
to your Data Sampling window. Of course, you need to replace 0x080000000 with the address of your peripheral register. This should do the trick.Best regards
-- AlexD
-
Hi Alex,
thanks for your response. This works like a charm.Just a small observation. Not very important though.
You can see that in the 'Data sampling' window I have selected the expression to be displayed in Hex, where as the Timeline data graph by default shown the expression in decimal. I could not find a way to change the display type in the graph. Like said not very important and jfyi.Kind regards
-
Hi skam,
this is intended. Hex numbers are normally interpreted as unsigned, however in the graph window numbers are considered being signed.
Best regards
-- AlexD
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!