Skip to main content

Random number generator (RNG)


(C) COPYRIGHT 2015 WIZnet Co.,Ltd.

  • file : Random_number_generation/readme.md
  • author : IOP Team
  • version : V1.0.0
  • date : 1-May-2015
  • brief : Description of random number generation example.

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, WIZNET SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.


Example Description

This example shows how to use RNG of W7500.

In this example:

    1. Read power on initial random number
    1. Read manual random number
    1. Change Seed value & polynomial and read manual random number

Directory contents

  • RNG/Random_number_generation/main.c (Main program)
  • RNG/Random_number_generation/W7500x_it.c (Interrupt Handlers)
  • RNG/Random_number_generation/W7500x_it.h (Interrupt Handlers Header file)
  • RNG/Random_number_generation/W7500x_conf.h (Library Configuration file)
  • RNG/Random_number_generation/MDK/W7500x_Random_number_generation.uvproj (MDK Project file)
  • RNG/Random_number_generation/GCC/Makefile (GCC Make file)

Hardware and Software environment

  • This example has been tested with WIZnet WIZwiki W7500 platform.

  • To select the WIZnet WIZwiki platform used to run the example.

  • WIZwiki W7500 Set-up

    • No need to hardware setup

How to use it ?

In order to make the program work, you must do the following :

  • Open your preferred toolchain.
  • Rebuild all files and load your image into target memory.
  • Run the example.
  • WIZwiki W7500 where the Flash memory density ranges 128Kbytes.
  • If you have any questions, please use the forum site.

Flow Chart

  • Read power on random number
  • Intialize to change RNG mode to manual run
  • Run RNG and STOP
  • Read generated random number
  • Change seed value or polynomial
  • And Run RNG and STOP again & read random number

© COPYRIGHT 2015 WIZnet Co.,Ltd.