<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://e2e.ti.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hercules™ Safety Microcontrollers</title><link>http://e2e.ti.com/support/microcontrollers/hercules/default.aspx</link><description>Discussion on Hercules™ ARM® Cortex™ Safety Microcontrollers.</description><dc:language>en-US</dc:language><generator>6.x Production</generator><item><title>Forum Post: RE: Problem using FTCA interrupt</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/264644/934536.aspx#934536</link><pubDate>Sun, 26 May 2013 00:29:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:934536</guid><dc:creator>Scott Green</dc:creator><description>&lt;p&gt;Zhaohong,&lt;/p&gt; &lt;p&gt;I noticed the latest release of HalCoGen 03.05.01 fixed my first issue by now automatically generating the ISR and associated pragma calls so that the FTCA interrupt works correctly.&amp;nbsp; Thank you.&lt;/p&gt; &lt;p&gt;Regarding the use of DMA with SPI2, I reviewed the SPI_DMA example that you provided and distilled it into the enclosed example that runs on the TMS570 USB dev kit to illustrate the issue that I am observing.&amp;nbsp; With FLAG_POLLED=1 and NUM_TX=64, the code successfully executes a polled TX/RX of 64 bytes on SPI2.&amp;nbsp;&lt;/p&gt; &lt;p&gt;However, when FLAG_POLLED=0, the code illustrates that a DMA TX/RX of the same 64bytes on SPI2 is erratic.&amp;nbsp; Only 17 bytes are seen on the MOSI line, and they occur in 6 bursts of 2-3 bytes each.&amp;nbsp; If the RX DMA is disabled, then the SPI2 MOSI line shows a 5.4usec burst outputting 11 bytes, but not the full 64bytes.&amp;nbsp; The DMA is writing 64bytes to the SPI2 DAT1 register, but the SPI2 is not reliably transferring the data out the MOSI line.&amp;nbsp;&lt;/p&gt; &lt;p&gt;When NUM_TX=1, the DMA TX/RX with SPI2 works.&amp;nbsp; This indicates that the code setup is correct, but it only works for a single byte transfer which is better done directly to the registers rather than using DMA.&amp;nbsp; When NUM_TX=2, the SPI2 MOSI line shows that both bytes are transmitted, but the received data is just the last byte repeated twice.&lt;/p&gt; &lt;p&gt;My interpretation of these results is that SPI2 works in a polled mode, but has a memory access conflict when using DMA.&amp;nbsp; Does anyone have a work-around or an example that enables the use of DMA on SPI2?&lt;/p&gt; &lt;p&gt;Thank you for your time.&lt;/p&gt; &lt;p&gt;Scott&lt;/p&gt;</description></item><item><title>Forum Post: RE: emac receive only broadcast packets - RM4 HDK</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/265651/934483.aspx#934483</link><pubDate>Sat, 25 May 2013 16:35:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:934483</guid><dc:creator>Tomasz Chalupka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt; &lt;p&gt;sorry for my impatience but have You any idea what I can do about my problem? I&amp;#39;m also looking forward to this tutorial &amp;#39;cause something less complex than LwIP demo would be helpfull.&lt;/p&gt; &lt;p&gt;Regards,&lt;/p&gt; &lt;p&gt;Tomasz&lt;/p&gt; &lt;div&gt;&lt;/div&gt;</description></item><item><title>Forum Post: RE: Good way to check stack size</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/267231/934476.aspx#934476</link><pubDate>Sat, 25 May 2013 15:02:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:934476</guid><dc:creator>KARTHIKEYAN RAJAMANICKAM</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt; &lt;p&gt;There is no inbuilt hardware mechanism in ARM core to do this, I can suggest a few ways to do this.&lt;/p&gt; &lt;p&gt;1)&lt;/p&gt; &lt;p&gt;a. If you are interested in abort, then you can configure the memory which you think should not be used by CPU due to over growing stack as separate MPU region.&lt;/p&gt; &lt;p&gt;b. Assign the AP property of that region to No Access, so whenever stack overgrows in to this region you will get an abort.&lt;/p&gt; &lt;p&gt;2)&lt;/p&gt; &lt;p&gt;a. The more simpler way should be to assign the stack size lot more than what you will need and fill them using a known pattern prior to the run.&lt;/p&gt; &lt;p&gt;b. Run your test and make sure the max stack usage scenarios like nested routines, interrupts etc are occurring.&lt;/p&gt; &lt;p&gt;c. At the end you can check the memory to see whats the last entry which contains something not matching the known pattern should be the max stack utilization number.&lt;/p&gt; &lt;p&gt;Hope this helps.&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Best Regards,&lt;/p&gt; &lt;p&gt;karthik.&lt;/p&gt;</description></item><item><title>Forum Post: RE: HET Interrupt</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/266475/934474.aspx#934474</link><pubDate>Sat, 25 May 2013 14:38:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:934474</guid><dc:creator>KARTHIKEYAN RAJAMANICKAM</dc:creator><description>&lt;p&gt;Hello Chafik,&lt;/p&gt; &lt;p&gt;Thanks for updating. I will go ahead and close this thread.&lt;/p&gt; &lt;p&gt;Best Regards,&lt;/p&gt; &lt;p&gt;Karthik.&lt;/p&gt;</description></item><item><title>Forum Post: RE: How to sync ePWM1 using N2HET1_LOOP_Sync in champion</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/266576/934235.aspx#934235</link><pubDate>Fri, 24 May 2013 19:58:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:934235</guid><dc:creator>Sunil Oak</dc:creator><description>&lt;p&gt;Hi Keyur,&lt;/p&gt; &lt;p&gt;See my comments below:&lt;/p&gt; &lt;p&gt;question 1: How does&amp;nbsp;&lt;span&gt;clearing PINMMR36[24] pin would affect, because I see only pin&lt;span&gt;&amp;nbsp;PINMMR36[25] select the N2HET1_LOOP_SYNC line.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span&gt;&lt;span&gt;&amp;gt;&amp;gt; You are right. PINMMR36[24] has no impact on the selection. You only need to set PINMMR36[25] to allow N2HET1_LOOP_SYNC to be used as ePWM1_SYNCI.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;question 2: Currently I am using N2HET1 and N2HET2 for different functions and already N2HET2 is select as master, so Is that possible to have both Master ?.&lt;/p&gt; &lt;p&gt;&amp;gt;&amp;gt; A master/slave configuration is only required if the timer modules need to all be synchronized (have the same time base). If the two N2HET modules operate independent of each other, then the master/slave configuration has no effect.&lt;/p&gt; &lt;p&gt;&amp;gt;&amp;gt; One feature of the N2HET module is that it forwards the EXT_LOOP_SYNC out on the N2HET1_LOOP_SYNC when the N2HET1 module is configured to be a slave. This will allow you to even use the N2HET2 to be the master time-base genarator.&lt;/p&gt; &lt;p&gt;question 3: would you clarify for about &amp;quot;2 VCLK4 Pulse Strength &amp;nbsp;block&amp;quot; ? if I have LR=128, HR=1, so LR clock would be = 128*VCLK2, so this means every 128*VCLK2 + 2 VCLK4, N2HET1 send trigger to ePWM ? what clock frequency VCLK4 block taking in here ?&lt;/p&gt; &lt;p&gt;&amp;gt;&amp;gt; The loop-resolution clock frequency is defined by the HR and LR prescalers. As per your configuration, the LR clock period is 128 * VCLK2 period. This LR clock as well as the LOOP_SYNC signal (output by the N2HET module) are not 50% duty cycle clock signals. Rather, there is a high-phase that is 1 VCLK2 period wide, followed by a low-phase that is 127 VCLK2 periods wide.&lt;/p&gt; &lt;p&gt;&amp;gt;&amp;gt; The ePWM modules operate using the VCLK4 clock domain. There is no dependency between VCLK2 and VCLK4 clock ratios, other than they are both divided down from the HCLK clock domain. This requires the design to stretch the N2HET1_LOOP_SYNC signal to at least 2 VCLK4 periods to ensure that the LOOP_SYNC signal is latched inside the ePWM1 module.&lt;/p&gt; &lt;p&gt;question 4: Is that possible to set trigger ePWM when counter value in N2HET1 reach without burning external pin ?&lt;/p&gt; &lt;p&gt;&amp;gt;&amp;gt; This is not supported, as the LOOP_SYNC signal is in phase with the LR clock. The N2HET1[16] is multiplexed with the ePWM1_SYNCI function, so whatever you output on N2HET1[16] can be used as a synchronization input by the ePWM1 without any external connections. This is another option that is available, but does require you to actually output the sync signal on the pin.&lt;/p&gt; &lt;p&gt;Regards,&lt;/p&gt; &lt;p&gt;Sunil&lt;/p&gt;</description></item><item><title>Forum Post: RE: What is the RM48L952 recommended ADC input voltage range?</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/267018/934155.aspx#934155</link><pubDate>Fri, 24 May 2013 18:25:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:934155</guid><dc:creator>Sunil Oak</dc:creator><description>&lt;p&gt;Jason,&lt;/p&gt; &lt;p&gt;The offset errors being discussed in the referred app note are in the order of +/- 60 counts and hence &lt;strong&gt;require frequent periodic calibration or trimming&lt;/strong&gt;! The Hercules MCUs have a max specified offset error of +/- 3 counts &lt;strong&gt;without any calibration&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;These errors are small enough to still have the full input voltage range available for the application.&lt;/p&gt; &lt;p&gt;Regards, Sunil&lt;/p&gt;</description></item><item><title>Forum Post: RE: eFuse Controller autoload error and ESM Module Group 3 Errors</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/209680/933881.aspx#933881</link><pubDate>Fri, 24 May 2013 13:50:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:933881</guid><dc:creator>KGreb</dc:creator><description>&lt;p&gt;Manoj,&lt;/p&gt; &lt;p&gt;Please reference SPNU499A, Chapter 32. &amp;nbsp;The information was not in earlier versions of the TRM.&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Regards,&lt;br /&gt;Karl&amp;nbsp;&lt;/p&gt;</description></item><item><title>Forum Post: RE: Where do I get Flash API Version 1.60 for F021?</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/266932/933807.aspx#933807</link><pubDate>Fri, 24 May 2013 12:19:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:933807</guid><dc:creator>John Hall</dc:creator><description>&lt;p&gt;Hello Pashan,&lt;/p&gt; &lt;p&gt;There is no F021 Flash API v1.60.&amp;nbsp; The version you are referencing in the screen shot is the version of the wrapper library used in Flash470 and UniFlash.&lt;/p&gt;</description></item><item><title>Forum Post: RE: The maximum error of MibADC on TMS570LS2125</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/263094/933776.aspx#933776</link><pubDate>Fri, 24 May 2013 11:34:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:933776</guid><dc:creator>Yusuke Nomoto</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt; &lt;p&gt;You said &amp;quot;The ADC total error specified in the datasheet is actually the error you can expect without any calibration.&amp;quot;&lt;br /&gt;So, I want to know the ADC total error after calibration by using either the 4-point or the mid-point calibration sequence.&lt;br /&gt;Could you determine?&lt;/p&gt; &lt;p&gt;Best Regards&lt;/p&gt; &lt;p&gt;Nomoto&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Forum Post: RE: Lauterbach TRACE32 peripheral files (.PER)</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/253929/933714.aspx#933714</link><pubDate>Fri, 24 May 2013 09:46:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:933714</guid><dc:creator>Jean-Marie Voisin</dc:creator><description>&lt;p&gt;Hello all,&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Any news from the TI representative ?&lt;/p&gt; &lt;p&gt;I can&amp;#39;t even see the CPU registers.&lt;/p&gt; &lt;p&gt;Could you please provide the .per files in a visible way?&lt;/p&gt; &lt;p&gt;Are they available somewhere?&lt;/p&gt; &lt;p&gt;Thanks in advance, JM&lt;/p&gt;</description></item><item><title>Forum Post: RE: DMA interrupts</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/266540/933706.aspx#933706</link><pubDate>Fri, 24 May 2013 09:27:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:933706</guid><dc:creator>Jack Andrews</dc:creator><description>&lt;p&gt;Thanks. &amp;nbsp;Also, for anyone else struggling, don&amp;#39;t forget to include&amp;nbsp;#pragma INTERRUPT(isrFucntion, IRQ) for all your ISRs! &amp;nbsp;Also, this document is useful for explaining how it all works:&lt;/p&gt; &lt;p&gt;&lt;a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0363g/BEIDDFBB.html"&gt;http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0363g/BEIDDFBB.html&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Forum Post: RE: Reading Analog Input Values</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/267054/933627.aspx#933627</link><pubDate>Fri, 24 May 2013 07:44:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:933627</guid><dc:creator>ishan maniar</dc:creator><description>&lt;p&gt;Hey,&amp;nbsp;&lt;/p&gt; &lt;p&gt;I want to get the value of the analog input, and then may b send that value over a CAN message,&amp;nbsp;&lt;/p&gt; &lt;p&gt;or toggle some output depending on the input value.&amp;nbsp;&lt;/p&gt; &lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt; &lt;p&gt;Ishan Maniar&lt;/p&gt;</description></item><item><title>Forum Post: RE: ESM Group 3 error</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/265410/933249.aspx#933249</link><pubDate>Thu, 23 May 2013 18:32:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:933249</guid><dc:creator>Charles Johnston</dc:creator><description>&lt;p&gt;Hi Sunil,&lt;/p&gt; &lt;p&gt;That was it.&amp;nbsp; The SW change we made just happened to cause a prefetch from an unused and uninitialized flash location.&amp;nbsp; I filled flash by editing sys_link.cmd:&lt;/p&gt; &lt;p align="LEFT"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLASH0&amp;nbsp; (RX) : origin=0x00000020 length=0x0017FFE0 fill=0xEEFF3300&lt;/p&gt; &lt;p align="LEFT"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLASH1&amp;nbsp; (RX) : origin=0x00180000 length=0x00180000 fill=0xEEFF3300&lt;/p&gt; &lt;p align="LEFT"&gt;The problem now is that a debug load takes 10 minutes instead of 15 seconds.&amp;nbsp; We will be disabling ECC for SW development unless you have a better solution.&lt;/p&gt; &lt;p align="LEFT"&gt;Thanks for your time.&lt;/p&gt; &lt;p align="LEFT"&gt;Charlie Johnston&lt;/p&gt; &lt;p align="LEFT"&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;span style="color:#3f7f5f;font-size:x-small;"&gt;&lt;span style="color:#3f7f5f;font-size:x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Forum Post: RE: TMS570 - Flashing of OTP with nowFlash fails</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/195790/933168.aspx#933168</link><pubDate>Thu, 23 May 2013 17:20:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:933168</guid><dc:creator>John Hall</dc:creator><description>&lt;p&gt;Hello Pashan,&lt;/p&gt; &lt;p&gt;These libraries will be updated after the release of v2.0.0 of the F021 Flash API.&amp;nbsp; I believe this means it will make it into the next version of UniFlash after v2.2.&lt;/p&gt;</description></item><item><title>Forum Post: RE: Starting up a new project with lwIP and TMS570</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/266619/933079.aspx#933079</link><pubDate>Thu, 23 May 2013 15:53:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:933079</guid><dc:creator>KARTHIKEYAN RAJAMANICKAM</dc:creator><description>&lt;p&gt;Hello Matteo,&lt;/p&gt; &lt;p&gt;Will forward your query to our&amp;nbsp;Ethernet&amp;nbsp;experts.&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Best Regards,&lt;/p&gt; &lt;p&gt;Karthik.&lt;/p&gt;</description></item><item><title>Forum Post: RE: mibspiREG3 FMT0 clock polarity inverts data not clock</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/266880/933068.aspx#933068</link><pubDate>Thu, 23 May 2013 15:45:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:933068</guid><dc:creator>KARTHIKEYAN RAJAMANICKAM</dc:creator><description>&lt;p&gt;No problems ! It happens all the time.&lt;/p&gt; &lt;p&gt;Will close this post.&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Best Regards,&lt;/p&gt; &lt;p&gt;Karthik.&lt;/p&gt;</description></item><item><title>Forum Post: RE: MibSPI rx DMA</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/264878/933048.aspx#933048</link><pubDate>Thu, 23 May 2013 15:27:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:933048</guid><dc:creator>Zhaohong Zhang</dc:creator><description>&lt;p&gt;Srikanta,&lt;/p&gt; &lt;p&gt;You need to check the CCS memory map configuration to make sure that Flash is set to address 0x0. When you load the code, you should see CCS message about the process such as &amp;#39;flash is being erased&amp;quot;.&lt;/p&gt; &lt;p&gt;Thanks and regards,&lt;/p&gt; &lt;p&gt;Zhaohong&lt;/p&gt;</description></item><item><title>Forum Post: RE: What is the Flash API Function call for Flash Compaction within F021 Flash API?</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/266581/932997.aspx#932997</link><pubDate>Thu, 23 May 2013 14:38:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:932997</guid><dc:creator>John Hall</dc:creator><description>&lt;p&gt;Hello Pashan,&lt;/p&gt; &lt;p&gt;Compaction could not be easily removed from the flow in Flash470 so it calls a null function that does not do anything when compaction is selected on F021 devices.&lt;/p&gt;</description></item><item><title>Forum Post: RE: Interrupts during flash write</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/188798/932918.aspx#932918</link><pubDate>Thu, 23 May 2013 13:41:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:932918</guid><dc:creator>KGreb</dc:creator><description>&lt;p&gt;Hi Tony,&lt;/p&gt; &lt;p&gt;The FIQ limitation is introduced by the ARM v7R architecture as implemented by ARM in Cortex R4. &amp;nbsp;FIQ is not part of hardware vectoring so that it can be directly accessed for use as an NMI with fastest possible response. &amp;nbsp;Typically, this is an advantage, but in this case it causes an issue. &amp;nbsp;As you noted, there are two alternatives already supported in the device architecture - swapping the SRAM and flash so that the SRAM is mapped at 0x0 to manage the vector table or use IRQs with vectoring instead of FIQ.&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Best Regards,&lt;br /&gt;Karl&amp;nbsp;&lt;/p&gt;</description></item><item><title>Forum Post: RE: Accessing DMA working registers - Current Transfer Count Register (CTCOUNT)</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/266109/932393.aspx#932393</link><pubDate>Wed, 22 May 2013 21:51:00 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:forumreply:932393</guid><dc:creator>J Joson</dc:creator><description>&lt;p&gt;&lt;span style="font-family:courier new,courier;"&gt;Thanks Sunil for the TIP.&amp;nbsp;When I have another active dma channnel, the working registers are updated upon arbitration. Thanks again.&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>