Post Go back to editing

AD2S1210 configure mode read issue for SPI interface

Hello

           Customer use SPI interface. If run normal mode, position and velocity is successful read out. But if run configuration mode, SPI can not read out data. They use below read command and read 0x92 configure register (default value is 0x7E) But the data is still 0x00. They already measure every timing specification and meet follow below timing chart. What is the problem for SPI read on configuration mode? Has any comments for it? Thank you

 

            

BR

Patrick

Parents Reply
  • Patrick,

    Unfortunately while we do have code that demonstrates the functionality as it has NOT been developed in accordance with our software development standards (i.e. properly licensed, etc) it cannot be distributed.  I can tell you however that we have verified functionality using an STM32 Nucleo kit.  I can get you the precise kit if you need it. 

    What specifically about the timing is not achievable with the current uC?

    Sean

Children
  • Hello Sean

               Customer use GPIO for WR/FSYNC  and CS/SCLK/SDI/SDO use uC internal SPI module. WR/FSYC timing is hard to meet Fig.32 serial interface timing specification of t22 and t29  (SCLK is around 20MHz.) .

               Could you help provide which precise  kits for SPI communication for your reference? Thank you. 

    BR

    Patrick 

  • Patrick,

    Have you tried physically modifying the customers hardware to swap the CS and WR/FSYNC function?  This might provide the solution they need to make everything work in the short term.  If this works it would mean a simple hardware spin rather than trying to bring up a new host controller.

    For your reference the kit we have used in the past is the NUCLEO-F411 RE

    Sean

  • Hello Sean

           Customer already spin CS and WR/FSYNC but the timing looks can not meet below diagram. If not meet, is it indeed the root cause that can not read via SPI on configuration mode?

            Do our most customer use parallel mode or SPI mode? Customer ever happen not access by SPI on configuration mode? 

           This issue is urgent for customer. Is ti possible that we can discuss more by mail with you? Thank you. 

    BR

    Patrick

  • If not meet, is it indeed the root cause that can not read via SPI on configuration mode?

    I'm not quite sure what you mean by this as I have not seen the timing the customer are using.  I would suggest as you requested later in your email that you reach out to me directly via email.  I believe you have my contact info.

      Do our most customer use parallel mode or SPI mode?

    We have seen customers use both successfully but I can say that most of the queries we get are around the SPI interface.  I think this is indicative that many are moving towards SPI in their applications.

    Customer ever happen not access by SPI on configuration mode? 

    We have not had access issues in one particular mode.  Usually the issue is a data alignment issue caused by the selection of the SPI mode.

    Please do reach out to me directly via mail at your earliest convenience.   A schematic of the product connectivity and any scope captures of the device in the working normal mode and then in the failing configuration mode will be instructive.

  • Hello Sean

                Thanks. We are checking this issue with local FAE. Have any results, we will feedback to you ASAP. Thank you for your support. 

    BR

    Patrick