Programming a PGA via SPI

.

The CS signal must get a falling edge. You're setting the pin from floating to LOW, the chip probably won't notice that.

Do I have to put the CS line high then low ?

Likz9:
Do I have to put the CS line high then low ?

Yes. And let it HIGH for a short time.