Generation of voltages supplied to electrode drivers