I wonder if the source code of the original demo software that is blinking the LEDs is available?
the project is attached.
Then you can find some examples in this application note:
And other examples are here:
Retrieving data ...