Hi Here is a question about AM1810 Evaluation Module.
We use DPSlave_EVAL from am181x_profibus_dpslave_app-04.01.00.00 to test.
GSD: PRU_0CDA.GSD from am181x_profibus_dpslave_app-04.01.00.00.
The function "user_dp_init(void) " in am181x_profibus_dpslave_app\src\dp_user.c:
- IDENT_NR_H=0x0C if we change the value, it cannot work.
- IDENT_NR_L =0xDA if we change the value, it neither work.
ident_number[0] = IDENT_NR_H;
ident_number[1] = IDENT_NR_L;
init_dp(sizeof(myCfg1), ADD_CHANGE_DISABLED, ident_number);
ident_number[1] = IDENT_NR_L;
init_dp(sizeof(myCfg1), ADD_CHANGE_DISABLED, ident_number);
Why the function "ident_number" seems to have a constant value of 0x0CDA? We tried to alter the value, but the result of dpslave ID is just 0x0CDA.
I hope you can understand what I am writing above clearly.
Need your help. Thank you very much.
Guotao.