use the PRU it's faster ^^

Le jeu. 28 avr. 2016 à 17:55, William Hermans <[email protected]> a écrit :

> *1) I could not find START_ADDR, END_ADDR, OE, SETDATAOUT, CLEARDATAOUT
>> from technical manual. Where can I find them for the pins from P9_11 ...
>> upto P9_18*
>>
>
> Setdataout, and cleardataout are in the TRM. Pages 4093-4094.
>
> *2) what is the explanation of the following statement? What does it do?*
>>
>> *define PIN ( 1<<28) *
>>
>
>
>
> *If you do not know what this does, then you need to read, and understand
> how bit manipulation works in C. This specifically is what is known as a
> bit shift.*
>
>> *3) **I am going to use it for SPI communication, so since the timing is
>> critical, and Linux is not RT, there is a possibility that some other
>> interrupts may damage my communaction. Do you think that it would be a
>> problem? If yes, what precautions can I get?*
>>
>
> Bad idea. You have SPI modules on the board already. Why would you not use
> them ? Also, if you know Linux is not real time( enough ) then why would
> you use Linux ?
>
> On Thu, Apr 28, 2016 at 8:02 AM, TJF <[email protected]> wrote:
>
>> Hi Frank!
>>
>> Your example controls one GPIO subsystem. The pins P9_11 to P9_18 are
>> connected to two GPIO subsystems. That's why you cannot control all pins at
>> 2.6 MHz. You'll have to find a set of pins connected to a single GPIO
>> subsystem (either GPIO0 or GPIO1).
>>
>> As John mentioned, this is stuff for the PRUSS.
>>
>> BR
>>
>> --
>> 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/4fa09157-deff-49cf-b899-ed775ed2562b%40googlegroups.com
>> <https://groups.google.com/d/msgid/beagleboard/4fa09157-deff-49cf-b899-ed775ed2562b%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/CALHSORojmnsJo31UbR7C7RnaoCrGKFGP3a9R%3DKBd1Cy5s6J_iQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CALHSORojmnsJo31UbR7C7RnaoCrGKFGP3a9R%3DKBd1Cy5s6J_iQ%40mail.gmail.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/CAF%2BMRtmZ6HpMJ1Sf%2Bgug6uOddb%2BdbwCemnkJaNHHpoggcTFjVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to