NOVELTY - Manufacturing a solar cell from a semiconductor substrate comprises texturing (102) and partly smoothening the textured back surface and optionally partly smoothening the textured front surface; creating (103) by diffusion of a dopant of the first conductivity type a BSF layer of the first conductivity type in the back surface; and creating (106) a layer of a second conductivity type on the textured front surface.    USE - The method is used for manufacturing a solar cell from a semiconductor substrate (claimed).    ADVANTAGE - The method is for manufacturing the solar cell with p- or n-type base. The invention provides a structure and a method for improved surface passivation on textured wafers with diffused emitter and/or diffused BSF and/or diffused front surface field.    DETAILED DESCRIPTION - Manufacturing a solar cell from a semiconductor substrate of a first conductivity type, the semiconductor substrate (101) having a front surface and a back surface, the method comprises texturing (102) the front surface to create a textured front surface and texturing the back surface to create a textured back surface; partly smoothening the textured back surface and optionally partly smoothening the textured front surface; creating (103) by diffusion of a dopant of the first conductivity type a BSF layer of the first conductivity type in the back surface; and creating (106) a layer of a second conductivity type on the textured front surface by diffusion of a dopant of the second conductivity type into the textured front surface. An INDEPENDENT CLAIM is a semiconductor substrate of a first conductivity type having a textured front surface and a textured back surface, where the textured front surface comprises a second conductivity-type doped layer, where the textured back surface comprises a surface field layer of the first conductivity type, and where the textured back surface comprises a pyramidal shapes containing back surface with intermediate valleys having widths of 50-2000 nm.    DESCRIPTION OF DRAWING(S) - The drawing shows a flow diagram for a method for manufacturing a solar cell.    Semiconductor substrate (101)    Texturing (102)    Creating (103)    Removing (104)    Removing (105)    Creating (106)    Etching (107)