Add SW changes for Rev3 #246
@ -39,5 +39,6 @@ internal enum AdcRegister : byte
|
|||||||
THUNDERSCOPEHW_ADC_REG_INSEL12 = 0x3A,
|
THUNDERSCOPEHW_ADC_REG_INSEL12 = 0x3A,
|
||||||
THUNDERSCOPEHW_ADC_REG_INSEL34 = 0x3B,
|
THUNDERSCOPEHW_ADC_REG_INSEL34 = 0x3B,
|
||||||
THUNDERSCOPEHW_ADC_REG_LVDS_CNTRL = 0x53,
|
THUNDERSCOPEHW_ADC_REG_LVDS_CNTRL = 0x53,
|
||||||
THUNDERSCOPEHW_ADC_REG_FS_CNTRL = 0x55
|
THUNDERSCOPEHW_ADC_REG_FS_CNTRL = 0x55,
|
||||||
|
THUNDERSCOPEHW_ADC_REG_RES_SEL = 0x53
|
||||||
}
|
}
|
||||||
|
@ -268,6 +268,9 @@ namespace TS.NET
|
|||||||
//currentBoardState.ch_is_on[0] = true;
|
//currentBoardState.ch_is_on[0] = true;
|
||||||
//_FIFO_WRITE(user_handle,currentBoardState.adc_chnum_clkdiv,sizeof(currentBoardState.adc_chnum_clkdiv));
|
//_FIFO_WRITE(user_handle,currentBoardState.adc_chnum_clkdiv,sizeof(currentBoardState.adc_chnum_clkdiv));
|
||||||
|
|
||||||
|
//Select 8-bit mode for HMCAD1520s
|
||||||
|
SetAdcRegister(AdcRegister.THUNDERSCOPEHW_ADC_REG_RES_SEL, 0x0000);
|
||||||
|
|
||||||
AdcPower(true);
|
AdcPower(true);
|
||||||
//_FIFO_WRITE(user_handle,currentBoardState.adc_in_sel_12,sizeof(currentBoardState.adc_in_sel_12));
|
//_FIFO_WRITE(user_handle,currentBoardState.adc_in_sel_12,sizeof(currentBoardState.adc_in_sel_12));
|
||||||
//_FIFO_WRITE(user_handle,currentBoardState.adc_in_sel_34,sizeof(currentBoardState.adc_in_sel_34));
|
//_FIFO_WRITE(user_handle,currentBoardState.adc_in_sel_34,sizeof(currentBoardState.adc_in_sel_34));
|
||||||
|
Loading…
Reference in New Issue
Block a user