Hi@Gauri_n
I use your method to configure the clock module then IDE shows some errors.I think this question may be caused by your clock configuration error.
Senlent_0-1626159960174.png
Senlent_1-1626160281900.png
Below is my test and it works fine.
Senlent_2-1626161378224.png
Senlent_0-1626163867012.png
Senlent_1-1626163874795.png
Hope this answer can help you.
Best Regards!
Jim