How to use both SRAM & SDRAM on RT1050

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to use both SRAM & SDRAM on RT1050

1,949件の閲覧回数
eric_yp_chen
Contributor I

Hi All

I designed a usb camera with rt1052, capturing image from csi interface and storage the frame

buffer in SDRAM. The code is boot from NorFlash to SDRAM for now. However, I'd like to 

switch this boot-up flow , replace it with NorFlash to internal SRAM. 

Question is I know how to generate sram bootable image, but I don't know how to initialize the frame

buffer for camera in SDRAM.

Any possible solutions ?

0 件の賞賛
返信
3 返答(返信)

1,914件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Question is I know how to generate SRAM bootable image, but I don't know how to initialize the frame
buffer for the camera in SDRAM.
-- To provide the fastest possible support, I'd highly recommend you to refer to the elcdif_rgb demo in the SDK, in this demo, it uses the SDRAM to store the frame buffer.
Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

1,933件の閲覧回数
mjbcswitzerland
Specialist V

Hi

If you have been using SDRAM for code and you have a boot-able image for SDRAM you have presumably used the DCD to configure the SDRAM.

You can maintain the same SDRAM configuration in DCD and then use if just for your frame buffer instead of the code.

Regards

Mark
uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training or product development requirements

 

0 件の賞賛
返信

1,888件の閲覧回数
eric_yp_chen
Contributor I

Hi All

I've found a way myself , by changing boot sequence (Nor flash to SRAM), then initialize SDRAM in code instead of using dcd.

Thanks

0 件の賞賛
返信