In both cases it shouldn't be a requirement; we don't demand studying the NEC before using electricity.
And even those with a very good understanding of the constitution and civics probably don't have a very good handling on the actualities of how everything works, unless perhaps they're a criminal lawyer.
The amendments are another 15 pages, which is mostly taken up by footnotes about which states ratified them when. On https://en.wikisource.org/wiki/United_States_Bill_of_Rights and https://en.wikisource.org/wiki/Additional_amendments_to_the_... we have 809 and 2698 words respectively. That's another 10 minutes of reading.
Also, most of that text is unchanged since 01789, and it hasn't changed at all since 01992, when one sentence was added. If you'd spent those 22½ minutes in 01992 you'd still be up to date. And it is in the public domain, so it is easy to obtain.
NFPA's National Electrical Code (I assume that's the one you mean) is over 1000 pages, and a new version comes out each year.
Since we're in a democracy, every election involves everyday citizens adjusting the wiring of our government. Doubly so in states that allow voter-initiated statutes and constitutional amendments via referendum.
Of course most people are never going to be arguing cases before the supreme court or writing laws, and those would require far more expertise than anyone needs. At the same time, most people will never be mathematicians but we still have math classes. No one is becoming a master in a subject from primary education, but they should have some basic literacy in the subject and a foundation to build upon.
While people born in the US automatically have citizenship, my personal belief is that people should have to pass the citizenship tests to get the right to vote.
btw, I'm in Australia, and our voting is compulsory (or at least being enrolled and being crossed off as submitting a ballot paper, the vote itself is secret).
I think if we're going to set tests for citizenship for foreigners before they're allowed to become citizens, why shouldn't the same tests apply to locals?
I mean, you're not wrong, but that's not what the majority of schools' funding is staked upon.