TJA1101 WAKE UP function when working in master mode

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

TJA1101 WAKE UP function when working in master mode

ソリューションへジャンプ
532件の閲覧回数
zhaoning
Contributor II

Hi NXP experts,

We are now using TJA1101 in our controller and it works in master mode.

We would like to know if the PHY in master mode when entered into sleep mode can be waked by the PHY which works in slave mode.

Is it true that only the PHY operating in slave mode can be waked by the master PHY? Apart from local wake-up, is there any way for the PHY in master mode to be waked by the PHY working in slave mode?

0 件の賞賛
返信
1 解決策
402件の閲覧回数
PavelL
NXP Employee
NXP Employee

Hi,

please refer to AN13236 - TJA1101B Automotive Ethernet PHY, Application Note, chapter 4.3.5, WAKE_REQUEST (bit 17.0) need to be set in slave mode.

PavelL_0-1723211599588.png

 

Best regards,

Pavel

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
476件の閲覧回数
PavelL
NXP Employee
NXP Employee

Hi,

ad 1. Yes, PHY1 and PHy2 send Ethernet frames as a confirmation before going to sleep mode (refer to AN13236 chapter 5.8.1).

         Yes again, but only if register_18/SLEEP_CONFIRM=0 - no confirmation needed from another PHY before going to sleep.

ad 2. Yes, wake-up and sleep is unrelated to whether the PHY operates in master mode or slave mode.

          No, the sleep and wake-up functions are simply negotiated between the PHYs through the Ethernet. Also, the host processor can force PHY (by SMI bus) to sleep mode anytime.

Best regards,

Pavel

0 件の賞賛
返信
418件の閲覧回数
zhaoning
Contributor II

If two controllers with TJA1101 separately working in slave mode and master mode are all in sleep mode, how can the PHY working in master mode be waked up by the other PHY working in slave mode? 

Will the master PHY automatically switch from sleep mode to normal mode after the slave PHY switched from sleep mode to normal mode?

zhaoning_1-1723192800729.png

 

 

 

0 件の賞賛
返信
403件の閲覧回数
PavelL
NXP Employee
NXP Employee

Hi,

please refer to AN13236 - TJA1101B Automotive Ethernet PHY, Application Note, chapter 4.3.5, WAKE_REQUEST (bit 17.0) need to be set in slave mode.

PavelL_0-1723211599588.png

 

Best regards,

Pavel

0 件の賞賛
返信
338件の閲覧回数
zhaoning
Contributor II

Hi Pavel,

thanks for your help. We have tested with 2 controllers working in master and slave mode. When master phy sleep, when set the slave phy  WAKE_REQUEST bit to 1, the master phy waked up.

0 件の賞賛
返信
507件の閲覧回数
PavelL
NXP Employee
NXP Employee

Hello zhaoning,

based on AN13236 - TJA1101B Automotive Ethernet PHY, Application Note, chapter 5.8.2, the link wake up procedure is not dependent on PHY mode.

Best regards,

Pavel

0 件の賞賛
返信
502件の閲覧回数
zhaoning
Contributor II

zhaoning_0-1722421371459.png

Hi,

1. As a newcomer to automotive Ethernet, I would like to ask whether the LPS CODES between PHY1 and PHY2 in the above picture require both Ethernet nodes to send and receive Ethernet frames? Or is the sleep process initiated solely by any one side's MCU writing to the PHY(no matter working as master mode or slave mode) through the SMI bus, with the entire Ethernet entering the sleep state being fully negotiated by PHY1 and PHY2 through the MDI bus?

2. Another question, is wake-up and sleep unrelated to whether the PHY operates in master mode or slave mode? Furthermore, are the sleep and wake-up functions simply negotiated between the PHYs through the SMI bus, independent of Ethernet frames?

0 件の賞賛
返信