element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
At The Core Design Challenge
  • Challenges & Projects
  • Design Challenges
  • At The Core Design Challenge
  • More
  • Cancel
At The Core Design Challenge
Forum PSoC6S4 Vector table of the cm0+ in flash.
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
At The Core Design Challenge requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 5 replies
  • Subscribers 49 subscribers
  • Views 785 views
  • Users 0 members are here
Related

PSoC6S4 Vector table of the cm0+ in flash.

Digimorf
Digimorf over 2 years ago

Has anyone tried to leave the vector table of the cm0+ in flash and configure an interrupt?

By default it is copied into SRAM. No doubt about it's faster to fetch the addresses of the IRQ handlers at runtime, but I need to check if the access to SRAM by both cores causes jitter in fetching the IRQ handlers. 

I tried to customize the startup file of the cm0+, but something must be inherited by the PDL such as the ram_table_address. 

Thanks 

  • Sign in to reply
  • Cancel

Top Replies

  • misaz
    misaz over 2 years ago +3
    Yes. SRAM access on different cores (or caused by DMA or otherm AHB masters) can influence interrupt latancy. I tested it on different PSoC for evaluating Profiler peripheral (which is unluckily not avalaible…
  • ljking
    ljking over 2 years ago +2
    There are actually several independent SRAM blocks and controllers inside the part (it is not just a single large SRAM). if you put the Video buffer in a different SRAM block from the vectors I suspect…
  • ljking
    ljking over 2 years ago in reply to Digimorf +1
    That was my thinking also, but I don't want to assume that is the correct answer. For an example, a single controller could control two 32k blocks. Until I get to see the answer formally documented, I…
Parents
  • Digimorf
    0 Digimorf over 2 years ago

    Thanks for the support. I think I will try first to leave vectors in the flash. I can't understand why this is not the standard configuration.

    Anyway the PDL documentation shows how to configure an interrupt to use the vector table in the flash, but that doesn't work for me. Probably I am missing something.

    https://infineon.github.io/mtb-pdl-cat1/pdl_api_reference_manual/html/group__group__sysint.html

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Digimorf
    0 Digimorf over 2 years ago

    Thanks for the support. I think I will try first to leave vectors in the flash. I can't understand why this is not the standard configuration.

    Anyway the PDL documentation shows how to configure an interrupt to use the vector table in the flash, but that doesn't work for me. Probably I am missing something.

    https://infineon.github.io/mtb-pdl-cat1/pdl_api_reference_manual/html/group__group__sysint.html

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube