我在用stm32配置AD9371的JESD204b 模式， 无系统。
spi_RegRead(0xd30); spi_RegWrite(0xd30, 0x5);
问题出在， 无论读任何数据都是0xff， 所以我想问下，是我ad9371的启动方式不对么？ 在AD9528时钟配置好之后，还需要做什么呢？
修正，写的是 spi_RegWrite(0xd30, 0xa5);
You need to post your query in English here. Otherwise you can use the following to post your query:
歡迎 | 中文技术支持
I'm using STM32 to configure AD9371's JESD204b mode without system.
First of all, it has been confirmed that the AD9528 clock allocation has been configured, and then I use a single pin of the single chip to reset the AD9371, pull up 50ms, pull down 50ms, and then pull up again. (I don't know if there's anything else I need to do).
After that is the configuration of STM32's SPI, and the following are the corresponding waveforms, all of which are four wire system. spi_RegRead(0xd30); spi_RegWrite(0xd30, 0xa5); two pictures .
The problem is that no matter what data I read through spi is 0xff, so I want to ask, is my ad9371 startup way wrong? What do we need to do after the AD9528 clock is configured?
Are you using ADI provided API and drivers to configure the chip.
AD9371/AD9375 No-OS Setup [Analog Devices Wiki]
AD9371, AD9375 highly integrated, wideband RF transceiver Linux device driver [Analog Devices Wiki]
Yes, ad9528 is configured directly by writing registers. AD9371 used API is just read the wrong data .
Please refer USer Guide UG-992 , page 13 for SPI settings.
The sequence for configuring is given in user guide UG-992 , section on Initialization sequence.
Retrieving data ...