<?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 How can I activate an eMIOS channel in DAOC mode in my MPC5777C micro? in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/How-can-I-activate-an-eMIOS-channel-in-DAOC-mode-in-my-MPC5777C/m-p/930358#M13940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;I’m using the MPC5777C micro in an NXP EVB and I’m trying to activate an EMIOS channel in DAOC mode, I think I have followed the directions of the user manual, but I can not make it to work. For me at this moment seems like DAOC is not enabled in this microcontroller.&lt;BR /&gt;I have some basic experience with EMIOS, because I have successfully enabled EMIOS channels in these modes: MC, SAOC, OPWFM, SAIC, IPM, IPWM, but this mode is not working for me.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;If possible please let me know your thoughts of what is wrong with my configuration or understanding of this EMIOS mode.&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;The specific features and configurations details:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;This test software is done for the NXP EVB and is configured to use the 16 MHz Internal RC Oscillator (IRC), this means the nominal per_clk operating frequency is 8 MHz or 125 microseconds period, this is the sys-clock for EMIOS-0.&lt;/DIV&gt;&lt;DIV&gt;CONFIG-0: Set eMIOS 0 channel 23 with these settings:&lt;BR /&gt;Configured in MC mode, with these specific settings&lt;BR /&gt;&amp;nbsp; •Modulus Counter = 0x10&lt;BR /&gt;&amp;nbsp; •Up mode&lt;BR /&gt;&amp;nbsp; •Internal counter&lt;BR /&gt;&amp;nbsp; •With clear on match start&lt;BR /&gt;&amp;nbsp; •Interrupt enabled.&lt;BR /&gt;&amp;nbsp; •Only one flag generated on A match&lt;BR /&gt;&amp;nbsp; •For 200 Hz operating frequency, with an input clock of 8MHz, the required counts for REG-A = 8MHz/200Hz = 40000 counts = 0x9C40 counts.&lt;/DIV&gt;&lt;DIV&gt;CONFIG-1: Set eMIOS 0 channel 21 with these settings:&lt;BR /&gt;Configured in DAOC mode, with these specific settings&lt;BR /&gt;&amp;nbsp; •Pulse polarity: Positive Pulse = EDPOL= 1 &lt;BR /&gt;&amp;nbsp; •Use Global Counter Bus A.&lt;BR /&gt;&amp;nbsp; •Rising edge shall be 1 millisecond after enabling the global time base, this means REG-A is initialized to 1msec/125microsec = 8000 = 0x1F40 counts (I think this value is valid because is smaller than EMIOS0-CH23-REG-A=0x9C40)&lt;BR /&gt;&amp;nbsp; •Falling edge shall be 3 milliseconds after enabling the global time base, this means REG-B is initialized to 3msec/125microsec = 24000 = 0x5DC0 counts (I think this value is valid because is smaller than EMIOS0-CH23-REG-A=0x9C40)&lt;BR /&gt;&amp;nbsp; •Interrupt enabled.&lt;BR /&gt;&amp;nbsp; •Only one flag generated on B match&lt;/DIV&gt;&lt;DIV&gt;CONFIG-2: Set PCR200 /EMIOS0-CH21 pin port with these settings:&lt;BR /&gt;&amp;nbsp; •In primary mode (EMIOS)&lt;BR /&gt;&amp;nbsp; •Output mode&lt;/DIV&gt;&lt;DIV&gt;CONFIG-3: Set PCR199 pin port with these settings:&lt;BR /&gt;&amp;nbsp; •In GPIO mode&lt;BR /&gt;&amp;nbsp; •Output mode&lt;/DIV&gt;&lt;DIV&gt;CONFIG-4: Set PCR201 pin port with these settings:&lt;BR /&gt;&amp;nbsp; •In GPIO mode&lt;BR /&gt;&amp;nbsp; •Output mode&lt;/DIV&gt;&lt;DIV&gt;CONFIG-5: eMIOS0-&amp;gt; CH21 &amp;amp; eMIOS0-&amp;gt; CH23 ISRs are:&lt;BR /&gt;&amp;nbsp; •Configured&lt;BR /&gt;&amp;nbsp; •Enabled&lt;BR /&gt;&amp;nbsp; •Lowest priority set: 1&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;STRONG&gt;Detailed functional description and sequence of events&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;1.Global prescaler is disabled &lt;BR /&gt;2.PCR199 pin port configured as CONFIG-3&lt;BR /&gt;3.PCR201 pin port configured as CONFIG-4&lt;BR /&gt;4.PCR200 pin port configured as CONFIG-2&lt;BR /&gt;5.EMIOS0-CH23 is configured as CONFIG-0&lt;BR /&gt;6.EMIOS0-CH21 is configured as CONFIG-1&lt;BR /&gt;7.ISRs for EMIOS0-CH23 &amp;amp; EMIOS0-CH21 are configured as CONFIG-5&lt;BR /&gt;a.GPIO201 configured to toggle high and low whenever the EMIOS0-CH23-ISR is executed.&lt;BR /&gt;b.GPIO199 configured to toggle high and low whenever the EMIOS0-CH21-ISR is executed.&lt;BR /&gt;8.Enable global prescaler and global time base &lt;BR /&gt;9.No other interrupts or functions are executed.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;The expected result:&lt;/STRONG&gt;&lt;BR /&gt;EMIOS0-CH21 working on DAOC mode with a single positive pulse of 2 milliseconds &lt;BR /&gt;EMIOS0-CH21 toggling at the falling edge of EMIOS0-CH21-&amp;gt;DAOC pulse&lt;BR /&gt;GPIO201 is toggling at 200 Hz because is toggled by EMIOS0-CH23-ISR in MC up mode at 200 Hz frequency.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;The actual test results:&lt;/STRONG&gt;&lt;BR /&gt;EMIOS0-CH21 always stays high after the DAOC mode is enabled.&lt;BR /&gt;GPIO201 is toggling at 200 Hz (EMIOS0-CH23 in MC up mode at 200 Hz frequency).&lt;/DIV&gt;&lt;DIV&gt;Other tests I have done:&lt;BR /&gt;&amp;nbsp; 1.I tested different values for EMIOS0-21 REG-A and REG-B, with no difference.&lt;BR /&gt;&amp;nbsp; 2.I tested to use the internal counter as counter bus for the EMIOS0-21 but did not make any difference.&lt;BR /&gt;&amp;nbsp; 3.I tested successfully other EMIO mode (OPWFM) in the same pin port, this means the pin port is working fine and is properly configured.&lt;BR /&gt;&amp;nbsp; 4.I tested the same software with different values for EMIOS0-CH21.IC-&amp;gt;EDPOL and EDSEL registers but there was no actual difference.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;I attached:&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp; 1.Register values of EMIOS and SIU after the software is ran for some time. (registers.txt)&lt;BR /&gt;&amp;nbsp; 2.Oscilloscope snapshots (tek00000-00005.png) of the initial time when the software is executed, this is the meaning of the channels:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.CHANNEL-1= GPIO201&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.CHANNEL-2=EMIOS0-CH21&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c.CHANNEL-3=GPIO199&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the scope images is clear that:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMIOS0-CH23 is working fine in MC up mode at 200 Hz.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMIOS0-CH21 is just in active high right after this EMIOS-DAOC channel is enabled by the global plescaler and global enabler.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Additional details:&lt;/STRONG&gt;&lt;BR /&gt;1.The EVB hardware setup we are using:&lt;BR /&gt;&amp;nbsp; a.Daughter board: 700-28088 REV C, SCH-28088 REV D&lt;BR /&gt;&amp;nbsp; b.Mother board: 700-27237 REV D, SCH-27237 REV C&lt;BR /&gt;2.The used microcontroller user manual: “MPC5777C Reference Manual, Rev. 3, 02/2015”&lt;BR /&gt;3.The microcontroller has this label in the package: “SPC5777CDMM03&amp;nbsp;&amp;nbsp; 3N45H&amp;nbsp;&amp;nbsp; CTA01738D”&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2019 23:54:32 GMT</pubDate>
    <dc:creator>jorgemartinez7</dc:creator>
    <dc:date>2019-08-30T23:54:32Z</dc:date>
    <item>
      <title>How can I activate an eMIOS channel in DAOC mode in my MPC5777C micro?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-I-activate-an-eMIOS-channel-in-DAOC-mode-in-my-MPC5777C/m-p/930358#M13940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;I’m using the MPC5777C micro in an NXP EVB and I’m trying to activate an EMIOS channel in DAOC mode, I think I have followed the directions of the user manual, but I can not make it to work. For me at this moment seems like DAOC is not enabled in this microcontroller.&lt;BR /&gt;I have some basic experience with EMIOS, because I have successfully enabled EMIOS channels in these modes: MC, SAOC, OPWFM, SAIC, IPM, IPWM, but this mode is not working for me.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;If possible please let me know your thoughts of what is wrong with my configuration or understanding of this EMIOS mode.&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;The specific features and configurations details:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;This test software is done for the NXP EVB and is configured to use the 16 MHz Internal RC Oscillator (IRC), this means the nominal per_clk operating frequency is 8 MHz or 125 microseconds period, this is the sys-clock for EMIOS-0.&lt;/DIV&gt;&lt;DIV&gt;CONFIG-0: Set eMIOS 0 channel 23 with these settings:&lt;BR /&gt;Configured in MC mode, with these specific settings&lt;BR /&gt;&amp;nbsp; •Modulus Counter = 0x10&lt;BR /&gt;&amp;nbsp; •Up mode&lt;BR /&gt;&amp;nbsp; •Internal counter&lt;BR /&gt;&amp;nbsp; •With clear on match start&lt;BR /&gt;&amp;nbsp; •Interrupt enabled.&lt;BR /&gt;&amp;nbsp; •Only one flag generated on A match&lt;BR /&gt;&amp;nbsp; •For 200 Hz operating frequency, with an input clock of 8MHz, the required counts for REG-A = 8MHz/200Hz = 40000 counts = 0x9C40 counts.&lt;/DIV&gt;&lt;DIV&gt;CONFIG-1: Set eMIOS 0 channel 21 with these settings:&lt;BR /&gt;Configured in DAOC mode, with these specific settings&lt;BR /&gt;&amp;nbsp; •Pulse polarity: Positive Pulse = EDPOL= 1 &lt;BR /&gt;&amp;nbsp; •Use Global Counter Bus A.&lt;BR /&gt;&amp;nbsp; •Rising edge shall be 1 millisecond after enabling the global time base, this means REG-A is initialized to 1msec/125microsec = 8000 = 0x1F40 counts (I think this value is valid because is smaller than EMIOS0-CH23-REG-A=0x9C40)&lt;BR /&gt;&amp;nbsp; •Falling edge shall be 3 milliseconds after enabling the global time base, this means REG-B is initialized to 3msec/125microsec = 24000 = 0x5DC0 counts (I think this value is valid because is smaller than EMIOS0-CH23-REG-A=0x9C40)&lt;BR /&gt;&amp;nbsp; •Interrupt enabled.&lt;BR /&gt;&amp;nbsp; •Only one flag generated on B match&lt;/DIV&gt;&lt;DIV&gt;CONFIG-2: Set PCR200 /EMIOS0-CH21 pin port with these settings:&lt;BR /&gt;&amp;nbsp; •In primary mode (EMIOS)&lt;BR /&gt;&amp;nbsp; •Output mode&lt;/DIV&gt;&lt;DIV&gt;CONFIG-3: Set PCR199 pin port with these settings:&lt;BR /&gt;&amp;nbsp; •In GPIO mode&lt;BR /&gt;&amp;nbsp; •Output mode&lt;/DIV&gt;&lt;DIV&gt;CONFIG-4: Set PCR201 pin port with these settings:&lt;BR /&gt;&amp;nbsp; •In GPIO mode&lt;BR /&gt;&amp;nbsp; •Output mode&lt;/DIV&gt;&lt;DIV&gt;CONFIG-5: eMIOS0-&amp;gt; CH21 &amp;amp; eMIOS0-&amp;gt; CH23 ISRs are:&lt;BR /&gt;&amp;nbsp; •Configured&lt;BR /&gt;&amp;nbsp; •Enabled&lt;BR /&gt;&amp;nbsp; •Lowest priority set: 1&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;STRONG&gt;Detailed functional description and sequence of events&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;1.Global prescaler is disabled &lt;BR /&gt;2.PCR199 pin port configured as CONFIG-3&lt;BR /&gt;3.PCR201 pin port configured as CONFIG-4&lt;BR /&gt;4.PCR200 pin port configured as CONFIG-2&lt;BR /&gt;5.EMIOS0-CH23 is configured as CONFIG-0&lt;BR /&gt;6.EMIOS0-CH21 is configured as CONFIG-1&lt;BR /&gt;7.ISRs for EMIOS0-CH23 &amp;amp; EMIOS0-CH21 are configured as CONFIG-5&lt;BR /&gt;a.GPIO201 configured to toggle high and low whenever the EMIOS0-CH23-ISR is executed.&lt;BR /&gt;b.GPIO199 configured to toggle high and low whenever the EMIOS0-CH21-ISR is executed.&lt;BR /&gt;8.Enable global prescaler and global time base &lt;BR /&gt;9.No other interrupts or functions are executed.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;The expected result:&lt;/STRONG&gt;&lt;BR /&gt;EMIOS0-CH21 working on DAOC mode with a single positive pulse of 2 milliseconds &lt;BR /&gt;EMIOS0-CH21 toggling at the falling edge of EMIOS0-CH21-&amp;gt;DAOC pulse&lt;BR /&gt;GPIO201 is toggling at 200 Hz because is toggled by EMIOS0-CH23-ISR in MC up mode at 200 Hz frequency.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;The actual test results:&lt;/STRONG&gt;&lt;BR /&gt;EMIOS0-CH21 always stays high after the DAOC mode is enabled.&lt;BR /&gt;GPIO201 is toggling at 200 Hz (EMIOS0-CH23 in MC up mode at 200 Hz frequency).&lt;/DIV&gt;&lt;DIV&gt;Other tests I have done:&lt;BR /&gt;&amp;nbsp; 1.I tested different values for EMIOS0-21 REG-A and REG-B, with no difference.&lt;BR /&gt;&amp;nbsp; 2.I tested to use the internal counter as counter bus for the EMIOS0-21 but did not make any difference.&lt;BR /&gt;&amp;nbsp; 3.I tested successfully other EMIO mode (OPWFM) in the same pin port, this means the pin port is working fine and is properly configured.&lt;BR /&gt;&amp;nbsp; 4.I tested the same software with different values for EMIOS0-CH21.IC-&amp;gt;EDPOL and EDSEL registers but there was no actual difference.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;I attached:&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp; 1.Register values of EMIOS and SIU after the software is ran for some time. (registers.txt)&lt;BR /&gt;&amp;nbsp; 2.Oscilloscope snapshots (tek00000-00005.png) of the initial time when the software is executed, this is the meaning of the channels:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.CHANNEL-1= GPIO201&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.CHANNEL-2=EMIOS0-CH21&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c.CHANNEL-3=GPIO199&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the scope images is clear that:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMIOS0-CH23 is working fine in MC up mode at 200 Hz.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMIOS0-CH21 is just in active high right after this EMIOS-DAOC channel is enabled by the global plescaler and global enabler.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Additional details:&lt;/STRONG&gt;&lt;BR /&gt;1.The EVB hardware setup we are using:&lt;BR /&gt;&amp;nbsp; a.Daughter board: 700-28088 REV C, SCH-28088 REV D&lt;BR /&gt;&amp;nbsp; b.Mother board: 700-27237 REV D, SCH-27237 REV C&lt;BR /&gt;2.The used microcontroller user manual: “MPC5777C Reference Manual, Rev. 3, 02/2015”&lt;BR /&gt;3.The microcontroller has this label in the package: “SPC5777CDMM03&amp;nbsp;&amp;nbsp; 3N45H&amp;nbsp;&amp;nbsp; CTA01738D”&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2019 23:54:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-I-activate-an-eMIOS-channel-in-DAOC-mode-in-my-MPC5777C/m-p/930358#M13940</guid>
      <dc:creator>jorgemartinez7</dc:creator>
      <dc:date>2019-08-30T23:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I activate an eMIOS channel in DAOC mode in my MPC5777C micro?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-I-activate-an-eMIOS-channel-in-DAOC-mode-in-my-MPC5777C/m-p/930359#M13941</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;you did not share the code&amp;nbsp;so be sure&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;comparators are enabled. You need to write to&amp;nbsp;A/B registers after DAOC mode is selected. After match comparators are disable again, to enable it you need to write to&amp;nbsp;A/B registers again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BR,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Petr&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 11:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-I-activate-an-eMIOS-channel-in-DAOC-mode-in-my-MPC5777C/m-p/930359#M13941</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2019-09-02T11:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I activate an eMIOS channel in DAOC mode in my MPC5777C micro?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-can-I-activate-an-eMIOS-channel-in-DAOC-mode-in-my-MPC5777C/m-p/930360#M13942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi BR, Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;P&gt;The problem was I set the registers A/B first and then the channel mode. Actually I was following the instructions in the section: "&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;36.7.2.3 Channel/Modes Initialization&lt;/SPAN&gt;" of the microcontroller user manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MPC5777C Reference Manual, Rev. 3, 02/2015&lt;/P&gt;&lt;P&gt;36.7.2.3 Channel/Modes Initialization&lt;BR /&gt;The following basic steps summarize basic output mode startup, assuming the channels&lt;BR /&gt;are initially in GPIO mode:&lt;BR /&gt;1. [global] Disable Global Prescaler.&lt;BR /&gt;2. [timebase channel] Disable Channel Prescaler.&lt;BR /&gt;3. [timebase channel] Write initial value at internal counter.&lt;BR /&gt;4. [timebase channel] Set A/B register.&lt;BR /&gt;5. [timebase channel] Set channel to MC(B) Up mode.&lt;BR /&gt;6. [timebase channel] Set prescaler ratio.&lt;BR /&gt;7. [timebase channel] Enable Channel Prescaler.&lt;BR /&gt;8. [output channel] Disable Channel Prescaler.&lt;BR /&gt;&lt;STRONG&gt;9. [output channel] Set A/B register.&lt;/STRONG&gt;&lt;BR /&gt;10. [output channel] Select timebase input through BSL[1:0] bits.&lt;BR /&gt;&lt;STRONG&gt;11. [output channel] Enter output mode.&lt;/STRONG&gt;&lt;BR /&gt;12. [output channel] Set prescaler ratio (same ratio as timebase channel).&lt;BR /&gt;13. [output channel] Enable Channel Prescaler.&lt;BR /&gt;14. [global] Enable Global Prescaler.&lt;BR /&gt;15. [global] Enable Global Time Base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My advice is to reflect the required register initialization order in future versions of the microcontroller user manual, without that other people may face the same problem I did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After changing the order: write eMIOS mode first, then write A/B register: DAOC mode is finally working!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="tek00005.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88205iACA02D4482ABCF4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="tek00005.png" alt="tek00005.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the image I have a negative pulse of 2 milliseconds generated by an EMIOS channel working in DAOC mode (seen in the oscilloscope channel 2.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good day&lt;/P&gt;&lt;P&gt;Jorge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 20:35:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-can-I-activate-an-eMIOS-channel-in-DAOC-mode-in-my-MPC5777C/m-p/930360#M13942</guid>
      <dc:creator>jorgemartinez7</dc:creator>
      <dc:date>2019-09-02T20:35:30Z</dc:date>
    </item>
  </channel>
</rss>

