Hi *! thanks for your help and links. I am still don't know the exact problem ... but at least I know now tech details about NRF51 - registers and memory maps, yehiii I "attached" some mapping script, would be nice if u send me the output. https://github.com/rfswarm/nrf51_mapping/blob/master/nrf51_mapping.c u see my rfduino output on: https://github.com/rfswarm/nrf51_mapping/blob/master/nrf51_mapping.log The power state looks strange, that's my only idea so far. the rfduino got a pin label "RESET" that is used for the swd pins.hmm... I am switching to my *finaly arrived* nrf51422-dk (pca1006, pca1007) - I want some random working tonight..
frank, did u use jlink or stm2 flasher adn did u leave the fladsher connected when u started the previous code? (u are connected via uart right?) have fun > > > > > Hauke Petersen <[email protected]> hat am 17. Januar 2015 um > > > 18:24 > > > geschrieben: > > > > > > 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]> > > > > > <mailto:[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] <mailto:[email protected]> > > > > > http://lists.riot-os.org/mailman/listinfo/devel > > > > > > > > > > > > > > > > _______________________________________________ > > > > devel mailing list > > > > [email protected] <mailto:[email protected]> > > > > http://lists.riot-os.org/mailman/listinfo/devel > > > > > > > > > > > > > > _______________________________________________ devel mailing list [email protected] http://lists.riot-os.org/mailman/listinfo/devel
