How to calculate Loop Bandwith (MP9942 - current mode)

Is there a way to calculate the Loop Bandwidth.
This is my schematic

It would be great, if there is a formula.


Kind regards

Hi Frank, the datasheet has typical values for the FB and RT resistors for a 5V out application that put the bandwidth in the correct place. Can you try these values?

Hie Kareem,
thanks but with the proposal from the datasheet, the required phase margin (for a stable system) is smaller than 45 degree.

Here is my solution (best compromise).

Instead of 22.1kOhm I take a 22kOhm resitor.
So I have values from E48 row.