X4 x4driver_init function fail after reset

Discussion in 'X2 & X4 SoC' started by Ronen A, Sep 25, 2019.

  1. Ronen A

    Ronen A New Member


    when I start the application after power up x4driver_init success and every thing run as expect.
    however when I try to run second time ( after resetting the unit ) this function fail and the communication with the radar through SPI fail
    I allways need to Hw reset to cause it run again
  2. Charlie Shao

    Charlie Shao Moderator Staff Member

    It is not easy to recognize the problem based on the above information.
  3. Ronen A

    Ronen A New Member

    I'm using X4Driver_RaspberryPi_Example Software to run on my board ( I'v replace the wiringPi with my board wiringX ) , and I can run the my board with The radar.
    the result are as expected .
    the issue I'm facing now is as follow .
    1. powerUp board
    2. start the application through command line
    3. kill the application
    till now every thing is Okay
    4. when I run again the application x4driver_init function is fail .

    5. power up the unit again solve the issue

    I hope it much clear

    thank you