Hello Robin,
Thank you for your answer.
the clock gate is enabled in the clockMan1.c file by default
Kazarian_0-1652201195364.png
but i needed to change the OSC clock from 8 MHz to 40Mhz since im using an external 40Mhz clock source.
this seems to solve the issue to a certain extent, when i want to receive data in Putty at a baudrate of 115200 i get random char, which means my clock is not correctly configured.
Kazarian_1-1652204445527.png
here is a summury of my clock configuration :
Kazarian_2-1652204536712.png
Kazarian_3-1652204563382.png
LPUAR config
Kazarian_4-1652204628070.png
Thank you for your support