ADIS16448 registering Interrupt with driver

Do you have any documentation on how to register a GPIO pin as a interrupt 

Parents
  • 0
    •  Analog Employees 
    on Mar 12, 2019 10:04 PM over 1 year ago

    Thank you for posting your question in this forum and for your interest in the ADIS16448.  To be honest, I am not 100% sure that I understand what you are trying to accomplish.  Do you want the device to generate an interrupt signal or have some sort of functional response to an external interrupt signal?  Either way, what function will be tied to this interrupt?  Thank you!

  • I guess i should backup to the original problem .  We are seeing inconsistent data rates when using  ioctl(fd, SPI_IOC_MESSAGE(1), &spi) or iio_channel_attr_read(chn, "raw", buf, sizeof(buf));.  Ideally we would like to read the data in at 800Hz but 500Hz would be sufficient  .   

    HW configuration:   IMU is connected to the NVIDIA TX1 ,  DIO1 is not connected 

  • 0
    •  Analog Employees 
    on Mar 13, 2019 1:51 AM over 1 year ago in reply to jkrasz

    Thank you!

    First, the ADIS16448 produces data, based on its own internal clock.  It can be configured to support and external sync, that is different than an interrupt.  

    Second, how are you measuring the data rates?  Can you offer the range of rates that you are observing?

    Third, can you describe your read process in a logical sequence, with key timing insights? 

    Fourth, have you verified that you are meeting all timing criteria in the ADIS16448 dataheet?

Reply
  • 0
    •  Analog Employees 
    on Mar 13, 2019 1:51 AM over 1 year ago in reply to jkrasz

    Thank you!

    First, the ADIS16448 produces data, based on its own internal clock.  It can be configured to support and external sync, that is different than an interrupt.  

    Second, how are you measuring the data rates?  Can you offer the range of rates that you are observing?

    Third, can you describe your read process in a logical sequence, with key timing insights? 

    Fourth, have you verified that you are meeting all timing criteria in the ADIS16448 dataheet?

Children