+ Post New Thread
Results 1 to 8 of 8
  1. #1
    Newbie level 6
    Points: 378, Level: 4

    Join Date
    Nov 2012
    Posts
    14
    Helped
    0 / 0
    Points
    378
    Level
    4

    aP89170 serial mode interface issue

    aP89170 serial mode interface is not working, is anybody sucessfully interfaced aP89170 in serial mode with MCU?

    •   AltAdvertisement

        
       

  2. #2
    Full Member level 3
    Points: 1,926, Level: 10

    Join Date
    Nov 2012
    Location
    India
    Posts
    159
    Helped
    13 / 13
    Points
    1,926
    Level
    10

    Re: aP89170 serial mode interface issue

    Attach the circuit which you designed.
    aghilwtsn



    •   AltAdvertisement

        
       

  3. #3
    Newbie level 6
    Points: 378, Level: 4

    Join Date
    Nov 2012
    Posts
    14
    Helped
    0 / 0
    Points
    378
    Level
    4

    Re: aP89170 serial mode interface issue

    Click image for larger version. 

Name:	aP89170 serial mode interface.png 
Views:	24 
Size:	91.9 KB 
ID:	106812 find out the attachment of my circuit



    •   AltAdvertisement

        
       

  4. #4
    Newbie level 6
    Points: 378, Level: 4

    Join Date
    Nov 2012
    Posts
    14
    Helped
    0 / 0
    Points
    378
    Level
    4

    Re: aP89170 serial mode interface issue

    Quote Originally Posted by snishanth512 View Post
    Attach the circuit which you designed.
    Click image for larger version. 

Name:	aP89170.jpg 
Views:	11 
Size:	40.4 KB 
ID:	107104 Find the attachement of circuited, which is provided by APLUS.



  5. #5
    Banned
    Points: 12,436, Level: 26

    Join Date
    Apr 2013
    Posts
    2,528
    Helped
    538 / 538
    Points
    12,436
    Level
    26

    Re: aP89170 serial mode interface issue

    It is an I2C device. Have you written I2C code for communicating with the device (APLUS) ? Post code and datasheet of device. I might be wrong. It might be a SPI device. Try Software SPI code and make sure if LSB gows first ot MSB.
    Last edited by milan.rajik; 7th July 2014 at 20:58.



    •   AltAdvertisement

        
       

  6. #6
    Newbie level 6
    Points: 378, Level: 4

    Join Date
    Nov 2012
    Posts
    14
    Helped
    0 / 0
    Points
    378
    Level
    4

    Re: aP89170 serial mode interface issue

    Quote Originally Posted by milan.rajik View Post
    It is an I2C device. Have you written I2C code for communicating with the device (APLUS) ? Post code and datasheet of device. I might be wrong. It might be a SPI device. Try Software SPI code and make sure if LSB gows first ot MSB.
    I tried but no result. is there any other suggestion?



  7. #7
    Banned
    Points: 12,436, Level: 26

    Join Date
    Apr 2013
    Posts
    2,528
    Helped
    538 / 538
    Points
    12,436
    Level
    26

    Re: aP89170 serial mode interface issue

    It is an SPI device. The datasheet mentions about device read and write operations. Please read it and try.



  8. #8
    Newbie level 6
    Points: 378, Level: 4

    Join Date
    Nov 2012
    Posts
    14
    Helped
    0 / 0
    Points
    378
    Level
    4

    Re: aP89170 serial mode interface issue

    problem solved, issue is on chip power on command code, there are two command code for power on chip, 0xC5 worked for me instead 0x8D.



--[[ ]]--