<?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>Processor Expert SoftwareのトピックRe: TSS_Task does not update TSS internal data</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272347#M1791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;baseline is not updated in several occasions, in TOUCHED state and is some advanced features like shielding or water tolerance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from ref manual:&lt;/P&gt;&lt;P&gt;It is important to note that analog decoders automatically disable dc-tracker on all electrodes assigned to the control if at least one electrode from the control is touched. If all electrodes from the control are released then dc-tracker automatically re-enables these electrodes. However, manual settings of the register are allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 14pt; font-family: 'Times New Roman','serif';"&gt;Shielding function and Water tolerance&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black; font-size: 12pt;"&gt;The shielding function may further improve the TSS noise immunity and water tolerance. The function compensates signal drift on a regular electrode by a special shielding electrode signal. The function can be used in the standard shielding mode described in &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0000c3; font-size: 12pt;"&gt;Section A.3.10.1, “Standard shielding function&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black; font-size: 12pt;"&gt;.” And water tolerance mode described &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0000c3; font-size: 12pt;"&gt;Section A.3.10.2, “Water tolerance mode&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black; font-size: 12pt;"&gt;.” It is important to note that the DC-Tracker function and Negative Baseline Drop function are not performed on shielding, or shielded electrode. For more information on how to enable the shielding function, refer to &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0000c3; font-size: 12pt;"&gt;Section 2.1.9, “Shielding function&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black; font-size: 12pt;"&gt;.”&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 07:27:46 GMT</pubDate>
    <dc:creator>pavel_sadek</dc:creator>
    <dc:date>2013-09-25T07:27:46Z</dc:date>
    <item>
      <title>TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272334#M1778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using TSS on a PT32, 6 electrodes. My application aso uses timers and flash, so I have a bunch of activies running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's happening right now is that TSS_Task does not update TSS internal data, after the first flash write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main loop looks like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void main(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; PE_low_level_init();&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** End of Processor Expert internal initialization.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ***/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Write your code here */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* For example: for(;;) { } */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* various inits */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for(;;){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ret = TSS_Task();&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if (flash_write_requested == 1) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Cpu_DisableInt();&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; if (Report_Update_Flash_Data() == 0) {&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp;&amp;nbsp; Debug_Print("Report written successfully.\n\0");&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; } else {&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp;&amp;nbsp; Debug_Print("Error writing flash report.\n\0");&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; flash_write_requested = 0;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Cpu_EnableInt();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I do TSS_Task as often as I can optionally writing the flash whenever needed (don't mind lagging a bit though).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the flash write (that completes just fine), the application continues to run but the TSS_Task seems to do nothing&lt;/P&gt;&lt;P&gt;(and its computation time is significantly shorter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to detect what's happening inside it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Sorry but I don't know how to format code (input form behaviour on my browser is pretty crappy).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.P.S I can't post all the project but I can give further info to clarify the situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the (eventual) suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 10:14:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272334#M1778</guid>
      <dc:creator>francescoprospe</dc:creator>
      <dc:date>2013-08-23T10:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272335#M1779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have TSS configuration between "various inits"?&lt;/P&gt;&lt;P&gt;I am assuming you are using TSI module with TSS.&lt;/P&gt;&lt;P&gt;Another point is - you are using TSS_Task(); in non blocking manner, I would rather recommend use of&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; color: black; font-size: 10pt;"&gt;while (TSS_Task() == TSS_STATUS_PROCESSING);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Executes the TSS main task */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;it will not allow you to get into next if statement when touch task is performing (Task is causing TSI interrupt internally)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 11:23:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272335#M1779</guid>
      <dc:creator>pavel_sadek</dc:creator>
      <dc:date>2013-08-23T11:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272336#M1780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the (void)Configure(); is called. (until the first write the electrodes behaviour is correct);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried your blocking solution but, after the flash write, the behaviour is not changed. TSS_Task seems to return TSS_STATUS_OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remark the facts that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) the TSS_Task is much much faster than before the write so I assume it somehow tends to skip some internal step;&lt;/P&gt;&lt;P&gt;2) the application continues running (other ISRs)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long from understand the situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 11:57:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272336#M1780</guid>
      <dc:creator>francescoprospe</dc:creator>
      <dc:date>2013-08-23T11:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272337#M1781</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;well,&lt;/P&gt;&lt;P&gt;while loop is essentialy the must here as we need to finish the measurement of complete sequence (all 6 measurements in your case). Disabling interrupts in between causes failure of complete state machine of TSS.&lt;/P&gt;&lt;P&gt;if you have TSS_STATUS_OK then the measurement was successfully done.&lt;/P&gt;&lt;P&gt;I would start with onfault event, place breakpoint there and check if it is entered, when and what fault it is.&lt;/P&gt;&lt;P&gt;The other thing to check are enablers before and after falshing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 12:28:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272337#M1781</guid>
      <dc:creator>pavel_sadek</dc:creator>
      <dc:date>2013-08-23T12:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272338#M1782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;between the last two flash write routines, I wasn't waiting the end of operation with IFsh1_Busy(0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Introducing it seems to solve my current misbehaviour, but I reserve my doubts for the final step of integration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the time, Pavel :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope to not bother you (all) further. Believe me, I DO hope so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Pavel, I read late your last answer. Thanks for the suggestions (I was not well aware of the next TSS debugging steps).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 12:54:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272338#M1782</guid>
      <dc:creator>francescoprospe</dc:creator>
      <dc:date>2013-08-23T12:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272339#M1783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all and hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the same problem appeared also in another project (with no flash).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I adopted the while(TSS_Task() == TSS_STATUS_PROCESSING) in the main function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides, what is the best approach to call the TSS_Task() ? in the main function or in a timer ISR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Through the debugger, the TSS_Task() is called but through the Freemaster tool, it stops updating the readings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This behaviour is similar to the case in which the interrupts are disabled, but in my project I do not disable them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the core register bit that is affected by Cpu_DisableInt() and Cpu_EnableInt() ? (so I can tell if this is the case?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;I tried brekpointing the TSS fault callback but it appears to be never called.&lt;/SPAN&gt; *edit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fault callback is called with parameter 255 (but I have only 6 electrodes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can give me some suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 07:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272339#M1783</guid>
      <dc:creator>francescoprospe</dc:creator>
      <dc:date>2013-08-30T07:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272340#M1784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Francesco&lt;/P&gt;&lt;P&gt;the way of TSS_Task() calling is up to you - you can use both ISR or from the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;global interrupt is toggled by instructions SEI and CLI (previously mentioned macros are just allias) and are changing condition code register - I bit. You can find it under Core Registers / SR / I Bit Field in Code Warrior. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do you see in faults register? 255 is not valid information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 09:39:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272340#M1784</guid>
      <dc:creator>pavel_sadek</dc:creator>
      <dc:date>2013-09-03T09:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272341#M1785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for the delay in the response but I was busy on other aspects of the firmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, coming to the Faulting behaviour&amp;nbsp; I resume my situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My firmware interacts both with TSS and one ADC channel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I disable (commenting it out) the ADC measurement (*_MeasureChan()) all goes fine. no fault at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I re-enable it, the fault callback fires with faultElecnum = 4 and DataCorrpution flag enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ADC measurement is non-blocking and is invoked every 5 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any relation between TSI and ADC ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re-configuring the TSS library every fault seems pretty crappy solution to me so I hope I can sort this matter out somehow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 10:42:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272341#M1785</guid>
      <dc:creator>francescoprospe</dc:creator>
      <dc:date>2013-09-18T10:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272342#M1786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ADC is noisy from TSI point of view. So I would recomend to disable ADC every time when conversion is completed (in the ISR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some TSI inputs are suffer more compare to others...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 13:19:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272342#M1786</guid>
      <dc:creator>pavel_sadek</dc:creator>
      <dc:date>2013-09-18T13:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272343#M1787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for such info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be really sure, I have decided to serialize the TSS_Task call and the ADC operations (from Enable, passing by Measure,GetValue to Disable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way, the two devices shouldn't be concerned about each other. I an now testing this idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end I have a dumb (in my opionion) question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the CPU component, I couldn't find the routine to produce software reset of the MCU. The PE should give that out to the user,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I enable/find it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the help you provivded me! :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good work,&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 08:10:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272343#M1787</guid>
      <dc:creator>francescoprospe</dc:creator>
      <dc:date>2013-09-20T08:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272344#M1788</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;the synchronization and disabling of ADC will work for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in S08 devices you can do the SW reset in several ways:&lt;/P&gt;&lt;P&gt;one is while(1); loop when COP is enabled - it will cause wdog reset&lt;/P&gt;&lt;P&gt;another approach is use of illegal adress or illegal opcode&lt;/P&gt;&lt;P&gt;for illegal opcode you can use some instruction which is not defined...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Times New Roman;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;EM&gt;In the event of faulty coding or disrupted software execution flow due to a disturbance, all HCS08&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;EM&gt;microcontrollers include on-chip features to generate a system reset, which will then restore normal MCU&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;EM&gt;operation. The illegal op-code (ILOP) bit in the System Reset Status (SRS) register will generate a reset&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;EM&gt;upon detection of an illegal op-code. For example, the STOP instruction is considered illegal if stop is&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;EM&gt;disabled by STOPE=0. Likewise, the BGND instruction is considered illegal if active background mode&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;EM&gt;is disabled by ENBDM = 0. The ILOP reset can also be used strategically for system protection to handle&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;code runaway.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 11:09:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272344#M1788</guid>
      <dc:creator>pavel_sadek</dc:creator>
      <dc:date>2013-09-20T11:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272345#M1789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the tip about software reset methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my firmware it seems eventually two keys get stucked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The keys are adjacent and one is the shield&amp;nbsp; of the other (to eliminate cross-talking).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the Stuck-key function enabled in my configuration (after 0xFF TSS_Task invocations) but it doesn't seem they are correctly reconfigured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to debug this behaviour?&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 07:32:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272345#M1789</guid>
      <dc:creator>francescoprospe</dc:creator>
      <dc:date>2013-09-23T07:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272346#M1790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Furthermore, TSS is not updating any baseline. I have both DC tracker (default balue = 100) and Negative Baseline Drop enabled in my configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TSS_Task is executing fine (based on its return value). Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 13:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272346#M1790</guid>
      <dc:creator>francescoprospe</dc:creator>
      <dc:date>2013-09-24T13:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272347#M1791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;baseline is not updated in several occasions, in TOUCHED state and is some advanced features like shielding or water tolerance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from ref manual:&lt;/P&gt;&lt;P&gt;It is important to note that analog decoders automatically disable dc-tracker on all electrodes assigned to the control if at least one electrode from the control is touched. If all electrodes from the control are released then dc-tracker automatically re-enables these electrodes. However, manual settings of the register are allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 14pt; font-family: 'Times New Roman','serif';"&gt;Shielding function and Water tolerance&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black; font-size: 12pt;"&gt;The shielding function may further improve the TSS noise immunity and water tolerance. The function compensates signal drift on a regular electrode by a special shielding electrode signal. The function can be used in the standard shielding mode described in &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0000c3; font-size: 12pt;"&gt;Section A.3.10.1, “Standard shielding function&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black; font-size: 12pt;"&gt;.” And water tolerance mode described &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0000c3; font-size: 12pt;"&gt;Section A.3.10.2, “Water tolerance mode&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black; font-size: 12pt;"&gt;.” It is important to note that the DC-Tracker function and Negative Baseline Drop function are not performed on shielding, or shielded electrode. For more information on how to enable the shielding function, refer to &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0000c3; font-size: 12pt;"&gt;Section 2.1.9, “Shielding function&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black; font-size: 12pt;"&gt;.”&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 07:27:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272347#M1791</guid>
      <dc:creator>pavel_sadek</dc:creator>
      <dc:date>2013-09-25T07:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272348#M1792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for all the support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to close the thread (if I am able to). If a Freescale member is necessary , please do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 12:49:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272348#M1792</guid>
      <dc:creator>francescoprospe</dc:creator>
      <dc:date>2013-09-30T12:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272349#M1793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 22:13:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272349#M1793</guid>
      <dc:creator>pavel_sadek</dc:creator>
      <dc:date>2013-10-01T22:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272350#M1794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Hi Pavel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Hi all,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;based on what Pavel pointed out (citing the reference manual) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;DC tracker and Negative baseline drops &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;are disabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;when shielding is active.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;So we tried to &lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;manually &lt;/SPAN&gt;trigger &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;recalibration (to update baselines) setting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;recalibration &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;bits (hw and sw) through SetSystemConfig().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;The SetSystemConfig is called every 3 seconds but&amp;nbsp; recalibration is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;performed with a different (longer) period.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;The baseline behaviour of this approach are clumsy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Testing our application in an environment with a lot of steam,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;signals drifting is rapid and recalibration is not quick enough to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;compensate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;We tried to periodically riconfigure (through calling Configure()) all the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;electrodes.&amp;nbsp; If a finger happens to be on an electrode, calibration rises the baseline&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;for such electrode and baseline remains high for some seconds.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;This behaviour is unacceptable. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Is there a way to maintain adaptability togethere with shielding?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;We have only one common shielding electrode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Could providing a separate shielding electrode for each standard electrode &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;improve this situation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Thanks for your time,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;F&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 12:05:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272350#M1794</guid>
      <dc:creator>francescoprospe</dc:creator>
      <dc:date>2013-10-31T12:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: TSS_Task does not update TSS internal data</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272351#M1795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; guess it can be done, I would not do new call of Configure();&lt;/P&gt;&lt;P&gt;I would rather like to point you to setting Manual Recalibration starter bit in System Configuration register.&lt;/P&gt;&lt;P&gt;Additionally I would suggest you to block your periodical update when any electrode is in touched state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 08:10:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/TSS-Task-does-not-update-TSS-internal-data/m-p/272351#M1795</guid>
      <dc:creator>pavel_sadek</dc:creator>
      <dc:date>2013-11-06T08:10:21Z</dc:date>
    </item>
  </channel>
</rss>

