Let $G$ be a compact connected Lie group with semisimple Lie algebra ${\frak g}$. With the following reasoning, I show that there is no non-trivial Lie group homomorphism $$\chi:G\to S^1.$$ Is that true?
Proof. Let $\chi:G\to S^1\subseteq\Bbb C$ be a character. Then, $d\chi:{\frak g}\to i\Bbb R$ so $id\chi:{\frak g}\to \Bbb R$, i.e. $id\chi\in{\frak g}^*$. But since $\chi$ is a homomorphism, and $S^1$ is abelian, we have for all $g\in G$ and $X\in{\frak g}$ that $$({\operatorname{Ad}}_g^*id\chi)(X)=i\frac{d}{dt}\Big|_{t=0}\chi(\exp(t\operatorname{Ad}_{g^{-1}}(X)))=i\frac{d}{dt}\Big|_{t=0}\chi(g^{-1}\exp(tX)g)=i\frac{d}{dt}\chi(\exp(tX))=id\chi(X).$$ Thus, $\operatorname{Ad}_g^*id\chi=id\chi$ for all $g\in G$. Using the Killing form to identify $id\chi\in{\frak g}^*$ with an element $X_{\chi}\in{\frak g}$, we find $\operatorname{Ad}_g(X_{\chi})=X_{\chi}$ for all $g\in G$. Thus, $X_{\chi}\in\operatorname{Lie}(Z_G)=Z_{{\frak g}}$ (where $Z$ means "center"). But a semisimple Lie algebra has zero center and hence $X_{\chi}=0$. Thus, $id\chi=0$ and hence $\chi=1$. $$\tag{Q.E.D.}$$
The character $\chi$ induces a morphism $f:g\rightarrow R$, since $g$ is semi-simple, $[g,g]=g$, but the restriction of $f$ to $[g,g]$ is zero since $f([x,y])=[f(x),f(y)]=0$, thus $f=0$.