SPI interface between STM32F103C8 and ADE7758
Hi everyone,
I have got some problems with programming SPI between ADE7758 (slave) and STM32F103C8 (master). I use build - in SPI (hardware SPI), and directly connect 4 pin (MOSI, MISO, NSS, CLK) to ADE7758 which is a 5V device without any conversion module, to test my project. Initially I just execute a read operation to ADE7758 to get default value of OPMODE register. Unfortunately what i got back on MISO line is some arbitrary value for example like 0xFF, instead of its default value which is 0x04.
I have also tried to observe the waveform and recognize that the voltage level of MISO is strange, just about 0.2V - 0.3V. The MOSI and CLK pulse are nice.
Do I have to connect STM32 chip to ADE7758 via a voltage level conversion to ensure proper operation?
I have been stuck in this issue many days and still can not find the solution.
Hope someone help me.
Thanks in advance.
