This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Access Registers from C Code on Am335x PRU

I'd like to set up and program the Am335x SPI from within the PRU using C code.

How do I gain access to MCPSPI_CHxCONF and MCSPI_CHxCTRL registers so that I can a) reset and b) program the divider?  These registers don't seem to be extended from within any header file.  Should I point them to the necessary address myself?

I am using Code Composer Studio 6.1.1.00022.

Thanks,

Bryan