<?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のトピックOpen input pins can avoid with on chip pullup enable. E.g. for MS9S08QG8 must set Register PTBPE on</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Open-input-pins-can-avoid-with-on-chip-pullup-enable-E-g-for/m-p/1180278#M23223</link>
    <description>&lt;P&gt;Open input pins can avoid with on chip pullup enable. E.g. for MS9S08QG8 must set Register PTBPE on addess 0x1844.&lt;/P&gt;&lt;P&gt;But I can't see reaction of write: mov $ff, PTBPE.&amp;nbsp;&lt;BR /&gt;I don't see any change to address $ 1840 while debugging, nor do I see defined levels on the B ports.&lt;BR /&gt;Programs with MC68HC08QT implemented a measurable internal resistance to + (VDD) at Pullupenable.&lt;/P&gt;&lt;P&gt;Can You help?&lt;/P&gt;&lt;P&gt;With best regards&lt;BR /&gt;Gerd&lt;/P&gt;</description>
    <pubDate>Wed, 11 Nov 2020 12:18:39 GMT</pubDate>
    <dc:creator>Mei</dc:creator>
    <dc:date>2020-11-11T12:18:39Z</dc:date>
    <item>
      <title>Open input pins can avoid with on chip pullup enable. E.g. for MS9S08QG8 must set Register PTBPE on</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Open-input-pins-can-avoid-with-on-chip-pullup-enable-E-g-for/m-p/1180278#M23223</link>
      <description>&lt;P&gt;Open input pins can avoid with on chip pullup enable. E.g. for MS9S08QG8 must set Register PTBPE on addess 0x1844.&lt;/P&gt;&lt;P&gt;But I can't see reaction of write: mov $ff, PTBPE.&amp;nbsp;&lt;BR /&gt;I don't see any change to address $ 1840 while debugging, nor do I see defined levels on the B ports.&lt;BR /&gt;Programs with MC68HC08QT implemented a measurable internal resistance to + (VDD) at Pullupenable.&lt;/P&gt;&lt;P&gt;Can You help?&lt;/P&gt;&lt;P&gt;With best regards&lt;BR /&gt;Gerd&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 12:18:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Open-input-pins-can-avoid-with-on-chip-pullup-enable-E-g-for/m-p/1180278#M23223</guid>
      <dc:creator>Mei</dc:creator>
      <dc:date>2020-11-11T12:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Open input pins can avoid with on chip pullup enable. E.g. for MS9S08QG8 must set Register PTBPE</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Open-input-pins-can-avoid-with-on-chip-pullup-enable-E-g-for/m-p/1182607#M23227</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you confirm, please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should be check address 0x1844 not 0x1840&lt;/P&gt;
&lt;P&gt;There is a sample code in ASM on the codewarrior samples code, you can use them as reference, normally is on the following folder&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\...\CW MCU v11.1\MCU\CodeWarrior_Examples\HC_Examples\mc9s08qg8_demo&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Vicente&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 23:01:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Open-input-pins-can-avoid-with-on-chip-pullup-enable-E-g-for/m-p/1182607#M23227</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2020-11-12T23:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Open input pins can avoid with on chip pullup enable. E.g. for MS9S08QG8 must set Register PTBPE</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Open-input-pins-can-avoid-with-on-chip-pullup-enable-E-g-for/m-p/1186828#M23231</link>
      <description>&lt;P&gt;Dear Vicente,&lt;/P&gt;&lt;P&gt;thank you for your replay.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, you are right. PT&lt;STRONG&gt;B&lt;/STRONG&gt;PE must set in&amp;nbsp;0x18&lt;STRONG&gt;44.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But that wasn't the real mistake. N&lt;/SPAN&gt;&lt;SPAN&gt;ow I've found my mistake:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In my question I wrote:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;STRONG&gt;But I can't see reaction of write&lt;/STRONG&gt;: &lt;U&gt;&lt;STRONG&gt;mov $ff, PTBPE&lt;/STRONG&gt;&lt;/U&gt;."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Command --"mov $FF, PTBPE" --&amp;nbsp;&lt;SPAN&gt;is not suitable for setting the PTBPE register in 16 Bit address 0x1844, (High Page Registers)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Operand must be an 8 bit address in Direct Page Registers in lower address area.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;E.g. PTBDD can be set with mov # $ FF, PTBDD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the case of PTBPE, I should have written: lda # $ FF sta PTBPE. Above the # sign was also missing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I apologize for these simple assembler programming problems.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Gerd Meinert&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 17:17:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Open-input-pins-can-avoid-with-on-chip-pullup-enable-E-g-for/m-p/1186828#M23231</guid>
      <dc:creator>Mei</dc:creator>
      <dc:date>2020-11-20T17:17:54Z</dc:date>
    </item>
  </channel>
</rss>

