Part Number: TMS320C6748
Tool/software: TI C/C++ Compiler
Following is a snippet I use to get PRU going:
PRU0_DisableAndReset();
PRU0_Load(PRUSandbox_image_0, (sizeof(PRUSandbox_image_0)/sizeof(int)));
PRU0_Run();
// for (crc=0;crc<15000;crc++);
while (!PRU0_IsRunning());
I am using CCS v8.2 for debugging indirectly via shared memory as well as PRU registers. The problem is that without some delay after PRU0_Run(), the code doesn't execute. Is there some initialization step with PRU settings I am missing? In the PRU code itself, I'm using whatever the compiler generated by default.