antenna_buffer
Overview
store a large snapshot of ADC data in the DDR memory.
Python Class & Methods Index
- class pyfabil.plugins.tpm.antenna_buffer.AntennaBuffer(board, samples_per_frame=864, **kwargs)[source]
AntennaBuffer plugin
- check_ddr_errors(show_result=True)[source]
Check there are no DDR read or write erros
- Returns:
False if there are any errors, True if no erros
- Type:
bool
- configure_ddr_write_length(ddr_start_byte_address, write_byte_size)[source]
Configures the amount of DDR to use for Writing. Alternatively, the buffer size can be configured using the method configure_nof_ddr_timestamps()
- configure_nof_ddr_timestamps(ddr_start_byte_address, nof_timestamp)[source]
Configures the DDR write memory from the timestamp duration to capture. Alternatively, the buffer size can be configured using the method configure_ddr_write_length()
- property ddr_write_busy
Checks if antenna buffer is currently writing to DDR and checks if DDR is ready for read access
- Returns:
True if DDR still busy and False when DDR is ready for read access
- Type:
bool
- one_shot(start_time=-1, delay=256)[source]
Method that will run the DDR write and read antenna buffer operations one after another for 1 timestamp worth of data. Mainly used for debugging the Plugin DDR write & read methods
- select_nof_antenna(antennas)[source]
Selects the number of antenna to calculate the DDR byte size per timestamp and to assign the antenna IDs
- Param:
nof_antenna
- Type:
integer list