| | |
| | | dw1000local.deviceID = dwt_readdevid() ; |
| | | while (DWT_DEVICE_ID != dw1000local.deviceID) // MP IC ONLY (i.e. DW1000) FOR THIS CODE |
| | | { |
| | | dw1000local.deviceID = dwt_readdevid() ; |
| | | dw1000local.deviceID = dwt_readdevid() ; |
| | | printf("UWBоƬID: 0x%x\r\n",dw1000local.deviceID); |
| | | } |
| | | |
| | | _dwt_enableclocks(FORCE_SYS_XTI); // NOTE: set system clock to XTI - this is necessary to make sure the values read by _dwt_otpread are reliable |
| | | if(module_power>36) |
| | | module_power=67; |
| | | if(module_power>36) |
| | | { |
| | | power_temp =(module_power-36); |
| | | }else{ |