<?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: FlexBus connected to SJA1000 CAN Controller in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-connected-to-SJA1000-CAN-Controller/m-p/349937#M17210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like my code was correct.&amp;nbsp; Thank you Ma Hui for your response.&amp;nbsp; The reason I was not seeing anything on my scope was because the pin I was connected to on the secondary elevator isn't actually connected to the microcontroller.&amp;nbsp; Instead, the only place where PTC17 is connected is to pin 18 of Jumper 6. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="flexbus_twr_secondary.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50301i73C53525EA70406E/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexbus_twr_secondary.jpg" alt="flexbus_twr_secondary.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Feb 2015 13:42:05 GMT</pubDate>
    <dc:creator>jschepler</dc:creator>
    <dc:date>2015-02-06T13:42:05Z</dc:date>
    <item>
      <title>FlexBus connected to SJA1000 CAN Controller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-connected-to-SJA1000-CAN-Controller/m-p/349935#M17208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application for my microcontroller is to interface to 3 seperate CAN buses.&amp;nbsp; I am using the TWR-K64F Tower Kit.&amp;nbsp; For one of the CAN buses I used the integrated FlexCAN built into the microprocessor.&amp;nbsp; For the next two buses, I will need to communicate with a seperate CAN Controller.&amp;nbsp; The CAN Controller that I would like to use is an SJA1000.&amp;nbsp; There are two modes of operation for this controller, Intel or Motorola mode.&amp;nbsp; I will be operating the controller in Motorola mode because the R/WR signal is on one pin from the FlexBus. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This controller communicates on a parallel bus with 8 data/address pins multiplexed.&amp;nbsp; I would like to use the FlexBus to communicate with the controller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the controller needs an E (Enable) signal that goes high just after the chip select asserts, and goes low just before the chip select goes back high. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I would be able to use the Byte Enable signal from the microcontroller and just invert it for the Enable pin. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I connected my oscilloscope to the EBI_BE_32_24_B pin on the C side expansion port but it never changes state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can view the clock out signal and chip selects on the oscilloscopes and those are working properly, but the byte enable signal seems to not be working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I connecting to the wrong pin?&amp;nbsp; Below is how I setup for using the BE_32_24_B pin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="flexbus_byte_enable.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50221i14D21D78180F92B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexbus_byte_enable.jpg" alt="flexbus_byte_enable.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 19:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-connected-to-SJA1000-CAN-Controller/m-p/349935#M17208</guid>
      <dc:creator>jschepler</dc:creator>
      <dc:date>2015-02-04T19:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: FlexBus connected to SJA1000 CAN Controller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-connected-to-SJA1000-CAN-Controller/m-p/349936#M17209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your code should be correct.&lt;/P&gt;&lt;P&gt;I also do a test with TWR-K60D100M board, which is using the same Flexbus module with K64 product, it shows the correct byte enable signal.&lt;/P&gt;&lt;P&gt;I just using the &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;Kinetis 100MHz V2 sample code&lt;/A&gt; (KINETIS512_V2_SC) and just add the PTC17 setting to FB_BE31_24 function with below code:&lt;/P&gt;&lt;P&gt;PORTC_PCR17 = PORT_PCR_MUX(5);&lt;/P&gt;&lt;P&gt;Below is my scope copy for FB_BE31_24 signal vs. FB_CS0:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="tek00000.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50284iDE67BC209F9BC639/image-size/large?v=v2&amp;amp;px=999" role="button" title="tek00000.png" alt="tek00000.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 03:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-connected-to-SJA1000-CAN-Controller/m-p/349936#M17209</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-02-06T03:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: FlexBus connected to SJA1000 CAN Controller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-connected-to-SJA1000-CAN-Controller/m-p/349937#M17210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like my code was correct.&amp;nbsp; Thank you Ma Hui for your response.&amp;nbsp; The reason I was not seeing anything on my scope was because the pin I was connected to on the secondary elevator isn't actually connected to the microcontroller.&amp;nbsp; Instead, the only place where PTC17 is connected is to pin 18 of Jumper 6. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="flexbus_twr_secondary.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50301i73C53525EA70406E/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexbus_twr_secondary.jpg" alt="flexbus_twr_secondary.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 13:42:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-connected-to-SJA1000-CAN-Controller/m-p/349937#M17210</guid>
      <dc:creator>jschepler</dc:creator>
      <dc:date>2015-02-06T13:42:05Z</dc:date>
    </item>
  </channel>
</rss>

