Although the IC performs a sophisticated job, using it in a circuit is fairly simple and can be done with a minimum number of external components. A test circuit from the SG3524 datasheet is shown below.
This IC has a wide operating voltage between 8V to 40V.
The regulator operates at a fixed frequency that is programmed by a one-timing resistor, RT, and one timing capacitor, CT.
As you can see Noninverting pin is connected to the Ref pin while inverting pins are connected to the COMP pin. External capacitor and resistor are connected to pin RT & CT to control the oscillator frequency.
The error amplifier compares a sample of the 5-V output to the reference and adjusts the PWM to maintain a constant output current.
The internal reference voltage is divided externally by a resistor ladder network and the output is sensed by a second resistor divider network.