Forums » Software Development »
AM5749 Header Files for PRU
Added by Tay Barrett about 1 year ago
Hi,
I am using the MitySOM-AM57x development board, in conjunction with code developed from TI's PRU training series. I am wondering if the #include header files for the AM572x board (found in the example labs) are applicable for AM5749 or are there other header files that are required?
I am just trying to toggle an LED using PRU, which I could do using the same code on the AM5728. I have pinmuxed the appropriate pins and copied across the u-boot.img and MLO.
Thanks
Replies (2)
RE: AM5749 Header Files for PRU - Added by Tay Barrett about 1 year ago
For clarification, the example i am using is Lab 2 from here: https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_03_00_19/exports/docs/common/PRU-ICSS/PRU-Hands-on-Labs.html
RE: AM5749 Header Files for PRU - Added by Jonathan Cormier about 1 year ago
Tay Barrett wrote:
Hi,
I am using the MitySOM-AM57x development board, in conjunction with code developed from TI's PRU training series. I am wondering if the #include header files for the AM572x board (found in the example labs) are applicable for AM5749 or are there other header files that are required?
I can't say for sure, you may need to ask on the TI e2e for a definitive answer. But if I look at the AM572x and AM574x TRMs, both have the PRUSS registers at the same memory addresses.
https://www.ti.com/lit/ug/spruhz6l/spruhz6l.pdf
https://www.ti.com/lit/ug/spruih8b/spruih8b.pdf
I am just trying to toggle an LED using PRU, which I could do using the same code on the AM5728. I have pinmuxed the appropriate pins and copied across the u-boot.img and MLO.
If the code is working on a 5728 SOM, I'm surprised that it doesn't work the same on a 5749 SOM.
Could you share your pinmux? Also how are you loading the PRUSS?