<?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: Isolation between digital output signals and the external pins in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211608#M18228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not agree with your interpretation of the memory management process.&amp;nbsp; My&amp;nbsp;understanding of the reference manual is that, for a PPAGE setting of 1 or 3, the same&amp;nbsp;data may be accessed from two different addresses, the normal address and via the paging window.&amp;nbsp; For example, the data at address 0x4000 would also be accessible at address 0x8000,&amp;nbsp;provided register&amp;nbsp;PPAGE = 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Be careful with the distinction between "page 0" and "PPAGE 0",&amp;nbsp;which refer to totally different address ranges.&amp;nbsp; The reference manual clearly stipulates that PPAGE 0 flash, located&amp;nbsp;underneath the RAM and register blocks, needs to be accessed via the paging window, (or using LAP).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A setting of PPAGE = 2 could be used when the extended&amp;nbsp;flash range, and MMU,&amp;nbsp;does not require to be used.&amp;nbsp; ISR code could be placed anywhere within the visible flash memory range, provided the PPAGE setting is never altered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2012 14:40:28 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2012-03-01T14:40:28Z</dc:date>
    <item>
      <title>Isolation between digital output signals and the external pins</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211601#M18221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there isolation between:&lt;BR /&gt;&amp;nbsp; - digital output signals, and the&lt;BR /&gt;&amp;nbsp; - external pins?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the (&lt;EM&gt;new&lt;/EM&gt;) &amp;nbsp;MC&lt;SPAN style="text-decoration: underline;"&gt;9&lt;EM&gt;&lt;STRONG&gt;S&lt;/STRONG&gt;&lt;/EM&gt;08&lt;/SPAN&gt;QE128RM.pdf&amp;nbsp;&amp;nbsp;Reference Manual, &lt;SPAN style="text-decoration: underline;"&gt;page 112&lt;/SPAN&gt;:&lt;BR /&gt;&amp;nbsp; - the output signals PTxDn are represented as being &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;DIRECTLY&amp;nbsp;connected to the output pins&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the (&lt;EM&gt;old&lt;/EM&gt;) MC68H&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;C908&lt;/STRONG&gt;&lt;/SPAN&gt;GP32.pdf (Data Sheet, 2008, &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;page 119&lt;/STRONG&gt;&lt;/SPAN&gt;), or&amp;nbsp;similar (original &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;User Manual&lt;/STRONG&gt;&lt;/SPAN&gt;, for example...):&lt;BR /&gt;&amp;nbsp; - there is a TRI-STATE DRIVER that &lt;STRONG&gt;isolates&lt;/STRONG&gt; the &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;signal&lt;/STRONG&gt;&lt;/SPAN&gt; data&amp;nbsp;&lt;STRONG&gt;from&lt;/STRONG&gt; the output &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;pin&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;And there is more&lt;/SPAN&gt;: &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;/SPAN&gt; stored in the output registers, are&amp;nbsp;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;read&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;(when requested):&lt;/P&gt;&lt;P&gt;&amp;nbsp; - &lt;STRONG&gt;NOT&lt;/STRONG&gt; from the outside &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;pin&lt;/STRONG&gt;&lt;/SPAN&gt;, &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;but&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; - &lt;STRONG&gt;FROM&lt;/STRONG&gt; the &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;register's&lt;/STRONG&gt;&lt;/SPAN&gt; output (&lt;EM&gt;&lt;STRONG&gt;they are isolated&lt;/STRONG&gt;&lt;/EM&gt; !).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;STRONG&gt;The difference is crucial&lt;/STRONG&gt;&lt;/EM&gt;.&lt;BR /&gt;&amp;nbsp; - If there is NO buffering driver, and the output pin is read&amp;nbsp;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;directly&lt;/STRONG&gt;&lt;/SPAN&gt; from the outside pin&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; (as in Read-Modify-Write&amp;nbsp;instructions, like &lt;STRONG&gt;INC&lt;/STRONG&gt;),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;EXTERNAL conditions WILL affect those operations&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anybody state, &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;for sure&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;, that&amp;nbsp;the NEW MC9S08QE128 &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;has isolation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- between &lt;STRONG&gt;Output Data&lt;/STRONG&gt; (output registers)&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;AND&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;- the &lt;STRONG&gt;Output PINs&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;as was the case&lt;/STRONG&gt;&lt;/SPAN&gt; on the OLD MC68HC908GP32?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I SUPPOUSE&lt;/STRONG&gt; that, yes, &lt;SPAN style="text-decoration: underline;"&gt;THERE IS&lt;/SPAN&gt; Isolation on the new devices too&amp;nbsp;but, like&amp;nbsp;the new documentation has dropped ALL references (&lt;STRONG&gt;pictorial and&amp;nbsp;textual&lt;/STRONG&gt;) to it, &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;I&amp;nbsp;&amp;nbsp;must&amp;nbsp;&amp;nbsp;to&amp;nbsp;&amp;nbsp;KNOW&amp;nbsp;&amp;nbsp;for&amp;nbsp;&amp;nbsp;SURE&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Luis G. Uribe C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 00:31:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211601#M18221</guid>
      <dc:creator>guribec</dc:creator>
      <dc:date>2012-03-01T00:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Isolation between digital output signals and the external pins</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211602#M18222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nothing has really changed. The old HC08s and the S08s operate the same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When a pin is programmed through its data-direct-register as an input, then any read will return the level on the pin. When a pin is programmed through its data-direct-register as an output, then any read will return the value of the output register that drives the pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you said, this is so that external conditions &lt;EM&gt;do not&lt;/EM&gt; affect read-modify-write operations, like bit-set and bit-clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 05:16:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211602#M18222</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2012-03-01T05:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Isolation between digital output signals and the external pins</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211603#M18223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luis, and welcome to the forum.&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;guribe wrote:&lt;BR /&gt;&lt;P&gt;In the (&lt;EM&gt;new&lt;/EM&gt;) &amp;nbsp;MC&lt;U&gt;9&lt;EM&gt;&lt;STRONG&gt;S&lt;/STRONG&gt;&lt;/EM&gt;08&lt;/U&gt;QE128RM.pdf&amp;nbsp;&amp;nbsp;Reference Manual, &lt;U&gt;page 112&lt;/U&gt;:&lt;BR /&gt;&amp;nbsp; - the output signals PTxDn are represented as being &lt;U&gt;&lt;STRONG&gt;DIRECTLY&amp;nbsp;connected to the output pins&lt;/STRONG&gt;&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I assume that you refer to fig. 6.1, which shows a simplified schematic only.&amp;nbsp; Actually, the pin connection is not shown&amp;nbsp;- the individual&amp;nbsp;signals for "output data" and "input data" are represented.&amp;nbsp; The additional circuitry present between these signals and the pin is somewhat more complex than for the HC908GP32 device.&amp;nbsp; The additional functionality would include -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Output tri-state control&lt;/LI&gt;&lt;LI&gt;Output slew rate control&lt;/LI&gt;&lt;LI&gt;Output drive strength control&lt;/LI&gt;&lt;LI&gt;Input pullup control&lt;/LI&gt;&lt;LI&gt;ADC or comparator signal pick-off,&amp;nbsp;with&amp;nbsp;logic input&amp;nbsp;disabling.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As Rocco has already said, there is no change to the coding&amp;nbsp;method&amp;nbsp;for GPIO pin state control.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, be aware that there is a potential "gotcha", applicable to both device families, if changing an individual&amp;nbsp;pin from input to output state (using read-modify-write process).&amp;nbsp; The required output state should be set &lt;U&gt;after&lt;/U&gt; the pin has been changed to output.&amp;nbsp; This may contradict certain recomendations within the datasheet or reference manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the required output state is set whilst the pin is an input, the following scenario could be problematic -&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;An interrupt occurs after the new output state is set, but prior to the pin being set to output, and&lt;/LI&gt;&lt;LI&gt;The ISR processing alters state of &lt;U&gt;any other&lt;/U&gt; pin on the same GPIO port, using read-modify-write.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This&amp;nbsp;will corrupt the future output state for the pin unless the current pin&amp;nbsp;input state is &lt;U&gt;identical&lt;/U&gt; to the future output state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 09:55:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211603#M18223</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-03-01T09:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Isolation between digital output signals and the external pins</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211604#M18224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Rocco:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help. You are very kind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've seen horrible problems in Microchip's 16F familly of microcontrollers that does NOT isolate the data register from the output pins.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was very happy working with the structure of the HC908, and worried not seeing the 3-state driver in the new handbooks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the tip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Luis G. Uribe, Simón Bolívar University, Caracas Venezuela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 10:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211604#M18224</guid>
      <dc:creator>guribec</dc:creator>
      <dc:date>2012-03-01T10:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Isolation between digital output signals and the external pins</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211605#M18225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mac:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You and Rocco have been very kind and helpfull. Your specific tip on the potential&amp;nbsp;"gotcha" is scarying. The kind of possible bugs that could come from this are very subtle and difficult to diagnose...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changing the subject, I feel that the technical documentation is not improving compared to the old HC908. I have serious complaints against BANKED Ram information there on the chapter 4 of the&amp;nbsp;MC9S08QE128RM.pdf Reference Manual. I have a remake of one page. Bellow I will atach it for your comments, if you are so kind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish you the best.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Luis G. Uribe, Simón Bolívar University, Caracas Venezuela&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 10:43:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211605#M18225</guid>
      <dc:creator>guribec</dc:creator>
      <dc:date>2012-03-01T10:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Isolation between digital output signals and the external pins</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211606#M18226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I have not previously used devices with paged addressing modes, perhaps you are asking the wrong person for comments.&amp;nbsp; However, I can see a reason for making use of PPAGE = 0.&amp;nbsp; This is to gain access to the flash memory that underlies the register blocks, and RAM.&amp;nbsp; Whether useful or not, PPAGE values of 1 and 3 still&amp;nbsp;locate their data within the paging window, and should remain fully documented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 12:09:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211606#M18226</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-03-01T12:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Isolation between digital output signals and the external pins</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211607#M18227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mac:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"&lt;EM&gt;&lt;FONT face="times new roman,times"&gt;I can see a reason for making use of PPAGE = 0.&amp;nbsp; This is to gain access to the flash memory that underlies the register blocks, and RAM&lt;/FONT&gt;"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;No. To use PAGE&lt;U&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/U&gt;, the &lt;U&gt;&lt;STRONG&gt;only&lt;/STRONG&gt;&lt;/U&gt; thing needed is that the &lt;U&gt;&lt;STRONG&gt;logical&lt;/STRONG&gt;&lt;/U&gt; addresses fit the PAGE&lt;STRONG&gt;&lt;U&gt;0&lt;/U&gt;&lt;/STRONG&gt; range: &lt;U&gt;0x0000-007F&lt;/U&gt;. Whenever the logical addresses are in this range, the CPU read the PAGE&lt;U&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/U&gt;, &lt;U&gt;&lt;STRONG&gt;whith independence of the value on PPAGE register&lt;/STRONG&gt;&lt;/U&gt;. Same for pages 1 and 3.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"&lt;FONT face="times new roman,times"&gt;&lt;EM&gt;Whether useful or not, PPAGE values of 1 and 3 still&amp;nbsp;locate their data within the paging window, and should remain fully documented&lt;/EM&gt;&lt;/FONT&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;No; as to my understanding, PPAGE has nothing to do with addressing this pages 1 and 3 either. The only thing needed to address them is to the logical 16 bit&amp;nbsp;addresses covering their respective ranges. Each time the CPU fetches something in this ranges from pages 0, 1 and 3, the acces is done from these pages, &lt;U&gt;&lt;STRONG&gt;no mather what is in the PPAGE register&lt;/STRONG&gt;&lt;/U&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the only way that interrupts that hit in the middle of a rutine hosted on pages 2, 4, 5, 6 or 7, run without saving PPAGE register. In this case, PPAGE will store the values: 2, 4, 5, 6 or 7 (corresponding to the routine &lt;U&gt;&lt;STRONG&gt;interrupted&lt;/STRONG&gt;&lt;/U&gt;), and the ISR will be running on pages 0, 1 or 3. As it can be seen, the code &lt;U&gt;&lt;STRONG&gt;is&lt;/STRONG&gt;&lt;/U&gt; running on pages whose numbers ID are &lt;U&gt;NOT&lt;/U&gt; stored on the &lt;STRONG&gt;PPAGE&lt;/STRONG&gt; register.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That is why I say that the original drawing is missleading. It shows PPAGE=0 to run code on PAGE 0; PPAGE=1 to run code on PAGE 1, and PPAGE=3 to run code on PAGE 3, and this NOT the case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this must be stated as clear as above, in the documentation. And it is not...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for all of your kind attention.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Luis G. Uribe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 13:27:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211607#M18227</guid>
      <dc:creator>guribec</dc:creator>
      <dc:date>2012-03-01T13:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Isolation between digital output signals and the external pins</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211608#M18228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not agree with your interpretation of the memory management process.&amp;nbsp; My&amp;nbsp;understanding of the reference manual is that, for a PPAGE setting of 1 or 3, the same&amp;nbsp;data may be accessed from two different addresses, the normal address and via the paging window.&amp;nbsp; For example, the data at address 0x4000 would also be accessible at address 0x8000,&amp;nbsp;provided register&amp;nbsp;PPAGE = 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Be careful with the distinction between "page 0" and "PPAGE 0",&amp;nbsp;which refer to totally different address ranges.&amp;nbsp; The reference manual clearly stipulates that PPAGE 0 flash, located&amp;nbsp;underneath the RAM and register blocks, needs to be accessed via the paging window, (or using LAP).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A setting of PPAGE = 2 could be used when the extended&amp;nbsp;flash range, and MMU,&amp;nbsp;does not require to be used.&amp;nbsp; ISR code could be placed anywhere within the visible flash memory range, provided the PPAGE setting is never altered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 14:40:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211608#M18228</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-03-01T14:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Isolation between digital output signals and the external pins</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211609#M18229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mac:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the comments and &lt;SPAN&gt;your&amp;nbsp;&lt;/SPAN&gt;patience. Perhaps I will need to review the whoole subject again...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, it is clear for me that the documentation seems not to be improving (against the old data set: HC908)...;-(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye bye for now. I will come back soon, when I have more on this matters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Luis G. Uribe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 19:01:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Isolation-between-digital-output-signals-and-the-external-pins/m-p/211609#M18229</guid>
      <dc:creator>guribec</dc:creator>
      <dc:date>2012-03-01T19:01:27Z</dc:date>
    </item>
  </channel>
</rss>

