{ "project_id": "prod2u-door-temp", "profile": "prod2u-normal-multiproject-115200-v1", "display_name": "Prod2U door and temperature controller", "device": { "family": "EF2", "part": "EF2L45BG256B", "clock_hz": 25000000, "clock_ball": "J1" }, "uart": { "baud": 115200, "data_bits": 8, "parity": "N", "stop_bits": 1, "flow_control": "none", "clks_per_bit": 217, "inter_byte_timeout_ms": 10, "rx_ball": "N11", "tx_ball": "M10" }, "outputs": { "ptc_count": 8, "fan_count": 4, "chamber_ptc_count": 4, "chamber_ptc_pairs": [ {"chamber": 1, "ptc_indices": [0, 1]}, {"chamber": 2, "ptc_indices": [2, 3]}, {"chamber": 3, "ptc_indices": [4, 5]}, {"chamber": 4, "ptc_indices": [6, 7]} ], "ptc_channels": [ {"index": 0, "name": "ptc1", "signal": "ptc_pwm_out[0]", "board_signal": "HEAT2", "ball": "G16", "connector": "CON18", "connector_pin": 3, "polarity": "active_high"}, {"index": 1, "name": "ptc2", "signal": "ptc_pwm_out[1]", "board_signal": "HEAT1", "ball": "F16", "connector": "CON18", "connector_pin": 1, "polarity": "active_high"}, {"index": 2, "name": "ptc3", "signal": "ptc_pwm_out[2]", "board_signal": "HEAT8", "ball": "N1", "connector": "CON27", "connector_pin": 3, "polarity": "active_high"}, {"index": 3, "name": "ptc4", "signal": "ptc_pwm_out[3]", "board_signal": "HEAT7", "ball": "M1", "connector": "CON27", "connector_pin": 1, "polarity": "active_high"}, {"index": 4, "name": "ptc5", "signal": "ptc_pwm_out[4]", "board_signal": "HEAT14", "ball": "R16", "connector": "CON28", "connector_pin": 3, "polarity": "active_high"}, {"index": 5, "name": "ptc6", "signal": "ptc_pwm_out[5]", "board_signal": "HEAT13", "ball": "P16", "connector": "CON28", "connector_pin": 1, "polarity": "active_high"}, {"index": 6, "name": "ptc7", "signal": "ptc_pwm_out[6]", "board_signal": "HEAT20", "ball": "P9", "connector": "CON29", "connector_pin": 3, "polarity": "active_high"}, {"index": 7, "name": "ptc8", "signal": "ptc_pwm_out[7]", "board_signal": "HEAT19", "ball": "T9", "connector": "CON29", "connector_pin": 1, "polarity": "active_high"} ], "fan_channels": [ {"index": 0, "name": "fan1", "signal": "fan_pwm_out[0]", "board_signal": "FAN_PWM3", "ball": "B1", "connector": "CON25", "connector_pin": 7, "polarity": "active_low"}, {"index": 1, "name": "fan2", "signal": "fan_pwm_out[1]", "board_signal": "FAN_PWM1", "ball": "C4", "connector": "CON8", "connector_pin": 7, "polarity": "active_low"}, {"index": 2, "name": "fan3", "signal": "fan_pwm_out[2]", "board_signal": "FAN_PWM2", "ball": "B5", "connector": "CON24", "connector_pin": 7, "polarity": "active_low"}, {"index": 3, "name": "fan4", "signal": "fan_pwm_out[3]", "board_signal": "FAN_PWM4", "ball": "A14", "connector": "CON26", "connector_pin": 7, "polarity": "active_low"} ], "pwm_bits": 8, "pwm_internal_width": 7, "pwm_max_duty": 100, "pwm_phase_count": 100, "pwm_slot_clks": 1042, "pwm_frequency_hz": 20, "pwm_actual_frequency_hz": 19.993602047, "ptc_polarity": "active_high", "fan_polarity": "active_low", "ptc_default": 0, "fan_default": 10, "fan_connector_active_level": "high", "fan_board_inverts": true, "boot_targets": {"ptc": 0, "fan": 10} }, "doors": { "scope": "four_chamber_thermal_plus_chamber1_three_doors", "chamber_controlled": 1, "door_axes": ["x", "y", "z"] }, "motors": { "count": 3, "order": ["x", "y", "z"], "role": "door", "execution": "overlap", "step_rate_hz": 1000, "step_half_cycles": 12500, "motion_service_us": 25, "motion_service_clks": 625, "phase_factor": 5120, "profile_full": 256, "profile_scale_q8": [64, 66, 73, 84, 98, 114, 132, 150, 170, 188, 206, 222, 236, 247, 254, 256], "cal_ramp_unit": 8, "scheme": "A_full_feature_per_axis_kernels_shared_slow_arith", "dir_setup_cycles": 25000, "open_dir_value": 0, "close_dir_value": 1, "dir_close_level": [1, 1, 1], "positioning": { "mode": "percent_close", "percent_min": 0, "percent_max": 100, "open_endpoint_percent": 0, "close_endpoint_percent": 100, "mid_percent_min": 1, "mid_percent_max": 99, "rounding": "half_up", "mid_clamp": "1_to_travel_minus_1", "latest_wins": true, "idempotent_same_target": true, "command_interrupt": "finish_current_high_pulse_then_replan", "shared_percent_planner": true, "planner_count": 1, "endpoint_guard_extra_steps": 500 }, "mapping": { "x": {"axis": "x", "role": "door", "step_ball": "C12", "dir_ball": "B12", "step_connector": "CON104", "step_connector_pin": 2, "dir_connector": "CON104", "dir_connector_pin": 3}, "y": {"axis": "y", "role": "door", "step_ball": "L12", "dir_ball": "J11", "step_connector": "CON105", "step_connector_pin": 2, "dir_connector": "CON105", "dir_connector_pin": 3}, "z": {"axis": "z", "role": "door", "step_ball": "L14", "dir_ball": "K14", "step_connector": "CON106", "step_connector_pin": 2, "dir_connector": "CON106", "dir_connector_pin": 3} }, "enable_n": { "ball": "C11", "connector": "CON120", "connector_pin": 2, "active_level": "low", "policy": "permanent_high", "notes": "NPN open-collector invert at board; FPGA drives constant 1 so connector EN is permanently asserted." } }, "limits": { "limit_count": 6, "active_level": "high", "limit_active_high": [true, true, true], "close_limit_is_ls": [true, true, true], "functional_use": true, "runtime_use": true, "startup": { "enabled": true, "mode": "seek_close_then_measure_open", "max_steps": 5000, "min_travel_steps": 2, "step_rate_hz": 1000, "axis_order": ["x", "y", "z"], "calibration_schedule": "serial_xyz", "runtime_overlap_allowed": true, "final_position": "open", "limit_stop_during_move": true, "stop_semantics": "truncate_current_high_pulse_immediately_after_synchronized_limit", "additional_rising_edges_after_synchronized_limit": 0, "runtime_limit_use": true, "partial_axis_failure_allowed": true, "fault_lock_until_reset": true }, "channels": [ {"name": "x_limit_ls", "ball": "A5", "connector": "CON12", "connector_pin": 1, "side": "low"}, {"name": "x_limit_hs", "ball": "B6", "connector": "CON12", "connector_pin": 2, "side": "high"}, {"name": "y_limit_ls", "ball": "C8", "connector": "CON12", "connector_pin": 3, "side": "low"}, {"name": "y_limit_hs", "ball": "A8", "connector": "CON12", "connector_pin": 4, "side": "high"}, {"name": "z_limit_ls", "ball": "K16", "connector": "CON129", "connector_pin": 1, "side": "low"}, {"name": "z_limit_hs", "ball": "J15", "connector": "CON129", "connector_pin": 2, "side": "high"} ] }, "temperature": { "value_count": 27, "device_addresses": [73, 72, 75], "registers": [0, 1, 2, 3, 4, 5, 6, 7, 8], "scl_ball": "M8", "sda_ball": "N9", "bus": "i2c", "device": "CT7428", "invalid_value": 255, "maximum_celsius": 150, "conversion": { "profile": "ct7428-msb-integer", "raw_shift": 7, "raw_width": 9, "reject_sign_bit": true } }, "pins": { "host_uart_rx": "N11", "host_uart_tx": "M10", "temp_scl": "M8", "temp_sda": "N9", "ptc_pwm": ["G16", "F16", "N1", "M1", "R16", "P16", "P9", "T9"], "fan_pwm": ["B1", "C4", "B5", "A14"], "motor_en_n": "C11", "x_step": "C12", "x_dir": "B12", "y_step": "L12", "y_dir": "J11", "z_step": "L14", "z_dir": "K14", "x_limit_ls": "A5", "x_limit_hs": "B6", "y_limit_ls": "C8", "y_limit_hs": "A8", "z_limit_ls": "K16", "z_limit_hs": "J15" }, "resource_policy": { "target_ram": "optional", "request_ram": "optional", "temperature_ram": "optional", "dsp": "optional", "bram": "optional", "shared_pwm_comparators": 1, "shared_percent_planner": 1, "shared_i2c_readers": 1 }, "protocol": { "header_hex": "A55A", "crc": { "name": "CRC-16/CCITT-FALSE", "polynomial": 4129, "initial": 65535, "reflect_input": false, "reflect_output": false, "xor_output": 0, "coverage": "type_length_payload", "wire_order": "little" }, "commands": { "set_all": 1, "get_temperature": 2, "get_motor_status": 3, "temperature_data": 130, "motor_status_data": 131 }, "set_all": { "payload_length": 11, "fan_offset": 0, "chamber_ptc_offset": 4, "chamber_ptc_count": 4, "z_door_offset": 8, "exhaust_x_offset": 9, "exhaust_y_offset": 10, "legacy_payload_length_rejected": 14, "duty_min": 0, "duty_max": 100, "door_percent_min": 0, "door_percent_max": 100, "door_percent_rejected_example": 101, "response": "none" }, "get_motor_status": { "payload_length": 0, "response": "motor_status_data" }, "temperature_data": { "payload_length": 27, "frame_length": 33 }, "motor_status_data": { "payload_length": 31, "frame_length": 37, "layout": "host-contract" } }, "timeouts": { "frame_inter_byte_ms": 10, "host_get_response_ms": 5000 }, "watchdog": { "timeout_seconds": 30, "tick_us": 500, "tick_clks": 12500, "timeout_ticks": 60000, "enable_after_startup_complete": true, "target": {"ptc": 0, "fan": 10} } }