| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- {
- "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
- },
- "outputs": {
- "ptc_count": 24,
- "fan_count": 4,
- "pwm_bits": 8,
- "pwm_frequency_hz": 20,
- "ptc_polarity": "active_high",
- "fan_polarity": "active_low",
- "ptc_default": 0,
- "fan_default": 26,
- "fan_connector_active_level": "high",
- "fan_board_inverts": true,
- "solenoid_policy": "constant_safe_zero",
- "z_policy": "constant_zero"
- },
- "motors": {
- "count": 2,
- "fixed_steps": 450,
- "execution": "serial",
- "order": ["inlet", "outlet"],
- "step_rate_hz": 1000,
- "step_half_cycles": 12500,
- "dir_setup_cycles": 25000,
- "direction_values": [0, 1],
- "direction_meaning": {"0": "open", "1": "close"},
- "limits": "none",
- "mapping": {
- "inlet": {"axis": "x", "step_ball": "C11", "dir_ball": "B12"},
- "outlet": {"axis": "y", "step_ball": "D15", "dir_ball": "H14"}
- },
- "enable_n": {"ball": "A10", "policy": "constant_low_enabled"}
- },
- "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",
- "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",
- "solenoid": "P5",
- "z_step": "H12",
- "z_dir": "F14",
- "ls1": "B9",
- "ls2": "A11",
- "ptc_pwm": ["F16", "G16", "T4", "R5", "T6", "R7", "M1", "N1", "P1", "R1", "T2", "R3", "P16", "R16", "M16", "N16", "P8", "P7", "T9", "P9", "P10", "R10", "T13", "T12"],
- "fan_pwm": ["C4", "B5", "B1", "A14"]
- },
- "resources": {
- "target_ram_blocks": 1,
- "request_ram_blocks": 1,
- "temperature_ram_blocks": 1,
- "dsp": 0,
- "shared_pwm_comparators": 1,
- "shared_motor_executors": 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,
- "temperature_data": 130
- }
- },
- "timeouts": {
- "frame_inter_byte_ms": 10,
- "host_get_response_ms": 5000
- }
- }
|