14 CFR 91.411 requires inspection every 24 months for the altimeter and static system if an aircraft is to be flown under IFR.
14 CFR 91.413 requires inspections every 24 months for the transponder if the aircraft is to be flown in A, B, or C airspace, or above 10,000 feet (if more than 2,500 above the ground), or in any Mode C veil.