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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
Connected Cloud Challenge
  • Challenges & Projects
  • Design Challenges
  • Connected Cloud Challenge
  • More
  • Cancel
Connected Cloud Challenge
Blog Connected Cloud Fridge on AWS IoT #4 -Create Project in Modus Toolbox
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fyaocn
  • Date Created: 1 May 2020 1:39 PM Date Created
  • Views 508 views
  • Likes 3 likes
  • Comments 0 comments
  • connectedcloud
Related
Recommended

Connected Cloud Fridge on AWS IoT #4 -Create Project in Modus Toolbox

fyaocn
fyaocn
1 May 2020

Create Project in Modus Toolbox

1. After installation of Modus Toolbox, create project is easy. First, start Project-creator in Tool Directory, choose the sample project and import into project directory.

One important setting shall be made before build process, in system parameters,CY_TOOLS_PATHS

CY_TOOLS_PATHS
D:/ProgramData/ModusToolbox/tools_2.1

The backslash shall be revised accordingly in Linux-like format,or the Modus Toolbox still can not find the Tools.

2. Use PDM-PCM_Audio as example, the output shows full information in cluding memory allocation.

image

3. The whole UI is familiar to most Eclipse Users. Most Vendor-specific toolset use Eclipse, CCS for TI, MCUexpress IDE for NXT, and CubeIDE for ST. Therefore, quick-getting-start makes developers focus on the codes.

The code structure shall be includes LLD/HAL, BSP, and Middleware,

BSPs are aligned with Cypress kits; they provide files for basic device functionality. A BSP typically has a design.modus file that configures clocks and other board-specific capabilities. That file is used by the ModusToolbox configurators.A BSP uses low-level resources to add functionality.

Typically adds the following libraries,

  • core-lib – to implement return types and generic functionality useful for any kit
  • psoc6hal – to implement the ModusToolbox hardware abstraction layer
  • psoc6cm0p – to add a predefined CM0+ application
  • psoc6make – to implement the build system
  • capsense – if appropriate for the kit

Middleware includes libraries that implement an API for a particular domain, for example capacitive sensing or an http server. A middleware library may be created by Cypress or come from a third party. Cypress-created middleware may use the Cypress HAL or an LLD directly. In that case, you need the corresponding driver library or BSP for the middleware to work.

 

   imageimage

low-level driver (LLD) contains the API and source code to configure and use a feature or peripheral on a device. ModusToolbox provides the Peripheral Driver Library (PDL) for PSoC 6 devices, or the Wi-Fi Host Driver (WHD) for CYW43xx connectivity devices. Device-specific source code and header files are included in the LLD.

In addition, Cypress provides a hardware abstraction layer (HAL). You can use the HAL for most hardware configuration.

Such combination may perplex programmer. In all, they both need finally access r/w registers bitwise, there is no difference for free choice. But not mix, except one is really master all.

There is one library missing. The access to DSP core within CM4, this is important in deeplearning engine like CMSIS-NN. This would be challenge if tensorflow-lite shall be used.

  • Sign in to reply
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