Generation of the ignition spark