I–V characteristics of the p–n junction at T = 300 K for various magnetic fields. The inset demonstrates MR at Vbias = 0.9 V.