The chemical composition of CdTe surfaces has been studied for In over poly
crystalline CdTe using I-V measurement. The obtained barrier height present
s a spatial distribution on CdTe surface and an inhomogeneous barrier heigh
t is the cause of the ideal behavior deviation in the I-V curves. Multi-lev
el Fermi pinning within the contact that is produced by aggregate of Te-ric
h and Cd-rich areas is a consistent explanation for the barrier height inho
mogeneities.