2008-11-10 07:04:49     i2c driver for adxl345

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-11-10 07:04:49     i2c driver for adxl345

abhrajit datta (INDIA)

Message: 64921   

 

hi,

 

i have to write a driver for adxl345 accelerometer chip which will be interfaced through i2c to the bf527 ezkit. i read that there is a blackfin twi module, can i use that  and write a client driver only, or do i need to write bus and algo driver also? i checked out the bfin_twi_lcd driver .... can i write my adxl345 driver on similiar lines? i am a little confused ..

 

thanks

 

abhri

QuoteReplyEditDelete

 

 

2008-11-10 09:18:25     Re: i2c driver for adxl345

Mike Frysinger (UNITED STATES)

Message: 64934   

 

please read the documentation:

http://docs.blackfin.uclinux.org/doku.php?id=i2c

 

i cant find this part, but if you only need to poll data from it, then write a userspace client

QuoteReplyEditDelete

 

 

2008-11-10 10:59:00     Re: i2c driver for adxl345

abhrajit datta (INDIA)

Message: 64949   

 

thanks for the link, i dont think only userspace client  will do. ill read the documentation again and ask questions if i have.

 

thanks

 

abhri

Attachments

    Outcomes