Repository navigation
Conversation
PR Summary by QodoEnable dual-core GPIO toggling on AM64x and AM243x
AI Description
Merge Risk
|
bae9bb9 to
df083d5
Compare
|
/agentic_review |
df083d5 to
8cbb08e
Compare
| ; firmware/<board>/icss_g0_pru0_fw/ti-pru-cgt and run: make | ||
| ; | ||
| ; Timing (assuming a 200 MHz PRU core clock, 5 ns per cycle. This is the | ||
| ; AM64x/AM243x MCU+ SDK SysConfig default. Other devices may differ): |
There was a problem hiding this comment.
We should have a note that different processors support different core frequencies on the PRU subsystem. Not sure if it's sufficient to point to the PRU Subsystem Features Comparison app note (AI-friendly link here: https://github.com/TexasInstruments/open-pru/blob/main/docs_ai/reference/pru_subsystem_features_comparison_g/pru_subsystem_features_comparison_g.md), or if something else makes sense here (for example, I don't think AM62x supports all the same frequencies as AM64x - it might be missing 225MHz and 300MHz? - so some information is not fully represented in the features comparison app note)
There was a problem hiding this comment.
I can add the link for now and once the Academy page with the clock frequencies is updated, I'll update the link to that
Add a PRU1 GPO instance of the GPIO toggle, assembly and C examples. This allows toggle of both PRU0 and PRU 1 core pins simulataneously. Signed-off-by: Yashraj Motwani <[email protected]>
Add comments and documentation to the GPIO toggle assembly and C examples to make them easier to follow for users new to the PRU. - main.asm, main.c: describe what the example teaches and who loads the PRU, document the cycle count and expected frequency, and describe the three ways to change an output pin (overwrite, set/clear, XOR). - readme.md: document the PRU0 and PRU1 GPO4 pins, expected output, PRU clock and timing references, and debug steps. Signed-off-by: Yashraj Motwani <[email protected]>
8cbb08e to
157b0e4
Compare
Adding support for PRU0 and PRU1 cores enabled together for AM64x and AM243x. This toggles both the pins for the core. Updated the readme and main source files with detailed comments and debug steps to help new users.