Possible Bug in PE with ENET Peripherial

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

Possible Bug in PE with ENET Peripherial

2,563件の閲覧回数
peterruesch
Contributor IV

Hi,

I'm trying to get the ethernet interface on my TWR-K65F180M + TWR-SER working.

I try to use Processor Expert to do the Chip configuration.

It seems like the clock selection for RMII mode can not be done with PE. for some reason there is no choice available between EXTAL and ENET_1588_CLKIN.

See the attached screenshot.

Has anyone else tried  to get Ethernet on the TWR-K65F180M + TWR-SER working?

タグ(2)
0 件の賞賛
返信
4 返答(返信)

2,227件の閲覧回数
jill1
Contributor I

Hi Peter,

I'm trying to get the ethernet interface on my TWR-K65F180M + TWR-SER working aswell. 

I've never did something like that before. Do you have any tip how to get started?

 

Best regards,

Jill

0 件の賞賛
返信

2,265件の閲覧回数
marek_neuzil
NXP Employee
NXP Employee

Hello Peter,

Thank you for reporting of this issue. I am also able to reproduce the issue in a TWR-K65F180M project (with KSDK 1.3.0). I have reported the defect to Processor Expert development team (PEXMCU-4057).

Best Regards,

Marek Neuzil

0 件の賞賛
返信

2,265件の閲覧回数
marek_neuzil
NXP Employee
NXP Employee

Hello Peter,

Processor Expert development team has provided the following workaround:

Add the Init_SIM component into the project and select the SDHC0_CLKIN pin in the RMII clock source property (in the Component Inspector), see below:

pastedImage_0.png

Please note, that there is incorrect signal name of the ENET_1588_CLKIN signal but the selection of the SDHC0_CLKIN ensures that the RMIISRC bit (SOPT2 register) will be set to 1.

In the Component Inspector window of the PinSettings component, select the ENET tab and select the PTE26 pin in the ENET TS clock input selection property, see below:

pastedImage_2.png

This selection ensures routing of the PTE26 pin as the ENET_1588_CLKIN pin, i.e. there will be generated the following code:

  /* Affects PORTE_PCR26 register */

  PORT_HAL_SetMuxMode(PORTE,26UL,kPortMuxAlt2);

Please note that the RMII EXTAL - External reference clock property (on ENET tab of the PinSettings) cannot be used because the Init_ENET already define value of this property (allocation of the pin).

Best Regards,

Marek Neuzil

0 件の賞賛
返信

2,214件の閲覧回数
rareskysix
Contributor I

Thanx for sharing this article, it was really helpful.

0 件の賞賛
返信