Other Parts Discussed in Thread: MSP432P401R,
We are communicating AFE IC 131M08 with MSP432P401R.
We want to set data word length to 16 bit. It can be set by writing to Mode register value 0x0410. ( MSB first 0x04 & then LSB 0x10)
STATUS register(is a only readable register) which updates the configuration done on AFE device.
We checked waveform of STATUS reg, & decoded, data word length is always set to 24bits.
The sequence for writing to MODE reg is as follows:-
As per AFE data sheet Wreg Command is 011a aaaa annn nnnn
Where a aaaa a is address of register to be written, nnn nnnn is the actual no. of registers to be written minus one.
The address of Mode Register is 02h. Accordingly our command was
0110 0001 0000 0000 i.e 0x6100
Also our data in register was 0x0410.
So entire Data frame was: 0x61,0x00,0x00,0x04,0x10,0x00,0x00
The waveform for mode reg is
Where first 3 bytes from left are command word. As by default word size is 24 bit, command is Zero padded followed by data to be written to register followerd by Zero padded CRC(as input CRC is disabled).
Thanks & Regards