If you share course notes and got caught, it depends on where you in fact not allowed to share those course notes? Did you say provide them to another student just with the expectation that it would help the other student study and the other student actually did something improper and you did not? Did the professor actually preclude or prohibit a person from sharing course notes? It depends on the circumstances at hand, if you in fact did anything improper and whether you're actually being rightfully charged with a misconduct violation, or is the school say being overzealous in terms of pursuing an allegation that's not in fact appropriate to the circumstances.
You cannot depend on the school to do the right thing. You have to take the necessary precautions before you engage with the school in any capacity. Having an experienced attorney advisor in your corner will be your best ally. They can help you understand and navigate the process. They should be involved as early as possible in any kind of misconduct case.