how to operate act8865?

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

leo.ni
Posts: 52
Joined: Mon Jun 06, 2016 4:20 am

how to operate act8865?

Wed Aug 31, 2016 12:00 pm

Hi,all.I use act8865 on my custom board based sama5d3-xplained and run ucosii . i want to operate act8865,but i don't know how to do this. Can someone help me?Thanks! i use atmel i2c lib as follow,but always get a "nck".

Code: Select all

option->address = 0x5b;
option->iaddress = 0;
option->isize = 0;
TWID_Write( pTwid, option->address, 
                                 option->iaddress, 
                                 option->isize, 
                                 ( uint8_t * )buf, 
                                 len, 
                                 0 );
blue_z
Location: USA
Posts: 1509
Joined: Thu Apr 19, 2007 10:15 pm

Re: how to operate act8865?

Thu Sep 01, 2016 12:19 am

Did you look at the AT91Bootstrap code for an example, i.e. the at91_board_act8865_set_reg_voltage() routine?

Are you aware of the warning in the SAMA5D3-Xplained User Guide regarding the use of the ACT8865 post-initializtion?

BTW a negative acknowledgement is a NAK.

Regards
leo.ni
Posts: 52
Joined: Mon Jun 06, 2016 4:20 am

Re: how to operate act8865?

Thu Sep 01, 2016 4:53 am

Thank you very much,blue_z!i resolved it now.

Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 1 guest