Part Number: SK-AM64B
Other Parts Discussed in Thread: SYSCONFIG, AM6442
Tool/software:
My PRU GPO10 output isn't working and I don't know why.
I am new to PRU and multicore programming on TI products, so throughout this post I will try to highlight assumptions I am making - please correct anything you see as wrong! I am keen to understand this system better.
The Setup
Development Software
The Board
System Setup
The Application
Following "Steps to Run the Example" of PRU IO Empty Project, I first built the PRU project, then built the R5F project. These steps then say I should "Launch a CCS debug session and run the executable, see CCS Launch, Load and Run". Those instructions say to use the manually created Target Config, so I did that.
To debug the empty project, I need to launch my manually created Target Configuration, connect to and reset both the R5_0_0 and ICSS_G0_PRU_0 cores, and then I use the "Run > Load..." tab in CCS to load the the binaries to the R5F and PRU, respectively. I can then step through code on both the R5F and PRU, and it seems to work.
Trying GPIO

I also found the AM64X: How to Toggle GPIO Pin on PRU? FAQ article. My SysConfig appears identical. The only thing I've done differently from that FAQ is not connect to the DMSC core during debugging, but the code runs anyway so I think it's alright.
I added the following to the PRU IO Empty main.asm file, and included the "time_macros.inc" header at the top. In case I somehow got a pin count wrong, I switched from set/clr to writing all 16 lowest GPO pins.

Leaving both the R5F program and PRU on breakpoints, I poked around these registers to see if anything looked off. The AM6442 datasheet says signal PRG0_PRU0_GPO10 is MUX MODE 0 for Ball AA5/PADCONFIG98, which I have shown here:




