A method of manufacturing a semiconductor device includes providing a semiconductor
substrate having first and second main surfaces opposite to each other. The method
also includes providing in the semiconductor substrate one or more trenches, first
mesas and second mesas. The method also includes oxidizing sidewalls and bottoms
of each trench; depositing a doped oxide into each trench and on the tops of the
first and second mesas; and thermally oxidizing the semiconductor substrate at
a temperature sufficient enough to cause the deposited oxide to flow so that the
silicon in each of the first mesas is completely converted to silicon dioxide while
the silicon in each of the second mesas is only partially converted to silicon
dioxide and so that each of the trenches is filled with oxide.