External memory control by system bus

Dear,

Could you let me get an example code and project for controlling external memory by system bus?

Thank you.