TI中文支持网
TI专业的中文技术问题搜集分享网站

AM6442: VLAN in IEEE1588 synchronization

Part Number:AM6442

We have a requirement here and would like to inquire if there are any recommended implementation paths for supporting VLAN in IEEE1588 synchronization.

We are using CSPW network interfaces and the LinuxPTP open-source protocol stack for implementation, but we can't find any information about VLAN online. The AM64 manual CPTS has some information, specifically in the CPSW_PN_TS_CTL_REG_k 0802 2310h register, there are two enable bits:

  • TS_TX_VLAN_LTYPE2_EN
  • TS_TX_VLAN_LTYPE1_EN

However, upon reviewing the CPSW driver, there are no operations on the relevant registers. We are currently unclear on how to implement the VLAN feature of IEEE1588 on the AM64 hardware platform.

TRANSLATE with x
English

Arabic Hebrew Polish
Bulgarian Hindi Portuguese
Catalan Hmong Daw Romanian
Chinese Simplified Hungarian Russian
Chinese Traditional Indonesian Slovak
Czech Italian Slovenian
Danish Japanese Spanish
Dutch Klingon Swedish
English Korean Thai
Estonian Latvian Turkish
Finnish Lithuanian Ukrainian
French Malay Urdu
German Maltese Vietnamese
Greek Norwegian Welsh
Haitian Creole Persian
TRANSLATE with

COPY THE URL BELOW

Back
EMBED THE SNIPPET BELOW IN YOUR SITE

Enable collaborative features and customize widget: Bing Webmaster Portal
Back
Links:

Dear,

Please refer to the link below

(+) AM6442: IEP SYNC adjust phase – Processors forum – Processors – TI E2E support forums

,

mike li:

thanks,but the content of the link does not contain any information about VLAN

,

Links:

Hello Links,

Have you taken a look at the documentation provided in https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/latest/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/CPSW-PTP.html?highlight=ptp#introduction?

Specifically, the below sections (screenshots) might help you understand what is supported for IEEE 1588 with VLAN from our CPSW CPTS module. It appears that with the SIOCSHWTSTAMP socket ioctl, the CPTS PTP default configuration is that TS_TX_VLAN_LTYPE_E is enabled (I believe this is related to the TS_TX_VLAN_LTYPE_EN referenced in the TRM for AM64x under "Ethernet Port Events") and TS_VLAN_LTYPE1=0x8100 aligning with the details in the TRM. 

Additionally, it appears that the "CPSW_PN_TS_VLAN_LTYPE_REG" mentioned in the same section of the TRM ("Ethernet Port Events") is also referenced in the CPSW driver https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/net/ethernet/ti/am65-cpsw-nuss.c?h=ti-rt-linux-6.6.y#n78.

The CPSW_PN_TS_CTL_REG is also defined and used in https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/net/ethernet/ti/am65-cpsw-nuss.c?h=ti-rt-linux-6.6.y#n76.

Please let us know if you have follow up questions.

TRANSLATE with x

English

Arabic
Hebrew
Polish

Bulgarian
Hindi
Portuguese

Catalan
Hmong Daw
Romanian

Chinese Simplified
Hungarian
Russian

Chinese Traditional
Indonesian
Slovak

Czech
Italian
Slovenian

Danish
Japanese
Spanish

Dutch
Klingon
Swedish

English
Korean
Thai

Estonian
Latvian
Turkish

Finnish
Lithuanian
Ukrainian

French
Malay
Urdu

German
Maltese
Vietnamese

Greek
Norwegian
Welsh

Haitian Creole
Persian

TRANSLATE with

COPY THE URL BELOW

Back

EMBED THE SNIPPET BELOW IN YOUR SITE

Enable collaborative features and customize widget: Bing Webmaster Portal
Back

赞(0)
未经允许不得转载:TI中文支持网 » AM6442: VLAN in IEEE1588 synchronization
分享到: 更多 (0)