<?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: S08FL bus clock speed selection</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1467091#M23528</link>
    <description>&lt;P&gt;Hey vincentegomez, that was it!&lt;/P&gt;&lt;P&gt;From your code I used&lt;/P&gt;&lt;P&gt;LDA&amp;nbsp;&amp;nbsp;&amp;nbsp; #%00011000&lt;BR /&gt;STA&amp;nbsp;&amp;nbsp;&amp;nbsp; ICS_C1&lt;/P&gt;&lt;P&gt;LDA&amp;nbsp;&amp;nbsp;&amp;nbsp; #%00110110&lt;BR /&gt;STA&amp;nbsp;&amp;nbsp;&amp;nbsp; ICS_C2&lt;/P&gt;&lt;P&gt;and that sorted it out.&lt;/P&gt;&lt;P&gt;That has made my day. Thank you so much &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2022 02:48:02 GMT</pubDate>
    <dc:creator>JimDandy</dc:creator>
    <dc:date>2022-06-01T02:48:02Z</dc:date>
    <item>
      <title>S08FL bus clock speed selection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1465819#M23524</link>
      <description>&lt;P&gt;MCU has external 10MHz oscillator module.&lt;BR /&gt;ICSC1 is #%10000000 external reference clock selected.&lt;BR /&gt;ICSC2 is #%00110000 clock source divided by 1.&lt;BR /&gt;If I BSET then BCLR the port pin goes high for 1uS. I was expecting 0.5uS seeing it takes 5 cycles. How can I get the bus speed to 10MHz? I did it easy with a S08PA but they are currently in short supply so I had to switch to the S08FL. They have heaps of registers that do similar things to the PA version but with completely different names and it's so confusing so I don't really know what I'm doing. I only write in assembler so any advice in C or whatever won't mean much &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 13:31:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1465819#M23524</guid>
      <dc:creator>JimDandy</dc:creator>
      <dc:date>2022-05-28T13:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: S08FL bus clock speed selection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1465986#M23525</link>
      <description>&lt;P&gt;Bus clock is 1/2 of oscillator or FLL output clock. So you need FLL engaged external mode (FEE) to get 20MHz, which will be further divided by 2 to get 10MHz bus clock.&lt;/P&gt;&lt;P&gt;Interesting, I thought all S08's have the same fixed 1/2 bus clock divider. S08PA is exception to this.&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 06:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1465986#M23525</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2022-05-30T06:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: S08FL bus clock speed selection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1466132#M23526</link>
      <description>&lt;P&gt;I went and checked it again just to make sure. S08PA can definitely do 10MHz bus frequency using 10MHz external oscillator. BSET then&amp;nbsp; BCLR takes 500nS. I can just use a 20 MHz oscillator with a S08FL but I want to know if I am doing something wrong.&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 08:48:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1466132#M23526</guid>
      <dc:creator>JimDandy</dc:creator>
      <dc:date>2022-05-30T08:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: S08FL bus clock speed selection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1466973#M23527</link>
      <description>&lt;P&gt;Hi please check this application note&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN3499.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN3499.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;also please check this code with this I am setting to use an external crystal of 10 MHZ and bus clock of 10 MHz,CPU clock of 20 MHz&lt;/P&gt;
