Hi @kalbairav ,
Thanks for your interest in NXP MIMXRT series!
For beginners, we recommend using MCUXpresso IDE as your development environment, as it is easier to get started with.
You can then build the SDK for the EVKB on this website and import it into your IDE.
MCUXpresso SDK Builder
Finally, the demo in the SDK that corresponds to the accelerometer is shown in the figure below:

Best regards,
Gavin