This is a request for TI to complete the random number facilities in the CC2530 HAL or to redirect me to an updated source library containing related source code.
Background:
TI has distributed source code, CC2530 Software Examples (Rev. B), distributed as 'swrc135b'. The source code / functionality related to random number generation and the CC2530 random number SFRs has not been implemented. Comments confirming this are contained in hal_rf.c. A few lines of code from swrc135b hal_rf.c are included below for immediate reference.
------------
hal_rf.c
------------
@fn halRfInit
@brief Power up, sets default tuning settings, enables autoack, enables random generator.
uint8 halRfInit(void)
{
....
// Enable random generator -> Not implemented yet
....
}
@fn halRfGetRandomByte
@brief Return random byte
uint8 halRfGetRandomByte(void)
{
// Not yet implemented
HAL_ASSERT(FALSE);
return 0;
}