You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of the power-supply current controller loop is not synchronised with anything, it will start a new ADC conversion immediately after the previous finished:
adc_start <= adc_ready; -- FIXME: ADC conversions should start after
-- a integer number of clk_ref_i edges
endif;
endif;
endprocess;
Fixing this will require a major refactoring in rtmlamp_ohwr.vhd. The necessary steps to conclude this refactoring are the following:
Implement a configurable strobe generator that counts in RF/4 cycles;
Implement a CNV/LDAC pulse generator in a single core and use the readout (ADC) and writeout (DAC) interfaces directly;
Implement the state machines for waiting the strobe / generating the CNV/LDAC pulse, wait for the ADC and read the conversion result, write the DAC data;
Remove all CDC FIFOs and use gc_sync_word_rd / gc_sync_word_wr instead as we don't need to transfer data at consecutive clock cycles;
Implement current loop stuck detection and automatic disabling of the power amplifiers outputs;
Expose status flags via wishbone to indicate current loop stuck and strobe pulse lost conditions.
The text was updated successfully, but these errors were encountered:
The current implementation of the power-supply current controller loop is not synchronised with anything, it will start a new ADC conversion immediately after the previous finished:
rtm-lamp-gw/hdl/modules/rtmlamp_ohwr/rtmlamp_ohwr.vhd
Lines 499 to 512 in e144d66
Fixing this will require a major refactoring in rtmlamp_ohwr.vhd. The necessary steps to conclude this refactoring are the following:
The text was updated successfully, but these errors were encountered: