Got it to work. Added a bunch of initialization code (which came directly from the datasheet).