Other Parts Discussed in Thread: PCM1865,
REgisters setup through SPI interface fails.
We are using a PCM1865 IC , we want to configure come registers through the SPI interface. (Our uC as SPI Master and the PCM as SPI Slave)
We are using the initial sequence showed in the atttached file
After that we want to validate that effectively we have configured what we want. So we are trying to read the Register6 several times. The point is that we see nothing in the MISO line. So it seems that we cannot read (and therefore probably we are not writing properly either)
As HW setup we are using the next pinout configuration.
pin 26 attached to 3.3V to choose SPI interface;
pin 25 CS
pin 24 CLOCK
pin 23 MOSI
pin 22 MISO
The SPI Clock signal is 500KHz, we are using CPOL = 0 and CPH = 1 (i.e fetching data in the falling clock edge)
Here I insert some relevant captures of our frames . Maybe we are using a bad timing or maybe we need some write operation before being able of reading anything.
Writing register 6
REading register 0x6 , we expected to read the same 0x50 we inserted previouly.