I am using TM4C129ENCPDT
I am trying to program LMK04828 with 4 wire SPI
My programming routine below
1
Power-up my custom design board
2
Initailize SPI ( Speed: 4MHZ, Data frame format : polarity 0, phase 0 )
3
spiWrite(0x000,0x80); // reset
spiWrite(0x000,0x10); // disable 3-wire
spiWrite(0x14A,0x33); // RESET_MUX : SPI Readback, RESET_TYPE : Output(push-pull)
Then, I want to write address 0x154, value 0x78. ---->spiWrite(0x154,0x78);
But I cannot see what i write to 0x154 -----> spiRead(0x154) ----> response NOTHING
what the problem might be ?
One more question:
According to LMK04828, section 9.5.1 Recommended Programming Sequence;
I see
address 0x145 value : 127(decimal)
address 0x17C value : 21(decimal)
address 0x17D value : 51(decimal)
am i have to write these registers value ?
Last question :
Is there any routine for RESET pin (LMK04828 Pin5) ?