{"id":13456,"date":"2024-09-19T16:47:37","date_gmt":"2024-09-19T08:47:37","guid":{"rendered":"https:\/\/www.tosunai.com\/?p=13456"},"modified":"2024-09-19T16:57:34","modified_gmt":"2024-09-19T08:57:34","slug":"tsmaster-software-qa-guide-3","status":"publish","type":"post","link":"https:\/\/www.tosunai.com\/en\/tsmaster-software-qa-guide-3\/","title":{"rendered":"Sharing | TSMaster Software Q&A Guide (Issue 3)"},"content":{"rendered":"
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

TSMaster is a domestic automotive bus tool chain software platform developed by TOSUN, which is a professional tool for all-round automotive bus design, simulation, analysis, diagnosis and calibration, and supports the whole system development process from demand analysis to system realization. <\/strong><\/span>TSMaster software can connect, configure and control all TOSUN hardware interface card, realize the automotive bus monitoring, simulation, diagnosis, calibration, BootLoader, I\/O control, measurement and testing, EOL and other occasions of functional requirements. And support Vector, Kvaser, PCAN, Intepace, Zhou Ligong bus series hardware and mainstream instruments on the market, can realize multi-hardware, multi-channel joint simulation, test. TSMaster software users are more and more, for the user in the process of using the problems raised, we will be regularly sorted out for everyone to refer to and learn. Follow the editor to see what Q&A answers this issue.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t

\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

01, TSMaster CAN FD related<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

1. Q: Is there a function in TSMaster to enable configuration of TDC (Time Delay Compensation for Data Field Transmission) for CAN FD? Or is it enabled by default?<\/strong><\/p>

A\uff1aTDC(Transmission Delay Compensation) under CAN FD of TSMaster is enabled by default, if not enabled, it can't send\/receive normally under FD mode.<\/p>

\u00a0<\/p>

2\u3001Q\uff1aWhat is the default value of TDC's offect?<\/strong><\/p>

A: This offect setting value in TSMaster is calculated dynamically according to the baud rate, it is a ratio, not a fixed value.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t

\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\tDry Tips\n\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

What is Loop delay loop delay?<\/strong><\/p>

In the \"mining\" process, the CAN transceiver undergoes two conversions: the Transmitter converts a sequence of 0 and 1 digital levels to differential levels; the Receiver converts the differential levels to a sequence of 0 and 1 digital levels. Because the conversion takes time, there is bound to be a physical delay. See Figure 1, where the ECU sends a frame. level changes on the TX and Rx pins: the digital level change on the Rx is delayed by a small amount of time.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\"Loop\t\t\t\t\t\t\t\t\t\t\t
Figure 1<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\tFigure 2 shows the after effect of a CAN FD frame locally zoomed in under an oscilloscope: the RX level change lags by more than 100 nanoseconds compared to TX.\n\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\"Oscilloscope\t\t\t\t\t\t\t\t\t\t\t
Figure 2<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

What is TDC?<\/strong><\/p>

TDC is: Transceiver Delay Compensation Transceiver Delay Compensation.<\/p>

\u00a0<\/p>

In the CAN FD data segment, if a faster Bit Rate is used (BRS bits enabled), resulting in a shorter bit time, the delay caused by the LOCAL CAN transceiver loop delay will be greater than Phase_Seg1 (see Figure 3, time segment time period before the sampling point): assuming that the Loop delay loop delay is 255 nanoseconds, if the CAN FD frame data segment Bit Rate is greater than or equal to 4Mhz, i.e., a Bit Time is less than or equal to 250 nanoseconds, which results in the detection of a bit error bit error. transceiver loop delay The transceiver loop delay limits the Bit Rate bit rate of the CAN FD frame data segment.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\"Transceiver\t\t\t\t\t\t\t\t\t\t\t
Figure 3<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

Therefore, to overcome this limitation, the TDC (Transceiver Delay Compensation) function has been introduced, i.e., in the data segment of the CAN FD frame, the transmitter shall use a new sample point, SSP (Secondary Sample Point), while ignoring the SP (sample point) of the transceiver loop delay. SSP (Secondary Sample Point) of the transceiver loop delay transceiver loop delay is ignored.<\/p>

\u00a0<\/p>

Secondary Sample Point The second sample point consists of a transceiver loop delay transceiver loop delay and a configurable transceiver delay compensation offset transceiver delay compensation offset.<\/p>

\u00a0<\/p>

Transceiver loop delay The transceiver loop delay is measured between the edge from the EDL bit (same as the FDF bit) to the next bit r0, corresponding to the transmit bit edge and the receive bit edge, in each transmit frame (see Figure 4, Figure 5). The measured loop delay is not sufficient for defining the secondary sample point as it is related to the bit edges.<\/p>

\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\"Transceiver\t\t\t\t\t\t\t\t\t\t\t
Figure 4 Transceiver loop delay Transceiver loop delay measurement<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\"Under\t\t\t\t\t\t\t\t\t\t\t
Figure 5 Oscilloscope, a CAN FD frame with 120 ns lag in RX level change compared to TX<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

Transceiver delay compensation offset The transceiver delay compensation offset is used to shift the secondary sample point from an edge to a midpoint within bit time, away from its edge. Therefore, the offset value cannot be greater than the bit time of the data phase.<\/p>

\u00a0<\/p>

If the secondary sample point is set very close to the CAN bit edge (see Figure 3, Sync_Seg field), problems may occur during bit sampling in the data phase. For the TDC to work reliably, the offset must use the optimal setting. To ensure that bit sampling is performed in the optimal area, TDC offset is recommended to refer to the following equation, refer to Figure 3.<\/p>

\u00a0<\/p>

Offset = Phase_Seg1 + Prop_Seg + 2<\/p>

\u00a0<\/p>

Figure 6 below shows the SSP position when these settings are used.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\"SSP\t\t\t\t\t\t\t\t\t\t\t
Figure 6<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

Transceiver Delay Compensation Enable Condition<\/strong><\/p>

The above description is summarized as follows:<\/p>

Condition 1: The frame must be a CAN FD frame (not applicable to classic CAN frames because the bit time is much larger than the Loop Delay) with the BRS bit enabled (higher bit rate in the data segment than in the arbitration segment), and the SSP acts on the data segment of the CAN FD frame;<\/p>

\u00a0<\/p>

Condition 2: TDC applies only to CAN FD frames sent by the ECU, not to CAN FD frames received by the ECU.<\/p>

\u00a0<\/p>

* The content of the above dry trivia sharing is derived from the Internet.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t

\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

02. TSMaster LIN message related\n\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

1. Q: What is the maximum delay time supported for LIN message sending?<\/strong><\/p>

A: The maximum support of 255ms is a hardware level limitation. This is how it is currently designed.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"TSMaster\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

2\u3001Q\uff1aPlease tell me why deploying with scheduling table will report a checksum error, but using separate sending is not reporting an error?<\/strong><\/p>

A: It has been verified that there is an error in the checking algorithm from the node ECU, so it is a normal report message to have a checksum error in the scheduling table run.<\/p>

And when a single frame is sent, it is true that no checksum is performed so no error is triggered.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"TSMaster\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

3\u3001Q\uff1aWhat is the situation that after sending a message with TSMaster as the master node, the received message shows receive data timeout, but occasionally it can receive a few frames of data again?<\/strong><\/p>

A: First of all, from the TSMaster can only see the phenomenon of occasionally receiving a few frames of data, the specific cause of the analysis need to use an oscilloscope to analyze the waveform of the LIN message, the following two waveforms were measured by the customer anomalous message, as well as our simulation of a normal message sent to the waveform, through the comparison of the customer can be seen in the data section of the stop bit pull a very long time, from which you can judge the customer's ecu response to the data is likely to be a problem. The probability is that the customer's ecu response is problematic.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\"Customer\t\t\t\t\t\t\t\t\t\t\t
Customer Waveforms<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\"Test\t\t\t\t\t\t\t\t\t\t\t
Test Waveforms<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

4. Q: What is indicated in square brackets [ ] of LIN message identifier? For example, [50]10<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"LIN\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

A:This is lin's PID, Protect ID, and ID unique correspondence, you can check the table correspondence.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"Protect\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\tsummarize\n\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

The above are a few common questions about the two major blocks of TSMaster CAN FD related and LIN message related, which have been answered and organized in detail. If you have any doubts in using TSMaster software, you can pay attention to TOSUN public number and leave a message or private message at the end of the article, we will be happy to help you solve the problem.<\/p>

\u00a0<\/p>

Note: TOSUN Technical Support Email:support@tosunai.cn<\/a>We welcome inquiries! (Company and contact information must be indicated)<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"

TSMaster is a domestic automotive bus toolchain software platform developed by Tongxing Intelligence, which is an all-round automotive bus design, simulation, analysis, diagnosis and calibration [...]<\/p>","protected":false},"author":11,"featured_media":13477,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[90],"tags":[64,70,173,65,136],"class_list":["post-13456","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-tutorial","tag-can-fd","tag-lin","tag-qa","tag-tsmaster","tag-136","entry","has-media","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/posts\/13456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/comments?post=13456"}],"version-history":[{"count":0,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/posts\/13456\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/media\/13477"}],"wp:attachment":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/media?parent=13456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/categories?post=13456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/tags?post=13456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}