Understanding Analog Sampling

Dear Concerned,

I would like to understand the exact sampling mechanism. I have the following questions:

If I select Global Settings, and depending on the Coder option settings, will all analog pins be sampled simultaneously at each simulation time step only once?

If I want to achieve a 5 MSPS sampling rate, should I select “Specify delay within simulation step” and set the delay to 0?

I tried this configuration and connected the analog input waveform to the scope. However, I still observe a discretized waveform corresponding to the simulation step size of 50 µs.

In this configuration, when exactly is the 5 MSPS sampling rate activated?

Is the 5 MSPS sampling rate independent of the simulation step size, or does the simulation step size need to be configured differently to observe the actual sampling rate?

Could you please clarify the relationship between the simulation step size, and actual ADC sampling rate?

Thanks & Regards,
Sanket Nalawade