No, it is not necessary master cell and secondary cells should operate in same frequency. As per my understanding of radio, if UE is trying to access two cells simultaneous then both the cells should be transmitting in different frequencies to avoid interference.