<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: J1708 Bus synchronization in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182779#M6759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I am checking the bus idle using a timer which reloads for every UART interrupt.&lt;/P&gt;&lt;P&gt;And also&amp;nbsp;it waits for a random time if there is a collision detected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2011 00:21:05 GMT</pubDate>
    <dc:creator>saim</dc:creator>
    <dc:date>2011-03-29T00:21:05Z</dc:date>
    <item>
      <title>J1708 Bus synchronisation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182765#M6745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Has anyone ever tried synchronising to the J1708 bus using a hcs12 device? Any sample code to help me with bus synchronisation would help.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;thanks&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 11:03:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182765#M6745</guid>
      <dc:creator>JSB</dc:creator>
      <dc:date>2008-01-25T11:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronisation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182766#M6746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;J1708 isn't a simple interface.&amp;nbsp; Simma Software, Inc. sells a J1708 device driver that does what you need.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.simmasoftware.com/j1708.html" rel="nofollow" target="_blank"&gt;http://www.simmasoftware.com/j1708.html&lt;/A&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2008 08:10:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182766#M6746</guid>
      <dc:creator>jrsimma</dc:creator>
      <dc:date>2008-02-10T08:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronisation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182767#M6747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Jr,&lt;BR /&gt;I think that your suggestion, in most cases in the best idea from a business perspective.&lt;BR /&gt;&lt;BR /&gt;Developers don't usually ever see the true cost and fail to realize how much it can lower the over coast to buy certain components.&lt;BR /&gt;&lt;BR /&gt;However I wish you would add a price. It is ok to qualify the price with possible modification charges and so forth, but it is much easier to sell something like this to our managers if we have at least a ballpark price.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 00:23:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182767#M6747</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-02-11T00:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronisation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182768#M6748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Jim:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for the response and suggestion.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I don't mind supplying a price, but I would prefer to continue this discussion over e-mail or the phone.&amp;nbsp; Please send me an e-mail&amp;nbsp;or&amp;nbsp;give me a call on Monday.&amp;nbsp; You can find my contact info at the above mentioned website.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;JR&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 01:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182768#M6748</guid>
      <dc:creator>jrsimma</dc:creator>
      <dc:date>2008-02-11T01:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronisation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182769#M6749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Jr,&lt;BR /&gt;I am not currently in the market for this type of product, I am just stating that it would be a benefit if you gave the developer a ballpark to work with. I realize there can be many factors that can affect a price, and as I said you can hedge the given price with many qualifiers, but managers want to know - under 1000? 5000? 10000?. 100000? At the same time you could and should given estimated coding/debug time so managers can make an informed decision.&lt;BR /&gt;&lt;BR /&gt;I will tell you right now, I have had my employers purchase 5 figure packages. They did it with out batting an eye because they knew that we needed the technology and that the cost of development was way more that the initial coding, and that the true cost is in maintenance (i.e. bug fixing). Not to mention the cost of lost customers while you get it all working.&lt;BR /&gt;&lt;BR /&gt;I do know this, 2500 would be a bargain, and even 5000 would be a good deal. I'll bet it is less that this. Even if it is more figure this:&lt;BR /&gt;Take what you make per week, multiply by at least 1.25 to 1.5 (true cost of you to your company) and divide that into the cost. Can you honestly say you will have a mature J1780 driver in that many weeks? Mean while, the rest of the project is not being worked on, so consider that cost as well.&lt;BR /&gt;&lt;BR /&gt;I am a very experienced developer, but I can't be expert&amp;nbsp; in all the many technologies that come to play in a project these days. Maybe J1708 seems to be not that hard, but the real problem is in testing. Presumably you will be talking to a wide variety of devices, and others may have interpreted the spec&amp;nbsp; slightly different that you did. Even&amp;nbsp; if the device has been "certified" it still&amp;nbsp; may not work with your code. Trust me, you will spend many long hard hours trying to figure out what the **** Ford did on model xyz.It sounds like JR has already done that, and can deliver that hard won experience at a fraction of the cost. (I don't know JR and have no connection with him, for all I know he could be full of it, but he sounds on the up and up - check his references for yourself, and let the business guy negotiate the contract).&lt;BR /&gt;&lt;BR /&gt;If you think this will put out of a job, the truth is quite the opposite. There is still the application to do, and this is just one small aspect. If you want put your self out of a job, spend the next month(s), year(s) getting this code 100% right. No, it will make you the hero. If the product gets to market sooner and better, your company will make more money. This has to be good for your job.&lt;BR /&gt;&lt;BR /&gt;But, since I can't even seem to convince others to use Processor Expert, I doubt that this advice will be taken to heart, so don't hold your breath JR :smileyhappy:.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 02:18:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182769#M6749</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-02-11T02:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronisation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182770#M6750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Jim:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You're very insightful.&amp;nbsp; I just had a conversation with a potential customer a few weeks back.&amp;nbsp; They were trying to do their own J1708 interface and were 3 months behind schedule and had something that was completely broken.&amp;nbsp; The project got so bad they flew in 4 engineers to try and help, but&amp;nbsp;couldn't.&amp;nbsp; Needless to say, their end customer wasn't happy and they were over budget.&amp;nbsp; I'm sure several people at that company now have a tarnished reputation.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Nice job.&amp;nbsp; You seem to get the big picture.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;JR&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 12:15:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182770#M6750</guid>
      <dc:creator>jrsimma</dc:creator>
      <dc:date>2008-02-11T12:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronisation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182771#M6751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess the original poster handled this problem or changed his priorities.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I only awakened this thread to warn people that J1708 is not simply RS485.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And to "synchronize" to a J1708 bus, you need a separate interrupt (or status) to indicate bus idle, as there&lt;/P&gt;&lt;P&gt;is no "sync" character in J1708.&amp;nbsp; And&amp;nbsp; I know of no UART that will interrupt based on a line being unchanged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So a typical scenario is to have a separate timer that resets on every received character, and if the timer times&lt;/P&gt;&lt;P&gt;out prior to the next character, then you've reached the end of the current "packet".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it gets much tougher when you decide to be a transmitter:&amp;nbsp;&amp;nbsp; You aren't going to be able to use standard&lt;/P&gt;&lt;P&gt;RS485 hardware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microchip has a nice little driver description and source code (I had a devil of a time finding) at:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://ww1.microchip.com/downloads/en/AppNotes/01230A.pdf" rel="nofollow" target="_blank"&gt;http://ww1.microchip.com/downloads/en/AppNotes/01230A.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://ww1.microchip.com/downloads/en/AppNotes/J1708_library.zip" rel="nofollow" target="_blank"&gt;http://ww1.microchip.com/downloads/en/AppNotes/J1708_library.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Share and Enjoy!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rufus&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 03:27:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182771#M6751</guid>
      <dc:creator>RufusVS</dc:creator>
      <dc:date>2010-11-25T03:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronisation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182772#M6752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simma Software's ssJ1708&amp;nbsp;source code&amp;nbsp;handles idle bus detection and 5.2.2.1 compliance for ECU's which need to transmit.&amp;nbsp; The Microchip&amp;nbsp;assembly code isn't fully SAE J1708 compliant and should only be used for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 04:39:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182772#M6752</guid>
      <dc:creator>jrsimma</dc:creator>
      <dc:date>2010-11-25T04:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182773#M6753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My point being: &amp;nbsp;To do J1708 may require certain specific hardware capability which is not available on all target platforms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The microchip software has some "errors', &amp;nbsp;though I didn't dig deeply into the "priority" issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be interested to know why the microchip software is not compliant, other than the error I mentioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rufus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Nov 2010 16:35:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182773#M6753</guid>
      <dc:creator>RufusVS</dc:creator>
      <dc:date>2010-11-26T16:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182774#M6754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to implement J1708 on MCF5253. I am facing a weird problem&amp;nbsp;in&amp;nbsp;collision detection at&amp;nbsp;bus &amp;nbsp;load more than 12%(bus is loaded by sending dummy 1708 messages through another device).&lt;/P&gt;&lt;P&gt;I am detecting the collision&amp;nbsp;by reading the each&amp;nbsp;byte that&amp;nbsp;is transmitted&amp;nbsp;and comparing it with the actual data. If there is a collision&amp;nbsp;detected controller will stop transmitting and wait for a&amp;nbsp;random time and&amp;nbsp;will&amp;nbsp;re-transmit. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So here is the problem - when there is a transmission of message and there is a collision on J1708 bus,&amp;nbsp;controller doesn't see it as a collision and it transmits the complete message, and that leads to corrupted message on J1708 data link.&lt;/P&gt;&lt;P&gt;I am reading the J1708 data link using J-PRO tool connected on the bus.&lt;/P&gt;&lt;P&gt;I confirmed the baud rate and configuration. all are perfect.&lt;/P&gt;&lt;P&gt;What could be the reason for not detecting the collision by the controller?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need suggestion/solution&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 07:28:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182774#M6754</guid>
      <dc:creator>saim</dc:creator>
      <dc:date>2011-03-28T07:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182775#M6755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are all the devices on the bus J1708 devices? &amp;nbsp; &amp;nbsp;You really can't effectively test a J1708 bus with a non-J1708 device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No device should even start transmitting if there is even one bit (literally) of activity on the bus (except of course the one currently transmitting)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hence, the only collisions should occur in the first character of the transmission, when both devices&lt;/P&gt;&lt;P&gt;start transmitting within the same bit time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As MIDs should be unique, the collision should occur on the first character. &amp;nbsp;The two (or more) transmitting devices&lt;/P&gt;&lt;P&gt;read back their first &amp;nbsp;transmitted character to verify &amp;nbsp;the transmission was correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the read back character is not the one transmitted, transmission should cease.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is a match, transmission can continue. (the winner had only dominant bits where the bits transmitted differed).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If everyone got a mismatch they all back off.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If one of the transmitters was able to continue, they should be able to continue their message because what was intended was what was seen on the bus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(N.B. even those devices which backed off should continue to receive the message, as it is valid.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This bit-level control makes J1708 a non-trivial (and sometimes impossible) exercise on basic UART devices.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rufus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 11:54:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182775#M6755</guid>
      <dc:creator>RufusVS</dc:creator>
      <dc:date>2011-03-28T11:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182776#M6756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saim, what Rufus is talking about is critical to understand.&amp;nbsp; If you do not comply with the 5.2.2.1 section of J1708, you can bring the entire network down.&amp;nbsp; Which results in the vehicle operator having to reboot his vehicle.&amp;nbsp; This then requires a recall on your part.&amp;nbsp;&amp;nbsp; We know of three different companies had that experience.&amp;nbsp; In order to fix their problem, they bought our software and J1708/UART reference design.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are only looking at the receive byte interrupt to determine when the bus is idle, you have a bus access time of no less than 1042 microseconds.&amp;nbsp; The 5.2.2.1 section calls out 50 microseconds or less.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our&amp;nbsp;&lt;A href="http://www.simmasoftware.com/j1939-adapter-j1708.html" rel="nofollow" target="_self" title="J1939 J1708 Adapter"&gt;J1939/J1708 adapter&lt;/A&gt;, and our &lt;A href="http://www.simmasoftware.com/j1708.html" rel="nofollow" target="_self" title="J1708 Software"&gt;J1708 software&lt;/A&gt;,&amp;nbsp;both have a bus access time of around 2 microseconds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 20:49:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182776#M6756</guid>
      <dc:creator>jrsimma</dc:creator>
      <dc:date>2011-03-28T20:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182777#M6757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for responding,&lt;/P&gt;&lt;P&gt;Yes, all the devices on the bus are J1708 compliant. And the problem is with my device only.&lt;/P&gt;&lt;P&gt;I compared the message that has been transmitted (by checking the Tx buffer) and the message on the data link. Roughly one out of 15 messages, the MID sent by my device is corrupted which shows that there was a collision which other devices also detected and they stayed back but my device did not detect it and continued the data transmission till the end of message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried by varying the idle time from 1millisec to 2millisec, which didn't show me any positive result. And I also tried to vary the baud rate around + or - 2% of 9600 baud.&lt;/P&gt;&lt;P&gt;I don't know why my device is not detecting the collision?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 22:11:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182777#M6757</guid>
      <dc:creator>saim</dc:creator>
      <dc:date>2011-03-28T22:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182778#M6758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you detecting bus idle condition? &amp;nbsp;Are you checking the time since last receive interrupt? &amp;nbsp;If so, that could be your problem since you might be transmitting when another controller is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 23:07:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182778#M6758</guid>
      <dc:creator>jrsimma</dc:creator>
      <dc:date>2011-03-28T23:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182779#M6759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I am checking the bus idle using a timer which reloads for every UART interrupt.&lt;/P&gt;&lt;P&gt;And also&amp;nbsp;it waits for a random time if there is a collision detected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 00:21:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182779#M6759</guid>
      <dc:creator>saim</dc:creator>
      <dc:date>2011-03-29T00:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182780#M6760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand what you are doing. &amp;nbsp;Many people that are new to J1708 do exactly what you have done. &amp;nbsp;Having the UART RX interrupt clear the timer is 1040 microseconds too late. &amp;nbsp;You get 1040 us by multipling 10 bits, 1 start, 8 data, 1 stop, by 104.17 us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remember 5.2.2.1 specifies a bus access time of 50 microseconds. &amp;nbsp;What you are doing is exactly what Rufus said not to do. &amp;nbsp;Remember he said "bit", not "byte".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 07:38:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182780#M6760</guid>
      <dc:creator>jrsimma</dc:creator>
      <dc:date>2011-03-29T07:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182781#M6761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This &lt;A href="http://www.j1708-introduction.com/" rel="nofollow" target="_self" title="J1708 Introduction"&gt;J1708 Introduction&lt;/A&gt; covers bus access time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 07:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182781#M6761</guid>
      <dc:creator>jrsimma</dc:creator>
      <dc:date>2011-03-29T07:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182782#M6762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JR,&lt;/P&gt;&lt;P&gt;Thanks for your information.&lt;/P&gt;&lt;P&gt;I think the points&amp;nbsp;that you suggested are to avoid collisions and to run the transmission smoothly.&lt;/P&gt;&lt;P&gt;But the&amp;nbsp;problem here is my device is not detecting the collision when there is&amp;nbsp;corrupted MID on the bus. &amp;nbsp;Is there any relation of not having a proper bus access time and not detecting the collision?&lt;/P&gt;&lt;P&gt;I think if there is improper access time then there should be more collisions on the bus and my device should show more retransmits which is not the scenario here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 20:30:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182782#M6762</guid>
      <dc:creator>saim</dc:creator>
      <dc:date>2011-03-29T20:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182783#M6763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand your situation.&amp;nbsp; When there are multiple issues, it is more difficult to troubleshoot and diagnose.&amp;nbsp; I suggest you fix your known issue first.&amp;nbsp; Then your second issue will be easier to find.&amp;nbsp; Least that is what I would do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 20:37:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182783#M6763</guid>
      <dc:creator>jrsimma</dc:creator>
      <dc:date>2011-03-29T20:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: J1708 Bus synchronization</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182784#M6764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't simply pump out the message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you place more than one character in the typical UART transmit register, by the&lt;/P&gt;&lt;P&gt;time you read back the first character and verify it is what you sent, the next character&amp;nbsp;&lt;/P&gt;&lt;P&gt;is already in the shift register on its way out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Conceivably, you could have hardware that "puts on the brake" by suspending the UART&lt;/P&gt;&lt;P&gt;or gating the bit stream outside your chip, but more likely you would have to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a) Send the first character (MID)&lt;/P&gt;&lt;P&gt;b) Wait for the echo back.&lt;/P&gt;&lt;P&gt;c) Compare to transmitted MID&lt;/P&gt;&lt;P&gt;d) &amp;nbsp;if equal, transmit remainder of message.&lt;/P&gt;&lt;P&gt;e) if not equal, attempt receipt of message on the bus (from external source)&lt;/P&gt;&lt;P&gt;f) After appropriate idle time, retransmit or transmit next message, if any.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 20:02:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/J1708-Bus-synchronisation/m-p/182784#M6764</guid>
      <dc:creator>RufusVS</dc:creator>
      <dc:date>2011-03-31T20:02:20Z</dc:date>
    </item>
  </channel>
</rss>

