Hi Gustavo,
I have tested only yesterday your code... It works well. Thanks.
I have just noted a small bug, not a real issue: when I use an external clock, and when I want to come back to internal clock, it doesn't work. As a consequence, it is required to proceed to a hardware reset of the eval board.
Best regards,
Joffray.