The possibility of mode conversion from electromagnetic wave to electron Bernstein wave is investigated for plasmas confined with in an internal coil device Mini-RT. A steep density gradient, which plays an important role for the EBW mode conversion, is produced at the plasma peripheral region by changing confined magnetic configuration. When the electron density gradient is steep at the upper hybrid resonance layer, electron temperature has a peak near the top of the electron density slope. This consistent to be due to the mode conversion to EBW and associate heating.