Check the cabling. If you didn't get the cable on properly (it's keyed and will only go on fully one way) - fully seated that can be a problem. It's not power since it will open/close and spin up. Did you change any device strapping? or add any other drives? Most Dells (and other brand computers) come from the factory strapped for Cable Select. The old Master/Slave is not used from the factory.
I am not a Dell Employee
Dell forum member since 2002
Dell Inspiron 15 - 5577 Laptop
Home Built Desktop PC with ASUS ROG Z170, i7 6700K CPU
Windows 10 64 bit Pro and Windows 10 Insider Program Beta Versions. SSD drives. Cakewalk by BandLab and Studio One 4.1 Recordng Studio Software.