High resolution x-ray diffraction has been used to study the effect of dopi
ng level and illumination on the formation of n-type porous silicon. For hi
ghly doped n(+)-type porous layers prepared in darkness, an unusual increas
e of the lattice mismatch with the formation time is observed. When the sam
ples are prepared under illumination, a degradation of the crystal quality,
increasing with a decrease of the material doping level, is observed. The
possible origins of these effects are discussed. (C) 2001 American Institut
e of Physics.