The resistance for a 0 to 127 wiper code does not span entirely from 0Ω to 10kΩ. The Wiper Resistance must be factored into this range. The datasheet states the wiper resistance can range all the way up to 5kΩ depending on V+.
DS3502
Production
The DS3502 is a 7-bit, nonvolatile (NV) digital potentiometer featuring an output voltage range of up to 15.5V. Programming is accomplished by an I²C...
Datasheet
DS3502 on Analog.com
The resistance for a 0 to 127 wiper code does not span entirely from 0Ω to 10kΩ. The Wiper Resistance must be factored into this range. The datasheet states the wiper resistance can range all the way up to 5kΩ depending on V+.