This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Documentation for 6472 CSL EMAC routines?

Other Parts Discussed in Thread: TMS320C6472

Problem: the CSL documentation for the 6472 seems to be way out of date. I've got SPRU401J, from August 2004, which isn't particularly useful. For example, EMAC_open (p8-17) is listed as having 4 parameters, but the CSL example code actually has 5 parameters.

There also seems to be some confusion about where or what the correct example code is. On my system, the EMAC example code is:

pdk_c64x_1_00_00_06/packages/ti/csl/c6472/csl_c6472/example/emac/emac_core_restart/src/Emac_core_restart_example.c
pdk_c64x_1_00_00_06/packages/ti/csl/c6472/csl_c6472/example/emac/emac_dual_emac/src/Emac_dual_emac_example.c
pdk_c64x_1_00_00_06/packages/ti/csl/c6472/csl_c6472/example/emac/emac_local_loopback/src/Emac_local_loopback_example.c

However, this forum thread was from someone who is also using the EMAC code on a 6472, and he has cut-and-pasted EMAC example code which is not from the examples above. It's very similar, but there are important differences - he has new routines called EMAC_commonInit, EMAC_coreInit, and EMAC_coreDeInit, he calls DoInterruptsInitialization with one parameter where the example code above calls it with no parameters, and so on.

Thanks.