This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PCM1865: MISO configuration malfunction

Part Number: PCM1865

Hello,

I am trying to use this device with SPI control, and I cannot set the MISO pin correctly. The SPI bus is shared with other ICs (except for the CS, obviously). As soon as I write 0x02 to Page.0-Register.0x10 The MISO line goes down "actively", making that nobody in the SPI bus can control the line. I have seen this as, communicating with other ICs, the line goes up to ~0.4V. I kindly ask for help in configuring this part so I can perform readings through the SPI bus.

This also happens with the sequence:

- Reset the IC registers (0xFE to register 0x00)

- Set the GPIO0 to MISO (0x02 to Page.0-Register.0x10)

I have tried at several speeds, with the same results. My write/read sequence is: always write the page (2 bytes, 0x00 and the page number), and then write/read the register and the value (1st byte: shift the register address 1 bit to the left, and make a bitwise OR with 0x01 in case of a read operation; 2nd byte: write the data in case of the write, write 0x00 (dummy) in order to generate clock pulses and receive the data in case of a read). As seen from the oscilloscope screen, the signals look nice and well-timed. I have been trying to solve this problem for a couple of days now.

Many thanks in advance. BR,

Manuel