samna.speck2dMiniTestBoard#

Submodules#

Module content#

class samna.speck2dMiniTestBoard.MeasurementChannels#

Bases: pybind11_object

Members:

Io

Ram

Logic

PixelDigital

PixelAnalog

property name#
class samna.speck2dMiniTestBoard.PowerModule#

Bases: pybind11_object

A handle which offers basic power api.

get_adc_core(self: samna.speck2dMiniTestBoard.PowerModule) samna.unifirm.adc.ads1119.Ads1119#
get_adc_io(self: samna.speck2dMiniTestBoard.PowerModule) samna.unifirm.adc.ads1119.Ads1119#
set_vdd_io(self: samna.speck2dMiniTestBoard.PowerModule, arg0: float) None#

Set IO Power Supply

set_vdd_logic(self: samna.speck2dMiniTestBoard.PowerModule, arg0: float) None#

Set Digital Power Supply

set_vdd_pixel_analog(self: samna.speck2dMiniTestBoard.PowerModule, arg0: float) None#

Set Pixel Field Analog Power Supply

set_vdd_pixel_digital(self: samna.speck2dMiniTestBoard.PowerModule, arg0: float) None#

Set Pixel Field Digital Power Supply

set_vdd_ram(self: samna.speck2dMiniTestBoard.PowerModule, arg0: float) None#

Set SRAM Power Supply

class samna.speck2dMiniTestBoard.Speck2dMiniTestBoard#

Bases: pybind11_object

Composite object that allows access to all the board features of a Speck 2d-mini testboard.

get_dac(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) samna.unifirm.dac.dac7678.Dac7678#
get_firmware_versions(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) samna.boards.common.FirmwareVersions#

Get the Fxtree and Unifirm versions of this board.

get_io_module(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) samna.speck2dMiniTestBoard.UnifirmModule#
Returns:

A handle to the unifirm IO module. Useful in debug scenarios.

get_model(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) samna.speck2dMini.Speck2dMiniModel#

Get the model of the Speck 2d-mini device on this board.

Returns:

Speck2dMiniModel

get_model_sink_node(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) samna.DeviceSinkNode_speck2d_mini_event_input_event#

Convenience function to get the model sink node directly

get_model_source_node(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) samna.DeviceSourceNode_speck2d_mini_event_output_event#

Convenience function to get the model source node directly

get_power_module(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) samna.speck2dMiniTestBoard.PowerModule#
get_power_monitor(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) samna.boards.common.power.PowerMonitor#
Returns:

A handle to an PowerMonitor object which is used to read power.

get_reader_writer(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) unifirm::UnifirmReaderWriter#
get_stop_watch(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) samna.unifirm.timestamp.StopWatch#
Returns:

A handle to the stopwatch object to control timestamp in events, for debug purpose. See StopWatch

read_write(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) None#
reset_board_hard(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard, arg0: bool) None#

Reset the whole board and select where the configuration comes from fro the Speck 2d-mini chip (External flash or PC).

Parameters:

bootFromPc (bool) – False if there is an external flash contains valid data, otherwise it has to be set to True.

reset_model(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard, arg0: bool) None#

Reset the Speck 2d-mini chip and select where the configuration comes from (External flash or PC).

Parameters:

bootFromPc (bool) – False if there is an external flash contains valid data, otherwise it has to be set to True.

start_reader_writer(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) None#
stop_reader_writer(self: samna.speck2dMiniTestBoard.Speck2dMiniTestBoard) None#