<?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>8-bit MicrocontrollersのトピックRe: DZ60A CAN: Memory Map for Rx &amp; Tx Buffers?</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/DZ60A-CAN-Memory-Map-for-Rx-Tx-Buffers/m-p/184282#M13694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, looks like I'm replying to my own post.&amp;nbsp; For those of you (if any) who are interested in using the CAN on the S08DZ60A, there are some differences when compared to&amp;nbsp;the older HC08AZ60A concerning memory mapping with the Rx and Tx buffers.&amp;nbsp; In the older AZ60A, there are three Tx buffers that are all in the foreground (addressable directly by the CPU - addresses 0x0550, 0x0560 and 0x0570); however, the DZ60A uses a paging system where there's only one Tx buffer in the foreground located at address 0x18B0 and the register CANTBSEL (address 0x188A) selects which Tx buffer (0-2)&amp;nbsp;to move to the foreground at 0x18B0.&amp;nbsp; Thus, if you're porting code from the old AZ60A to the new DZ60A pay attention to this difference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is some sample code using the CAN on the S08DZ60A located at:&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S08D&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S08D&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I discovered that use of assignment operators (such as |= or &amp;amp;=) on any of the CAN registers cause nondeterministic behavior.&amp;nbsp; I'm using CodeWarrior 6.1 and their standard C-compiler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~belskyc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Mar 2010 03:05:22 GMT</pubDate>
    <dc:creator>belskyc</dc:creator>
    <dc:date>2010-03-31T03:05:22Z</dc:date>
    <item>
      <title>DZ60A CAN: Memory Map for Rx &amp; Tx Buffers?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/DZ60A-CAN-Memory-Map-for-Rx-Tx-Buffers/m-p/184281#M13693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm beginning work with the new S08DZ60A and utilizing the CAN.&amp;nbsp; I have a previous application written for the older HC08AZ60A that I'd like to port over to the new DZ60A.&amp;nbsp; The data sheet for the AZ60A (data sheet rev 6) shows clearly on page 281 the memory map for the MSCAN08 showing the&amp;nbsp;address locations for the Rx &amp;amp; Tx buffers (also highlights this memory map on page 36).&amp;nbsp; However, nowhere in the DZ60A data sheet (data sheet rev 4) can I find the memory map for the MSCAN Rx &amp;amp; Tx Buffers.&amp;nbsp; Does anyone know where I can find this information?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks much,&lt;/P&gt;&lt;P&gt;~belskyc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 02:54:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/DZ60A-CAN-Memory-Map-for-Rx-Tx-Buffers/m-p/184281#M13693</guid>
      <dc:creator>belskyc</dc:creator>
      <dc:date>2010-03-19T02:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: DZ60A CAN: Memory Map for Rx &amp; Tx Buffers?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/DZ60A-CAN-Memory-Map-for-Rx-Tx-Buffers/m-p/184282#M13694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, looks like I'm replying to my own post.&amp;nbsp; For those of you (if any) who are interested in using the CAN on the S08DZ60A, there are some differences when compared to&amp;nbsp;the older HC08AZ60A concerning memory mapping with the Rx and Tx buffers.&amp;nbsp; In the older AZ60A, there are three Tx buffers that are all in the foreground (addressable directly by the CPU - addresses 0x0550, 0x0560 and 0x0570); however, the DZ60A uses a paging system where there's only one Tx buffer in the foreground located at address 0x18B0 and the register CANTBSEL (address 0x188A) selects which Tx buffer (0-2)&amp;nbsp;to move to the foreground at 0x18B0.&amp;nbsp; Thus, if you're porting code from the old AZ60A to the new DZ60A pay attention to this difference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is some sample code using the CAN on the S08DZ60A located at:&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S08D&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S08D&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I discovered that use of assignment operators (such as |= or &amp;amp;=) on any of the CAN registers cause nondeterministic behavior.&amp;nbsp; I'm using CodeWarrior 6.1 and their standard C-compiler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~belskyc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 03:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/DZ60A-CAN-Memory-Map-for-Rx-Tx-Buffers/m-p/184282#M13694</guid>
      <dc:creator>belskyc</dc:creator>
      <dc:date>2010-03-31T03:05:22Z</dc:date>
    </item>
  </channel>
</rss>

