• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » Hercules™ Safety Microcontrollers » Hercules™ Safety Microcontrollers Forum » Couldn't match spna160a.zip sys_esm.h ESM Register with TRM
Share
Hercules™ Safety Microcontrollers
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Couldn't match spna160a.zip sys_esm.h ESM Register with TRM

This question is answered
Pashan None
Posted by Pashan None
on Jul 22 2012 17:45 PM
Genius3185 points

Hello Support,

In the spna106a.zip file containing sys_esm.h file shows the following REGISTER for ESM:

typedef volatile struct esmBase
{
    uint32_t EPENASET1;              /* 0x0000                 */
    uint32_t EPENACLR1;              /* 0x0004                 */
    uint32_t INTENASET1;             /* 0x0008                 */
    uint32_t INTENACLR1;             /* 0x000C                 */
    uint32_t INTLVLSET1;             /* 0x0010                 */
    uint32_t INTLVLCLR1;             /* 0x0014                 */
    uint32_t ESTATUS1[3U];           /* 0x0018, 0x001C, 0x0020 */
    uint32_t EPSTATUS;               /* 0x0024                 */
    uint32_t INTOFFH;                /* 0x0028                 */
    uint32_t INTOFFL;                /* 0x002C                 */
    uint32_t LTC;                    /* 0x0030                 */
    uint32_t LTCPRELOAD;             /* 0x0034                 */
    uint32_t KEY;                    /* 0x0038                 */
    uint32_t ESTATUS2EMU;            /* 0x003C                 */
    uint32_t EPENASET4;              /* 0x0040                 */
    uint32_t EPENACLR4;              /* 0x0044                 */
    uint32_t INTENASET4;             /* 0x0048                 */
    uint32_t INTENACLR4;             /* 0x004C                 */
    uint32_t INTLVLSET4;             /* 0x0050                 */
    uint32_t INTLVLCLR4;             /* 0x0054                 */
    uint32_t ESTATUS4[3U];           /* 0x0058, 0x005C, 0x0060 */
    uint32_t ESTATUS5EMU;            /* 0x0064                 */
} esmBASE_t;

I don't see the following Registers within spnu499.pdf TRM:

    uint32_t ESTATUS4[3U];           /* 0x0058, 0x005C, 0x0060 */
    uint32_t ESTATUS5EMU;            /* 0x0064                 */

Instead I see only one ESTATUS4 Register instead of 3 Registers.

Please help.

Thank you.

Regards

Pashan

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Sunil Oak
    Posted by Sunil Oak
    on Jul 22 2012 19:25 PM
    Expert8395 points

    The ESM can support up to 64 channels for each of groups 1, 2, and 3. The LS31x only uses more than 32 channels for group1. Therefore, the group2 and group3 status egisters only show 32 channels.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pashan None
    Posted by Pashan None
    on Jul 23 2012 09:00 AM
    Genius3185 points

    Hello Sunil,

    Confused still.

    Is there any Register at address 0x64 offset for ESM?

    Is there any Register at address 0x5C and 0x60 offset for ESM?

    Please answer below every question for my easy understanding.

    Thank you.

    Regards

    Pashan

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Abhishek Shankar
    Posted by Abhishek Shankar
    on Jul 23 2012 16:02 PM
    Verified Answer
    Verified by Pashan None
    Intellectual1300 points

    Hi Pashan

    If the Group x(x=0, 1, 2) has lesser than or equal to 32 channels, then one register is sufficient and the other register does not get implemented.

    So to answer your question none of the registers at 0x64, 0x60 and 0x5c DO NOT exist in case the corresponding group has lesser than or equal to 32 channels which is true in your case. Now since Group 1 has more than 32 channels the register viz. ESMSR4 is applicable.

    Hope this answers your question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use