Let n be an odd positive integer, p be a prime with p≡3(mod4), d1=2pn−1−1 and d2=pn−2. The function defined by fu(x)=uxd1+xd2 is called the generalized Ness-Helleseth function over Fpn, where u∈Fpn. It was initially studied by Ness and Helleseth in the ternary case. In this paper, for pn≡3(mod4) and pn≥7, we provide the necessary and sufficient condition for fu(x) to be an APN function. In addition, for each u satisfying χ(u+1)=χ(u−1), the differential spectrum of fu(x) is investigated, and it is expressed in terms of some quadratic character sums of cubic polynomials, where χ(⋅) denotes the quadratic character of Fpn.