Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

SPI drivers

27

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
27

SPI drivers

Posted at 8/30/2016 16:11:03      View:3053 | Replies:2        Print      Only Author   [Copy Link] 1#
Last edited by shahidalinadaf In 8/30/2016 16:12 Editor

Hi Team firefly,


I recently bought Firefly RK3288 development board and i am runnining ubuntu 14.04 with kernel version 3.10. I am trying to get SPI interface working and i see that the SPI drivers are not built as a part of the kernel as the node is not reflecting in /dev/ directory.

I followed the steps mention in the  http://wiki.t-firefly.com/index.php/Firefly-RK3288/SPI/en   wiki page, but when i try to cross compile the kernel it throws me an error relating to
gsl_fp_write(spidev, 0x00, 0xf0); function . I browsed through the kernel source code and tried to find gsl_fp_write
function but i was not able to locate it. In the wiki page defination for gsl_fp_getOneFrame and gsl_spidev_sync_read
functions are available but defination for gsl_fp_write is missing.

Can you help me build the spi drivers?

awaiting reply


Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/2/2016 10:25:05        Only Author  2#
Hi  
  the function “gsl_fp_write” defined by the ingerprint recognition module from the wiki example.
you need write the driver by yourself.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list