Jason,
I just grabbed the sys_mcspi.h file.  Much appreciated!  I'll let you know 
how it goes.  I'm still climbing up the learning curve.

While I have your attention can I ask you one other question:

What is the recommended way to access NON PRU GPIO pins?

I'm asking because I'm working with a custom cape board on the Beaglebone 
Black that has already been built.
And I'm trying to move some time critical code to the PRU.
I don't think all the GPIO pins that are used are in the group of PRU GPIO 
pins.

Thanks again,
Kirk
 


On Wednesday, September 7, 2016 at 3:55:36 AM UTC-7, Jason Reeder wrote:
>
> Kirk,
>
> Do a 'git pull' on your pru-software-support-package repo and the 
> sys_mcspi.h files should be in the include/am335x/ folder. Let me know if 
> you run into any problems while using it, I didn't have time to test it out.
>
> Jason Reeder
>
> On Saturday, September 3, 2016 at 8:30:56 AM UTC-5, Kirk wrote:
>>
>>
>> OK, I see it now.  Thanks for pointing that out
>> I overlooked it because I thought he pru_*.h files were specific to the 
>> PRU peripherals.
>> Should have looked closer.
>>
>> Here's the directory I'm looking in and the header files in it:
>>
>> /opt/source/pru-software-support-package/include/am335x
>>
>> pru_cfg.h
>> pru_ctrl.h
>> pru_ecap.h
>> pru_iep.h
>> pru_intc.h
>> pru_uart.h
>> sys_mailbox.h
>> sys_pwmss.h
>>
>> I don't see anything for SPI0 and SPI1 on the host processor.
>> I'll be needing to get at them too.
>> Any ideas?
>>
>> Thanks,
>> Kirk
>>
>>
>>
>> On Thursday, September 1, 2016 at 5:18:07 PM UTC-7, Jason Reeder wrote:
>>>
>>> Check out this header file in the PRU Software Support Package: 
>>> https://git.ti.com/pru-software-support-package/pru-software-support-package/blobs/master/include/am335x/sys_pwmss.h
>>>  
>>>
>>> The eQEP, ePWM, and eCAP modules make up the PWMSS peripheral.
>>
>>

-- 
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/f23c7d5e-a732-4536-8f3f-624743c3b9bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to