Inquiry regarding RAM_CODE / DRAM Configuration

RAM_CODE
GPIO17, GPIO37, GPIO38, and GPIO42 are assigned for DRAM configuration.

  1. If GPIO17 is repurposed solely as a Camera FRSYNC Output, will it impact the DRAM configuration or operation?
  2. Are there any potential risks or side effects associated with using the remaining pins?

Thx~

Hi johnny.yu,

GPIO17 is one of the RAM_CODE strap pins sampled at power-on for DRAM configuration.
If GPIO17 is reused only as a Camera FRSYNC output after boot, it will not affect DRAM configuration or normal DRAM operation.
However, its level must remain unchanged during power-on sampling.

The same applies to GPIO37/GPIO38/GPIO42: they may be reused as output pins only after boot.
They should not be used as GPIO inputs.
Also please pay attention to possible hardware side effects during power-on, such as pull-up/pull-down conflicts or back-powering of external devices before software takes control.