• Not Answered

Questions about AFE5804

Hi,

     Now  I am using AFE5804 to design a ultrasound system. Xilinx FPGA is used to control the AFE5804 and deserdes the LVDS signal. 

     I wonder if anyone here used to design AFE5804 through FPGA. The problem I face now is how to initial the register of AFE5804 correctly . With my code , the data from LVDS is not stable . While power on , it maybe right or not . I doubt there must  be something wrong with the initial code.   For  pressing the reset button , sometimes it can work well through it doesn't work  once power on . Additional ,  My PCB board can't reset itself once power on . The attachment  is my  initial code of AFE5804.

    Any help will be appreciate . Thanks!  

3 Replies

  • Ren,

    I can't see your attachment, but maybe you can tell me what steps you take to initialize the AFE5804.   Also, see page 30 of the datasheet, especially the register initialization steps.  Are you doing this?

    Thanks,

    Chuck Smyth

  • In reply to csmyth:

    Chuck Smyth,

    First of all , thanks for your reply.  

    For  my  PCB  hardware can't  reset  the  register  of  AFE5804 ,  in  my  program ,  the  first  step  is  using the serial interface, set the S_RST bit high , then  reset  the S_RST  in  my  code .  Then ,  the other  registers  are  being  written  by   serial  interface .  And  now  the  phenomenon  is  the  program  couldn't  work  well  at  the start  of  power  on .   But if  I press  a  button  at  the  PCB board  which  can   applying a low-going pulse on the ADS_RESET pin ,  the  program  can  work well .  Is  there  something  wrong  with  my  initial  code  of  AFE5804 ?   This  program  is  still  making  me feel  confused.  The  attachment  is  my  initial  code  of  AFE5804.

    Any  help  will  be  very  appreciated.6710.AFE_INIT.txt

  • In reply to csmyth:

    Chuck Smyth,

    First of all , thanks for your reply.  

    For  my  PCB  hardware can't  reset  the  register  of  AFE5804 ,  in  my  program ,  the  first  step  is  using the serial interface, set the S_RST bit high , then  reset  the S_RST  in  my  code .  Then ,  the other  registers  are  being  written  by   serial  interface .  And  now  the  phenomenon  is  the  program  couldn't  work  well  at  the start  of  power  on .   But if  I press  a  button  at  the  PCB board  which  can   applying a low-going pulse on the ADS_RESET pin ,  the  program  can  work well .  Is  there  something  wrong  with  my  initial  code  of  AFE5804 ?   This  program  is  still  making  me feel  confused.  The  attachment  is  my  initial  code  of  AFE5804.

    Any  help  will  be  very  appreciated.6710.AFE_INIT.txt