Good morning Gerhard,

Thank you very much for your response,

I did that but surprisingly when I try to include the library in my C++
application it can't find the libraries, although they are in the correct
folders (namely "usr/lib" and "usr/include"). O followed the steps
mentioned here:
https://www.npmjs.com/package/pru#driver-library-and-assembler in the
"Driver and assembler" section this time, but it still kept not working.

Did you find any different from what you've done there? Or rather have any
inkling for what I may be doing wrong?

Thank you very much,
--Fred Gomes


Gerhard Hoffmann <[email protected]> escreveu no dia segunda,
22/10/2018 à(s) 22:28:

> Hi,
>
> I have no experience with c++ on the bbb, but for C, I had to
>
> put the fftw libraries into /usr/local/include so that they could be found.
>
>
> BTW I have also tried to connect  a LTC2500-32 ADC to a BBB SPI master
>
> and I lost so much time over it that I programmed the existing Xilinx
>
> Coolrunner2 to receive the SPI at 100 MHz and now I read them via
>
> R30/31 of PRU1 bytewise. Getting all 32 bits takes 110 ns including
>
> shifting & rebuilding the int32.
>
> regards, Gerhard
>
>
>
>
> Am 22.10.18 um 19:52 schrieb [email protected]:
>
> Hi guys,
>
> I need your help, the situation is the follows:
>
> I need to set up the beagle bone as  SPI slave for reading data of a
> sensor, and since the kernel GPIO functions do not support very high
> frequencies I need to do that using the PRU. I am developing my application
> in C++ and I found this link which seems to be what I want:
> https://github.com/giuliomoro/bb-pru-spi-duplex
>
>
> However, I got stuck from the very beginning;  for what I've read, I have
> to install the prussdrv library by hand, I download it here:
> https://github.com/beagleboard/am335x_pru_package and follow the steps
> mentioned here: http://mythopoeic.org/bbb-pru-minimal/ (section
> "Development tools"). After getting the library at "/usr/include" the C++
> application can't still find it.
>
> Anyone can give me a tip about what am I doing wrong?
>
> Best regards,
> Fred Gomes
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/bdd34b98-e00a-4574-8689-9a51f45efb00%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/bdd34b98-e00a-4574-8689-9a51f45efb00%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/477ae100-7176-7532-c555-9831c2e229f9%40hoffmann-hochfrequenz.de
> <https://groups.google.com/d/msgid/beagleboard/477ae100-7176-7532-c555-9831c2e229f9%40hoffmann-hochfrequenz.de?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAJHs20z%2Bb9LBayuhV6sL-Ft11ce5D5sD_oQ-f8u4GAi0ZpRGaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to