prod2u_6400_v2.adc 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. # 6400 V2.0 Confirmed Pin Constraints (FCB_FPGA+MCU_V2.0_20260914.brd)
  2. # System Clock (25 MHz)
  3. set_pin_assignment { sys_clk } { LOCATION = J1; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
  4. # CON12 External STM32H7 TTL UART (921600 8N1)
  5. set_pin_assignment { host_ttl_rx } { LOCATION = J4; IOSTANDARD = LVCMOS33; PULLTYPE = PULLUP; }
  6. set_pin_assignment { host_ttl_tx } { LOCATION = K2; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
  7. # CON134 Secondary Host RS-232 UART (921600 8N1)
  8. set_pin_assignment { host_rs232_rx } { LOCATION = R13; IOSTANDARD = LVCMOS33; PULLTYPE = PULLUP; }
  9. set_pin_assignment { host_rs232_tx } { LOCATION = T14; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
  10. # CON77 BMC RS-232 UART (115200 8N1)
  11. set_pin_assignment { bmc_rs232_rx } { LOCATION = M9; IOSTANDARD = LVCMOS33; PULLTYPE = PULLUP; }
  12. set_pin_assignment { bmc_rs232_tx } { LOCATION = L10; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
  13. # CT7428 (U6 populated R1888/R1889 route is B14/A15; M8/N9 jumpers are NC) I2C Interface (Single chip U6: 0x49)
  14. set_pin_assignment { temp_scl } { LOCATION = B14; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
  15. set_pin_assignment { temp_sda } { LOCATION = A15; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
  16. # CT7428 (U6 populated R1888/R1889 route is B14/A15; M8/N9 jumpers are NC) Alternate Bus Pins (Reserved Hi-Z to prevent bus conflict)
  17. set_pin_assignment { temp_scl_alt } { LOCATION = M8; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
  18. set_pin_assignment { temp_sda_alt } { LOCATION = N9; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
  19. # Controlled SSR: 20 Hz; 6400高温罩电气图V3.0 Page 4 CON165.14/.13/.11 (CON165.12 NC)
  20. set_pin_assignment { ssr1_out } { LOCATION = E14; IOSTANDARD = LVCMOS33; }
  21. set_pin_assignment { ssr2_out } { LOCATION = E8; IOSTANDARD = LVCMOS33; }
  22. set_pin_assignment { ssr4_out } { LOCATION = D9; IOSTANDARD = LVCMOS33; }
  23. # Fans (NMOS low-side sinks Q10691..Q10698)
  24. # Chamber 1 (CON154.5 / CON154.6; field fan-pair correction20261026)
  25. set_pin_assignment { front_fan_pwm_out[0] } { LOCATION = C4; IOSTANDARD = LVCMOS33; }
  26. set_pin_assignment { rear_fan_pwm_out[0] } { LOCATION = B5; IOSTANDARD = LVCMOS33; }
  27. # Chamber 2 (CON154.11 / CON154.12)
  28. set_pin_assignment { front_fan_pwm_out[1] } { LOCATION = B1; IOSTANDARD = LVCMOS33; }
  29. set_pin_assignment { rear_fan_pwm_out[1] } { LOCATION = A14; IOSTANDARD = LVCMOS33; }
  30. # Chamber 3 (CON155.5 / CON155.6)
  31. set_pin_assignment { front_fan_pwm_out[2] } { LOCATION = P12; IOSTANDARD = LVCMOS33; }
  32. set_pin_assignment { rear_fan_pwm_out[2] } { LOCATION = A10; IOSTANDARD = LVCMOS33; }
  33. # Chamber 4 (CON155.11 / CON155.12)
  34. set_pin_assignment { front_fan_pwm_out[3] } { LOCATION = D8; IOSTANDARD = LVCMOS33; }
  35. set_pin_assignment { rear_fan_pwm_out[3] } { LOCATION = C7; IOSTANDARD = LVCMOS33; }
  36. # PTC Outputs (24 Channels)
  37. # Chamber 1 (CON147.1/3/5/7/9/11 -> PTC1..6)
  38. set_pin_assignment { ptc_pwm_out[0] } { LOCATION = F16; IOSTANDARD = LVCMOS33; }
  39. set_pin_assignment { ptc_pwm_out[1] } { LOCATION = G16; IOSTANDARD = LVCMOS33; }
  40. set_pin_assignment { ptc_pwm_out[2] } { LOCATION = T4; IOSTANDARD = LVCMOS33; }
  41. set_pin_assignment { ptc_pwm_out[3] } { LOCATION = R5; IOSTANDARD = LVCMOS33; }
  42. set_pin_assignment { ptc_pwm_out[4] } { LOCATION = T6; IOSTANDARD = LVCMOS33; }
  43. set_pin_assignment { ptc_pwm_out[5] } { LOCATION = R7; IOSTANDARD = LVCMOS33; }
  44. # Chamber 2 (CON148.1/3/5/7/9/11 -> PTC11..16)
  45. set_pin_assignment { ptc_pwm_out[6] } { LOCATION = T2; IOSTANDARD = LVCMOS33; }
  46. set_pin_assignment { ptc_pwm_out[7] } { LOCATION = R3; IOSTANDARD = LVCMOS33; }
  47. set_pin_assignment { ptc_pwm_out[8] } { LOCATION = P16; IOSTANDARD = LVCMOS33; }
  48. set_pin_assignment { ptc_pwm_out[9] } { LOCATION = R16; IOSTANDARD = LVCMOS33; }
  49. set_pin_assignment { ptc_pwm_out[10] } { LOCATION = M16; IOSTANDARD = LVCMOS33; }
  50. set_pin_assignment { ptc_pwm_out[11] } { LOCATION = N16; IOSTANDARD = LVCMOS33; }
  51. # Chamber 3 (CON149.1/3/5/7/9/11 -> PTC21..26)
  52. set_pin_assignment { ptc_pwm_out[12] } { LOCATION = P10; IOSTANDARD = LVCMOS33; }
  53. set_pin_assignment { ptc_pwm_out[13] } { LOCATION = R10; IOSTANDARD = LVCMOS33; }
  54. set_pin_assignment { ptc_pwm_out[14] } { LOCATION = T13; IOSTANDARD = LVCMOS33; }
  55. set_pin_assignment { ptc_pwm_out[15] } { LOCATION = T12; IOSTANDARD = LVCMOS33; }
  56. set_pin_assignment { ptc_pwm_out[16] } { LOCATION = L3; IOSTANDARD = LVCMOS33; }
  57. set_pin_assignment { ptc_pwm_out[17] } { LOCATION = N2; IOSTANDARD = LVCMOS33; }
  58. # Chamber 4 (新电气图 Page 4 & 8: PTC4-1=CON149.19->K5, PTC4-2=CON150.1->L4, PTC4-3=CON150.5->H4, PTC4-4=CON150.9->J6, PTC4-5=CON150.13->H5, PTC4-6=CON150.17->C15)
  59. set_pin_assignment { ptc_pwm_out[18] } { LOCATION = K5; IOSTANDARD = LVCMOS33; }
  60. set_pin_assignment { ptc_pwm_out[19] } { LOCATION = L4; IOSTANDARD = LVCMOS33; }
  61. set_pin_assignment { ptc_pwm_out[20] } { LOCATION = H4; IOSTANDARD = LVCMOS33; }
  62. set_pin_assignment { ptc_pwm_out[21] } { LOCATION = J6; IOSTANDARD = LVCMOS33; }
  63. set_pin_assignment { ptc_pwm_out[22] } { LOCATION = H5; IOSTANDARD = LVCMOS33; }
  64. set_pin_assignment { ptc_pwm_out[23] } { LOCATION = C15; IOSTANDARD = LVCMOS33; }
  65. # Clamped Unused Spare PTC Pins to eliminate weak pullup / floating high
  66. set_pin_assignment { ptc_spare_zero[0] } { LOCATION = M1; IOSTANDARD = LVCMOS33; } # CON147.13
  67. set_pin_assignment { ptc_spare_zero[1] } { LOCATION = N1; IOSTANDARD = LVCMOS33; } # CON147.15
  68. set_pin_assignment { ptc_spare_zero[2] } { LOCATION = P1; IOSTANDARD = LVCMOS33; } # CON147.17
  69. set_pin_assignment { ptc_spare_zero[3] } { LOCATION = R1; IOSTANDARD = LVCMOS33; } # CON147.19
  70. set_pin_assignment { ptc_spare_zero[4] } { LOCATION = P8; IOSTANDARD = LVCMOS33; } # CON148.13
  71. set_pin_assignment { ptc_spare_zero[5] } { LOCATION = P7; IOSTANDARD = LVCMOS33; } # CON148.15
  72. set_pin_assignment { ptc_spare_zero[6] } { LOCATION = T9; IOSTANDARD = LVCMOS33; } # CON148.17
  73. set_pin_assignment { ptc_spare_zero[7] } { LOCATION = P9; IOSTANDARD = LVCMOS33; } # CON148.19
  74. set_pin_assignment { ptc_spare_zero[8] } { LOCATION = P2; IOSTANDARD = LVCMOS33; } # CON149.13
  75. set_pin_assignment { ptc_spare_zero[9] } { LOCATION = M3; IOSTANDARD = LVCMOS33; } # CON149.15
  76. set_pin_assignment { ptc_spare_zero[10] } { LOCATION = L5; IOSTANDARD = LVCMOS33; } # CON149.17
  77. # Retired SSR pads: field CON165.14/.13/.11, now held low (F3 also shares ENA).
  78. set_pin_assignment { ssr_unused_zero[0] } { LOCATION = F3; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
  79. set_pin_assignment { ssr_unused_zero[1] } { LOCATION = F1; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
  80. set_pin_assignment { ssr_unused_zero[2] } { LOCATION = G4; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }
  81. # V3.2.0 Button Inputs (6400高温罩电气图V3.0 Page 4/7; R1724/R1717/R1723 NC -> internal PULLDOWN; CON165.12 NC, F7 unbound)
  82. set_pin_assignment { estop_btn_in } { LOCATION = F8; IOSTANDARD = LVCMOS33; PULLTYPE = PULLDOWN; } # EPB1 CON165.10 -> R1696/R1856 -> ADC0_CH0
  83. set_pin_assignment { hood_open_btn_in } { LOCATION = C11; IOSTANDARD = LVCMOS33; PULLTYPE = PULLDOWN; } # SB1 CON165.9 -> R1693/R1855 -> BANK0_GPIO2
  84. set_pin_assignment { hood_close_btn_in } { LOCATION = A11; IOSTANDARD = LVCMOS33; PULLTYPE = PULLDOWN; } # SB2 CON165.8 -> R1692/R1854 -> BANK0_GPIO1
  85. # V3.2.0 Buzzer Output (CON146.1 KEYLED_V3 +24V high-side via R1301/R1297/Q10621/Q10620; 4000 Hz 80% duty when enabled)
  86. set_pin_assignment { buzzer_out } { LOCATION = H6; IOSTANDARD = LVCMOS33; PULLTYPE = NONE; }