Police said the 14-year-old reported feeling unwell and required hospital treatment. He was later discharged from hospital and is recovering at home.
The incident happened in Holywood, County Down, on Saturday.
The PSNI said the tablets were "as yet unidentified" but warned of the "potential dangers" they posed.
The 17-year-old, has been charged with possessing a Class A controlled drug with intent to supply; possessing a Class B controlled drug with intent to supply; possession of a Class A controlled drug; possession of a Class B controlled drug and supplying a Class A controlled drug.
He is due to appear at Newtownards Youth Court on 14 February.
A 17-year-old boy has been charged with drugs offences after a 14-year-old boy was treated in hospital after taking half of a 'Darth Vader' tablet.