verylsi
Full Member level 2
- Joined
- Mar 12, 2012
- Messages
- 123
- Helped
- 16
- Reputation
- 32
- Reaction score
- 16
- Trophy points
- 1,308
- Activity points
- 2,130
Hello all,
The FPGA and ADC are communicating as follows :
FPGA asserts convert_start for 14 us , ADC sends ADC_busy signal 60 ns after the rising edge of convert_start and adc_busy remains high for 3 us.
After that FPGA reads data from the data lines.
In current running code : fpga asserts convert_start and waits for 5 us and assumes that adc_busy signal must have come and gone by 5 us.
Now I need to check the ADC_busy signal for 100 ns and if the adc_busy did not go high with in 100 ns, then the adc should be reset.
It sounds simple but as soon as I check for adc_busy signal the adc_busy signal stops coming at all.
New logic works fine with simulation.
My question is that ADC checks only for convert_start signal and after that within 60 ns it sends adc_busy signal.
Adc_busy signals are coming in the previous code then what could make adc stop responding with only checking the adc_busy?
I gone through the data sheet 20 times by now ...
( I cannot post the code for specific reasons )
Thanks
The FPGA and ADC are communicating as follows :
FPGA asserts convert_start for 14 us , ADC sends ADC_busy signal 60 ns after the rising edge of convert_start and adc_busy remains high for 3 us.
After that FPGA reads data from the data lines.
In current running code : fpga asserts convert_start and waits for 5 us and assumes that adc_busy signal must have come and gone by 5 us.
Now I need to check the ADC_busy signal for 100 ns and if the adc_busy did not go high with in 100 ns, then the adc should be reset.
It sounds simple but as soon as I check for adc_busy signal the adc_busy signal stops coming at all.
New logic works fine with simulation.
My question is that ADC checks only for convert_start signal and after that within 60 ns it sends adc_busy signal.
Adc_busy signals are coming in the previous code then what could make adc stop responding with only checking the adc_busy?
I gone through the data sheet 20 times by now ...
( I cannot post the code for specific reasons )
Thanks