Hi guys,

I would propose you take a good look at the NRFs errata sheet: it's (i) quite long and (ii) tells you lot's of things that work on one stepping but do not work on another... I took my for example quite some time to find out, that my NRF bords have their timers fixed to 24-bit width (as opposed to the description in the datasheet..) I could imagine the RNG module is also effected...

Cheers,
Hauke


On 17.01.2015 11:21, Jan Wagner wrote:
hello frank
sh... - oh great....
if you find time maybe you can tell me more about the POWER reg/address. I read the man and power section etc. but still dont know
how to calculate POWER 0x00000ffc.
ps. my dk should arrive in some hours... so i have an alternative board(s) - test performed on rfduino...
thanks for your input hm output :)
> Frank <[email protected]> hat am 17. Januar 2015 um 10:44 geschrieben:
>
>
> Hello Jan,
>
> When i start tests/periph_random example i get random numbers. Your
> code produces this output on PCA10000 board:
>
> 2015-01-17 10:42:12,988 - INFO # [DEBUG: NRF_RNG.POWER: 0x00000001]
> 2015-01-17 10:42:12,991 - INFO # [DEBUG: NRF_RNG.TASKS_START: 0x00000000]
> 2015-01-17 10:42:12,995 - INFO # Initializing Random Number Generator
> driver.
> 2015-01-17 10:42:12,995 - INFO #
> 2015-01-17 10:42:12,997 - INFO # random_init()
> 2015-01-17 10:42:14,000 - INFO # [DEBUG: NRF_RNG.POWER: 0x00000001]
> 2015-01-17 10:42:14,004 - INFO # [DEBUG: NRF_RNG.TASKS_START: 0x00000000]
> 2015-01-17 10:42:14,004 - INFO #
> 2015-01-17 10:42:14,005 - INFO # Memory map:
> 2015-01-17 10:42:14,008 - INFO # NRF_RNG_BASE: 0x4000d000
> 2015-01-17 10:42:14,010 - INFO # ->TASKS_START 0x00000000
> 2015-01-17 10:42:14,013 - INFO # ->TASKS_STOP 0x00000004
> 2015-01-17 10:42:14,016 - INFO # ->EVENTS_VALRDY 0x00000100
> 2015-01-17 10:42:14,018 - INFO # ->SHORTS 0x00000200
> 2015-01-17 10:42:14,020 - INFO # ->INTENSET 0x00000304
> 2015-01-17 10:42:14,023 - INFO # ->INTENCLR 0x00000308
> 2015-01-17 10:42:14,025 - INFO # ->CONFIG 0x00000504
> 2015-01-17 10:42:14,027 - INFO # ->VALUE 0x00000508
> 2015-01-17 10:42:14,030 - INFO # ->POWER 0x00000ffc
> 2015-01-17 10:42:14,030 - INFO #
> 2015-01-17 10:42:14,032 - INFO # [DEBUG: NRF_RNG.POWER: 0x00000001]
> 2015-01-17 10:42:14,034 - INFO # NRF_RNG->POWER=1
> 2015-01-17 10:42:15,037 - INFO # [DEBUG: NRF_RNG.POWER: 0x00000001]
> 2015-01-17 10:42:15,038 - INFO #
> 2015-01-17 10:42:15,041 - INFO # [DEBUG: NRF_RNG.TASKS_START: 0x00000000]
> 2015-01-17 10:42:15,043 - INFO # NRF_RNG->TASKS_START=1
> 2015-01-17 10:42:16,047 - INFO # [DEBUG: NRF_RNG.TASKS_START: 0x00000000]
>
> _______________________________________________
> devel mailing list
> [email protected]
> http://lists.riot-os.org/mailman/listinfo/devel


_______________________________________________
devel mailing list
[email protected]
http://lists.riot-os.org/mailman/listinfo/devel

_______________________________________________
devel mailing list
[email protected]
http://lists.riot-os.org/mailman/listinfo/devel

Reply via email to