&lt;P&gt;158: if (*(uint8_t*)0xFFAFU != 0xFFU) { /* Test if the device trim value is stored on the specified address */&lt;BR /&gt;00000012 C6FFAF LDA 0xFFAF&lt;BR /&gt;00000015 A1FF CMP #0xFF&lt;BR /&gt;00000017 270E BEQ *+16 ;abs = 0x0027&lt;BR /&gt;159: ICSTRM = *(uint8_t*)0xFFAFU; /* Initialize ICSTRM register from a non volatile memory */&lt;BR /&gt;00000019 C6FFAF LDA 0xFFAF&lt;BR /&gt;0000001C C70000 STA ICSTRM&lt;BR /&gt;160: ICSSC = (uint8_t)((*(uint8_t*)0xFFAEU) &amp;amp; (uint8_t)0x01U); /* Initialize ICSSC register from a non volatile memory */&lt;BR /&gt;0000001F C6FFAE LDA 0xFFAE&lt;BR /&gt;00000022 A401 AND #0x01&lt;BR /&gt;00000024 C70000 STA ICSSC&lt;BR /&gt;164: setReg8(ICSC1, 0x18U); /* Initialization of the ICS control register 1 */ &lt;BR /&gt;00000027 A618 LDA #0x18&lt;BR /&gt;00000029 C70000 STA ICSC1&lt;BR /&gt;166: setReg8(ICSC2, 0x36U); /* Initialization of the ICS control register 2 */ &lt;BR /&gt;0000002C A636 LDA #0x36&lt;BR /&gt;0000002E C70000 STA ICSC2&lt;BR /&gt;167: while(ICSSC_OSCINIT == 0U) { /* Wait until the initialization of the external crystal oscillator is completed */&lt;BR /&gt;00000031 C60000 LDA ICSSC&lt;BR /&gt;00000034 A502 BIT #0x02&lt;BR /&gt;00000036 27F9 BEQ *-5 ;abs = 0x0031&lt;BR /&gt;170: clrReg8Bits(ICSSC, 0xE0U); /* Initialization of the ICS status and control */ &lt;BR /&gt;00000038 C60000 LDA ICSSC&lt;BR /&gt;0000003B A41F AND #0x1F&lt;BR /&gt;0000003D C70000 STA ICSSC&lt;BR /&gt;171: while((ICSSC &amp;amp; 0xC0U) != 0x00U) { /* Wait until the FLL switches to Low range DCO mode */&lt;BR /&gt;00000040 C60000 LDA ICSSC&lt;BR /&gt;00000043 A5C0 BIT #0xC0&lt;BR /&gt;00000045 26F9 BNE *-5 ;abs = 0x0040&lt;BR /&gt;176: __asm jmp _Startup ; /* Jump to C startup code */&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry I am not good in ASM code so I just disasambled my code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; hope this will help you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a good day&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 18:44:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1466973#M23527</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2022-05-31T18:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: S08FL bus clock speed selection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1467091#M23528</link>
      <description>&lt;P&gt;Hey vincentegomez, that was it!&lt;/P&gt;&lt;P&gt;From your code I used&lt;/P&gt;&lt;P&gt;LDA&amp;nbsp;&amp;nbsp;&amp;nbsp; #%00011000&lt;BR /&gt;STA&amp;nbsp;&amp;nbsp;&amp;nbsp; ICS_C1&lt;/P&gt;&lt;P&gt;LDA&amp;nbsp;&amp;nbsp;&amp;nbsp; #%00110110&lt;BR /&gt;STA&amp;nbsp;&amp;nbsp;&amp;nbsp; ICS_C2&lt;/P&gt;&lt;P&gt;and that sorted it out.&lt;/P&gt;&lt;P&gt;That has made my day. Thank you so much &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 02:48:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1467091#M23528</guid>
      <dc:creator>JimDandy</dc:creator>
      <dc:date>2022-06-01T02:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: S08FL bus clock speed selection</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1467114#M23529</link>
      <description>&lt;P&gt;One thing I did notice now I have it running properly is with a repetitive 500nS wide pulse coming out the port pin, the PA micro signal is dead rock solid whereas the FL micro signal has the very slightest amount of jitter, presumably because it is the result of the FLL operating. This is not a concern in my application but it does indicate a difference in the two micros internally. Anyhow, it's all good.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 03:02:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08FL-bus-clock-speed-selection/m-p/1467114#M23529</guid>
      <dc:creator>JimDandy</dc:creator>
      <dc:date>2022-06-01T03:02:28Z</dc:date>
    </item>
  </channel>
</rss>

