S32R294 enet registers read wrong value

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32R294 enet registers read wrong value

Jump to solution
806 Views
JxW
Contributor II

When i use the fnet stack in my project, i find the enet registers read wrong.It's value equal the address.And when i write to the register,i got error.Can someone help me?

JxW_0-1602836327950.png

JxW_1-1602836346790.png

 

0 Kudos
1 Solution
781 Views
JxW
Contributor II

After comparison, I solved it. When I use fnet in the SDK project, I need to configure the clock enable of enet and bind the clock source to fnet.

View solution in original post

0 Kudos
2 Replies
793 Views
JxW
Contributor II

I tried to make GCR.UAA = 1, but it didn't work.
After debugging, I found that when I added the enet module of the SDK to the project, the value of the register could be read correctly, even without initializing enet. But I cannot understand why the enet module must be added?
(But fnet still can't work, this may be due to different configuration items of fent and enet modules.)

 
 
0 Kudos
782 Views
JxW
Contributor II

After comparison, I solved it. When I use fnet in the SDK project, I need to configure the clock enable of enet and bind the clock source to fnet.

0 Kudos