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