Instability-driven electromagnetic fields in coronal plasmasa)