The usage of punctuation marks is not an issue of grammar, but rather one of style. As such, you should be guided by your manual of style -- either the one you've selected if you're writing for yourself or the one thrust upon you by the person for whom or institution for which you are writing. I use the Chicago Manual of Style, which suggests two circumstances of interest:
If the clauses of a compound sentence are very long or are themselves
subdivided by commas, a semicolon may be used between them even if
they are jointed by a conjunction.
and
When items in a series are long and complex or involve internal
punctuation, they should be separated by semicolons for the sake of
clarity....