As mentioned in datasheet of HMC232A Switch, the N/C pins must be grounded but Switch did not work under that setup. We made a new design with N/C pins floating(not connected to GND) then it worked. 

why is it behaving like this
[edited by: likhitha at 5:29 AM (GMT 0) on 18 Sep 2019]