How to perform RZI decoding on the TJA1410 receiving signal RX+ED? As can be seen from the waveform in the manual, RX ignores the first transition starting with high impedance (or 0), resulting in RX missing a transition and RZI decoding error. I'd like to ask about NXP TJA1410. In this case, are there any recommended decoding methods? Ethernet Re: TJA1410 接收信号RX+ED 如何进行RZI解码? Hello @li_wang ,
First, could you please clarify whether this is a theoretical concern based on Figure 11 or whether you are observing an actual RZI decoding error in your implementation?
If an actual error is observed, please provide:
TX, RX, ED and differential line voltage waveforms covering the TRANSMIT command and the beginning of data transmission
The digital PHY or custom decoding implementation connected to the TJA1410
The point at which the implementation starts treating RX as valid
The expected and actually decoded data sequence
Regarding Figure 11, the highlighted VLINE transition occurs during the transition from Normal mode to Transmitting mode. At this time, the line impedance changes from High-Z to active impedance and the transmitter begins driving the differential line. The RX output is explicitly marked as undefined during this transition. Therefore, the initial VLINE movement shown in the highlighted area should not be interpreted as a valid RZI data transition that must be represented by a pulse on RX.
In Normal and Transmitting modes, the default level on RX is HIGH. When the differential MDI voltage crosses the receiver trigger threshold, the TJA1410 generates a LOW pulse on RX. This behavior applies to the valid receive-data interval.
Consequently, Figure 11 does not indicate that the TJA1410 ignores the first valid RZI transition. It shows that RX is not defined during transmitter activation. Valid RZI decoding should begin only when RX is in its valid operating interval, not from the initial analog VLINE movement caused by the mode transition.
Best regards,
Pavel Re: TJA1410 接收信号RX+ED 如何进行RZI解码? Hi, PavelL How can I obtain the S32K5 + TJA1410 test kit? Thanks Li.Wang Re: TJA1410 接收信号RX+ED 如何进行RZI解码? The actual test waveform of TJA1410 shows that TJA1410 is in Normal mode, only receiving data and not sending data. The signals from top to bottom in the diagram are: ED, RX, Vline, TRX_P, TRX_N. When the RX signal is received and decoded, according to the RZI rule, the decoded data is 0x04, but the actual data on Vline is 0x08 (BEACON). Observing the signal RX, it was found that when Vline changed from high impedance to high, RX did not output a low-level pulse, which means that RX was missing 1 bit of data, resulting in a decoding error. Thank you very much for your reply. Thanks! Li.Wang Re: TJA1410 接收信号RX+ED 如何进行RZI解码? Hello @li_wang ,
Yes, the TJA1410 can communicate with the LAN8670 over a common 10BASE-T1S network.
There is available a TJA1410 VHDL-AMS simulation model under Documents in Secure Files.
Requested documentation for this product is under control release, accessible under NDA (Non-Disclosure Agreement) via Secure Files.
Please Request Access here: https://www.nxp.com/webapp-signup/docstoreReg
Please note, during the form submission you will be asked to upload valid NDA copy. If your company does not have any yet please fill the form for NDA first:
https://www.nxp.com/webapp-signup/ndaReqForm
When NDA is ready you can request secure files access Kindly check FAQs to understand the process: https://www.nxp.com/support/support/secure-access-rights:SEC-ACCESS
https://www.nxp.com/support/support/secure-access-rights/secure-access-rights-faqs:SEC-ACCESS-FAQS
Please note that Automotive Ethernet is subject to export control policies and additional approvals may be required even after NDA and Secure Files access is granted.
Best regards,
Pavel Re: TJA1410 接收信号RX+ED 如何进行RZI解码? As shown in the figure, VLINE changes from high impedance to high voltage. This change does not generate a low-level pulse on RX, which will cause RX to generate 1 less bit during RZI decoding. I have two more questions: 1) Can the TJA1410 interconnect with the LAN8670? 2) Does your company have Verilog model files for TJA1410, or other model files that can be used for simulation design of digital PHY? Thank you so much for your reply! Li.Wang Re: TJA1410 接收信号RX+ED 如何进行RZI解码? Hello @li_wang ,
https://www.nxp.com/design/design-center/development-boards-and-designs/TJA1410-EVB can be ordered directly.
S32K5 is a NPI (New Product Introduction) which has not been officially launched yet. Please be advised that customers who have been granted early access to such products have assigned their field engineers. Your designated field engineer should serve as your primary support channel for any issues, concerns or queries you may have about this product.
Best regards,
Pavel Re: TJA1410 接收信号RX+ED 如何进行RZI解码? Hello @li_wang ,
Thank you for providing the measurement. However, the current screenshot does not provide sufficient time resolution to determine whether the first expected RX event is actually missing or whether the decoding is aligned incorrectly at the beginning of the received burst.
Could you please provide:
Details of the digital PHY or custom decoder, including how ED and RX are used for reception and bit alignment.
A higher-resolution capture showing ED, RX, TX and differential VLINE around the beginning of the burst, ideally covering the first 8 to 16 bit periods.
Based on the current capture, we cannot yet conclude that the TJA1410 loses a valid data bit. The 0x08 to 0x04 mismatch could also be caused by how the decoder establishes the initial bit alignment using ED and RX.
Best regards,
Pavel Re: TJA1410 接收信号RX+ED 如何进行RZI解码? The file has been downloaded, thank you very much! There are two models inside, the one below is for a specific software. I would like to ask if these two files can be simulated in Synopsis VCS, and if there is any help documentation? Xpedition is registered trademark of Siemens. SABER is a registered trademark of Synopsis. In addition, there is a waveform in the document, as shown below, where TX is not RZI encoded. I understand that when the TAJ1410 chip sends communication via TX, it should send a waveform in RZI encoded format, right? Re: TJA1410 接收信号RX+ED 如何进行RZI解码? Hello @li_wang ,
Thank you for confirming that the package was downloaded successfully.
Since the simulation model and its documentation are provided through Secure Files, we should avoid discussing their detailed contents on the public Community forum.
Both questions are addressed in the simulation model documentation included in the downloaded package. Please refer to the sections describing the supported simulation environments, the model interface and the simulation example.
Bets regards,
Pavel Re: TJA1410 接收信号RX+ED 如何进行RZI解码? The image above shows the waveform when the digital PHY sends a beacon. From top to bottom, the signals are ED, RX, TX, and TRX_P. The commands on TX are TRANSMIT cmd, 5 times BEACON code, and RESET cmd. Several points of doubt: 1. After TX sends TRANSMIT cmd, an additional low-level pulse appears on RX; 2. After TX sends RESET cmd, ED does not go low within 130ns. I'd like to ask what caused this? Thanks! Re: TJA1410 接收信号RX+ED 如何进行RZI解码? According to Figure 10, after entering Transmitting mode, Vline is no longer in a high-impedance state. However, Figure 7 shows that in Transmitting mode, Vline is high-impedance, and after a low-level pulse, Vline goes high. So before actually sending data, should we send a RESET command with two low-level pulses or send a single low-level pulse? Re: TJA1410 接收信号RX+ED 如何进行RZI解码? Hello @li_wang ,
Figure 7 provides a simplified overview of the complete transmission sequence, while Figure 10 shows the Normal-to-Transmitting mode transition in detail. The two figures therefore show different levels of detail and are consistent with each other.
In Figure 7, the VLINE High-Z regions are shown before the TRANSMIT command and after the RESET command. They do not represent the VLINE state while the TJA1410 is actively transmitting.
Before sending data, the digital PHY must issue the TRANSMIT command shown in Figure 13. This command contains two LOW pulses separated by a HIGH interval. Once the command is recognized, the TJA1410 enters Transmitting mode and changes the line impedance from High-Z to active impedance, as shown in Figure 10.
The subsequent short LOW pulses on TX represent the transmitted data. Each LOW pulse inverts the polarity of the differential bus signal.
After the data transmission is complete, the digital PHY issues the RESET command shown in Figure 12. This returns the TJA1410 to Normal mode and the transmitter output becomes High-Z again.
Therefore, the correct sequence before data transmission is the TRANSMIT command, not a RESET command or a single data pulse.
Best regards,
Pavel Re: TJA1410 接收信号RX+ED 如何进行RZI解码? Hello @li_wang ,
The additional LOW pulse on RX after the TRANSMIT command can occur when the transmitter changes from High-Z to the actively driven state and the differential MDI voltage crosses the receiver threshold. RX during this mode transition should not be interpreted as valid received data, so this pulse should not be included in the BEACON decoding.
Regarding ED, the 55 ns to 120 ns timing specified for the RESET command is the TX command de-assertion time, not the maximum ED de-assertion time. ED may remain HIGH while activity is still detected on the MDI.
For a more precise evaluation, you should measure differential VLINE.
Best regards,
Pavel Re: TJA1410 接收信号RX+ED 如何进行RZI解码? The above image shows the waveform when the digital PHY sends a beacon. In the test, there was only one TJA1410, and TRX_P and TRX_N were in a floating state. The signals from top to bottom are ED, RX, VLINE, and TRX_P.TRX_N The commands on TX are TRANSMIT cmd, 5 times BEACON code, and RESET cmd.Same as the previous picture. TX sends a TRANSMIT command, which generates a high pulse on VLINE; an unexpected exception. After resetting cmd, VLINE was 0, but ED persisted for nearly 20us; this was not as expected. Could you please help me figure out what might be causing this? Pavel, does your company have a data sending process, and the corresponding waveform? If you have any, please provide them to me, or send them to my email. Thank you! Re: TJA1410 接收信号RX+ED 如何进行RZI解码? Hi, PavelL The phrase "floating state" may be misleading. In reality, it means there is only one Node device on the twisted pair, i.e., only one TJA1410. Therefore, there are no other interfering factors. Meanwhile, the VLINE signal is TRX_P - TRX_N. Does your company have test waveforms on a demo board, such as the actual measured receive and transmit waveforms when two TJA1410s are in operation? Re: TJA1410 接收信号RX+ED 如何进行RZI解码? Hello @li_wang ,
Since TRX_P and TRX_N were left floating, the measured behavior is not representative of a properly connected 10BASE-T1S interface.
Please terminate the MDI with the required differential impedance and repeat the measurement.
Best regards,
Pavel Re: TJA1410 接收信号RX+ED 如何进行RZI解码? Hello @li_wang ,
Could you please confirm how the MDI is terminated in this single-node setup? In particular, please confirm that the recommended bus interface network is used and that the end-node termination is enabled.
Measured reference waveforms from communication between two TJA1410 devices are currently not available. I am also unable to reproduce this setup because the required digital PHY is integrated in the S32K5, which is still an NPI device, as mentioned previously. Therefore, my analysis is based only on the available TJA1410 documentation.
Best regards,
Pavel
View full article