Part Number: PROCESSOR-SDK-AM335X
Tool/software: TI-RTOS
Hi,
I'm trying to set the pinmux for pru0 and I got stuck. When I run bare metal project in gel file I cofigure
//CLK output = pr1_pru0_r30_5 (mode 5)
*((unsigned int*) 0x44E109a4) = AM335X_PIN_OUTPUT | 5;
this pin to be output and it will generate a basic clock signal. I start debug sesion connect arm cortex 8, run gel script, connect pru0, load program and run it. Evrything works fine until I try do the same thing with a TI-RTOS bios. How should I configure the pin mux? Do I have to do it by pinmux tool as described here http://www.ti.com/lit/an/sprac32/sprac32.pdf ? Maybe I need to use PRUICSS_pinMuxConfig(handle, 0x0); but I dont know how to use this function? Cos when i try it by gel file it dosent work.