This demo (apb3Demo directory) shows how to use an APB3 slave peripheral where APB3 slave is attached to a pseudorandom number generator. When user run the application, the Sapphire SoC programs the APB3 slave to stop generating a new random number and reads the last random number generated. The test passes if the returned data is a non-zero value.
By default, newlib-nano is used for this demo.
The following shows the expected execution sequence: