mrdimm-status.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. schema: prod2u-mrdimm-get-data-v1
  2. note: >-
  3. GET_DATA (type 0x42) payload for the MRDIMM FCB V1.2 product: 65 bytes. This
  4. is the complete externally visible state: currently effective output
  5. percentages, integer degrees Celsius, per-axis live limit masks, hood_switch
  6. (sampled only on GET_ALL, active-HIGH when pressed, default LOW/0), and
  7. buzzer_state. Requested/Applied duplication, motor running/remaining/queue
  8. depth, position, Tag, age, epoch, stale and watchdog remaining are deliberately
  9. absent.
  10. byte_order: little
  11. payload_type: 0x42
  12. payload_length: 65
  13. fields:
  14. - {name: fan_percent, type: u8, count: 4, unit: percent, semantics: currently_effective_connector_duty}
  15. - {name: ptc_percent, type: u8, count: 4, unit: percent, semantics: currently_effective_logical_ptc_duty}
  16. - {name: bmc_temp_c, type: u8, count: 24, unit: celsius, source: bmc_ascii}
  17. - {name: ct_temp_c, type: u8, count: 27, unit: celsius, source: ct7428_i2c}
  18. - {name: lower_limit_mask, type: u16le, semantics: live_lower_limit_per_axis}
  19. - {name: upper_limit_mask, type: u16le, semantics: live_upper_limit_per_axis}
  20. - {name: hood_switch, type: u8, count: 1, unit: bool, semantics: sampled_only_on_get_all_high_pressed_low_default}
  21. - {name: buzzer_state, type: u8, count: 1, unit: bool, semantics: currently_effective_buzzer_output}
  22. limit_masks:
  23. bit_order: axis0_is_bit0_axis11_is_bit11
  24. bits_0_to_11: Axis0..Axis11, 1 means that limit is active
  25. bits_12_to_15: must_be_zero
  26. no_event_history_and_no_latched_history_in_this_get: true
  27. a_segment_that_ended_on_a_limit_does_not_restart_when_the_switch_releases: true
  28. temperature_encoding:
  29. representation: uint8_celsius
  30. valid_range: [0, 254]
  31. invalid: 255
  32. rounding: truncate_fractional_part
  33. reject_before_truncation: [negative, at_or_above_255, acquisition_failure, never_sampled, untrusted_source]
  34. negative_never_becomes_valid_zero: true
  35. low_byte_truncation_of_16_bit_raw: forbidden
  36. two_byte_temperature_output: forbidden
  37. ff00_is_not_invalid: true
  38. host_side_scaling: none
  39. sdk_mapping: "None if byte == 0xFF else byte"
  40. temperature_never_decides_any_output: true
  41. output_defaults:
  42. ptc_percent: 0
  43. fan_percent: 20
  44. buzzer_state: 0
  45. note: >-
  46. GET returns the currently effective output. After a watchdog timeout it must
  47. return these defaults and never a stale bank, and GET continues to feed the
  48. watchdog while the default value stays.
  49. fan_ptc_mapping:
  50. fan_count: 4
  51. logical_ptc_count: 4
  52. physical_ptc_count: 24
  53. ptc_map: logical PTC0..3 each drive six physical PTC outputs (chamber N = physical 6N through 6N+5)
  54. pwm_hz: 20
  55. fan_duty_semantics: connector_requested_duty_not_rpm_not_airflow
  56. motor_axes:
  57. axis_count: 12
  58. axis_geometry: 12 logical axes; only PCB-bound limit pads are available in production
  59. limit_active_level: high
  60. live_limits_only: true