S32R294 enet registers read wrong value

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32R294 enet registers read wrong value

ソリューションへジャンプ
813件の閲覧回数
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 件の賞賛
1 解決策
788件の閲覧回数
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 件の賞賛
2 返答(返信)
800件の閲覧回数
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 件の賞賛
789件の閲覧回数
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 件の賞賛