AD7327 can be interfaced with 8Bit SPI Microcontroller Port?
The AD7327 data is 16 bit long. When writing to the DIN pin, it needs 16 bit data and is compose of register address + 12 bit register data. When reading, the DOUT bit is compose of channel identifier bits + 12 bit conversion result. Interfacing the AD7327 to a microcontroller, it should be able handle 16bit data to completely read the conversion data and write to the correct registers.
Thanks for the reply
I understood it but can I do two 8 bit write / read holding the chip select low.
The microcontroller has 8 bit SPI only
The AD7327 uses an SPI interface with 16 SCLK cycles. Data on the Dout are clocked out on the falling edge of SCLK and data for the register are clocked into the AD7327 on the SCLK falling edge. Both Dout and Din are 16 bit long and needs 16 SCLK cycles.
I haven't done this yet of two SPI read/write where you can have two set of 8-bit clock. The Dout and Din pins of AD7327 are connected to MISO and MOSI of microcontroller and CS of AD7327 is connected to a GPIO(instead to the SPI of microcontroller) to control the CS and remain low. As mentioned the Dout data are clocked out during SCLK falling edge and were written into SCLK falling edge in Din. Please ensure correct number of SCLK and follow the digital timing diagram on the datasheet. Hope this help.
Please verify the diagram. for 8bit operation. delay may not be too much just to represent i have made long
Retrieving data ...