name: W25Q32BV
variations: SS, ST, SF, DA, ZP, ZE, TB, TC
# packages:
# - SS: SOIC-8 208mil
# - ST: VSOP-8 208mil
# - SF: SOIC-16 300mil
# - DA: PDIP-8 300mil
# - ZP: WSON-8 6x5mm
# - ZE: WSON-8 8x6mm
# - TB: TFBGA-24 8x6mm 5x5 ball array
# - TC: TFBGA-24 8x6mm 6x4 ball array
description: 3V 32Mbit serial flash with dual and quad-SPI
datasheet: https://www.winbond.com/resource-files/w25q32bv_revi_100413_wo_automotive.pdf
keywords: IC, figital, memory, flash, SPI

pinout@SS:
  SPI:
    CS: 1
    DO: 2
    DI: 5
    CLK: 6
  CTRL:
    WP: 3
    HOLD: 7
  GND: 4
  VCC: 8

pinout@ST:
  SPI:
    CS: 1
    DO: 2
    DI: 5
    CLK: 6
  CTRL:
    WP: 3
    HOLD: 7
  GND: 4
  VCC: 8

pinout@SF:
  SPI:
    CS: 7
    DO: 8
    DI: 15
    CLK: 16
  CTRL:
    WP: 9
    HOLD: 1
  GND: 10
  VCC: 2

pinout@DA:
  SPI:
    CS: 1
    DO: 2
    DI: 5
    CLK: 6
  CTRL:
    WP: 3
    HOLD: 7
  GND: 4
  VCC: 8

pinout@ZP:
  SPI:
    CS: 1
    DO: 2
    DI: 5
    CLK: 6
  CTRL:
    WP: 3
    HOLD: 7
  GND: 4
  VCC: 8

pinout@ZE:
  SPI:
    CS: 1
    DO: 2
    DI: 5
    CLK: 6
  CTRL:
    WP: 3
    HOLD: 7
  GND: 4
  VCC: 8

pinout@TB:
  SPI:
    CS: C2
    DO: D2
    DI: D3
    CLK: B2
  CTRL:
    WP: C4
    HOLD: D4
  GND: B3
  VCC: B4

pinout@TC:
  SPI:
    CS: C2
    DO: D3
    DI: D3
    CLK: B2
  CTRL:
    WP: C4
    HOLD: D4
  GND: B3
  VCC: B4

properties:
  input: CLK, CS
  io: WP, DO, DI, HOLD
  power: VCC
  ground: GND
  inverted: CS, WP, HOLD

schematic:
  symbol: IC
  left: SPI
  right: CTRL
  top: VCC
  bottom: GND

housing@SS:
  pattern: SOP
  bodyWidth: 5.18-5.38 # E
  bodyLength: 5.18-5.38 # D
  height: 1.75-2.16 # A
  leadWidth: 0.35-0.48 # b
  leadLength: 0.50-0.80 # L
  leadSpan: 7.70-8.10 # H
  pitch: 1.27 # e
  leadCount: 8

housing@ST:
  pattern: SOP
  bodyWidth: 5.18-5.38 # E1
  bodyLength: 5.18-5.38 # D
  height: 1.00 # A
  leadWidth: 0.35-0.48 # b
  leadLength: 0.50-0.80 # L
  leadSpan: 7.70-8.10 # E
  pitch: 1.27 # e
  leadCount: 8

housing@DA:
  pattern: DIP
  bodyWidth: 6.22-6.48 # E1
  bodyLength: 9.02-10.16 # D
  height: 5.33 # A
  leadWidth: 0.46
  leadLength: 2.92-3.81 # L
  leadSpan: 8.51-9.53 # eB
  pitch: 2.54 # e
  leadCount: 8

housing@ZP:
  pattern: QFN
  bodyWidth: 5.90-6.10 # D
  bodyLength: 4.90-5.10 # E
  height: 0.70-0.80 # A
  leadWidth: 0.35-0.48 # b
  leadLength: 0.55-0.65 # L
  pitch: 1.27 # e
  leadCount: 8
  tabWidth: 3.35-3.45 # D2
  tabLength: 4.25-4.35 # E2
  tabPosition: 0.0, 0.0

housing@ZE:
  pattern: QFN
  bodyWidth: 7.90-8.10 # D
  bodyLength: 5.90-6.10 # E
  height: 0.70-0.80 # A
  leadWidth: 0.35-0.48 # b
  leadLength: 0.55-0.65 # L
  pitch: 1.27 # e
  leadCount: 8
  tabWidth: 4.60-4.70 # D2
  tabLength: 5.15-5.25 # E2
  tabPosition: 0.0, 0.0

housing@SF:
  pattern: SOP
  bodyWidth: 7.39-7.59 # E1
  bodyLength: 10.08-10.49 # D
  height: 2.36-2.64 # A
  leadWidth: 0.33-0.51 # b
  leadLength: 0.38-01.27 # L
  leadSpan: 10.01-10.64 # E
  pitch: 1.27 # e
  leadCount: 16

housing@TB:
  pattern: BGA
  bodyWidth: 5.90-6.10 # E
  bodyLength: 7.90-8.10 # D
  height: 1.20 # A
  pitch: 1.00 # e
  rowCount: 5
  columnCount: 5
  leadDiameter: 0.35
  leadCount: 25 # actually A1 is missing, but this is not BGA standard and hard to define in QEDA

housing@TC:
  pattern: BGA
  bodyWidth: 5.95-6.05 # E
  bodyLength: 7.95-8.05 # D
  height: 1.20 # A
  pitch: 1.00 # e
  rowCount: 6
  columnCount: 4
  leadDiameter: 0.35
  leadCount: 24

