- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Receiver,
In the past, we used PSoC Creator to design MCU peripheral. By using PSoC Creator GUI, we can easily initial MCU peripherals.
Now if we want to use PSoC 6 to enhanced the function. We need to use MTB to develop.
Do you have tools that can convert *.cysch file to MTB library file directly ?!
How to converter *.cysch to MTB ?!
Thank you so much.
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tim,
Some PSoC6s (sadly not all) are designable in PSoC Creator.
Converting a Creator design to ModusToolbox:
- The 'C' code in .c and ..h files are mostly (>90%) portable. [Good News!!!]
- TopDesign -- sadly no transfer. You can use the PDL and HAL libraries where you can configure the fixed resources ALL in code. You can use the "Device Configurator" as a startup configuration instead of the PDL/HAL method.
- UDB components in TopDesign. No Infineon tool. If your PSoC6 has UDBs, you can configure them MANUALLY by writing to the registers. Not for the 'faint of heart'. There is a user-designed tool from Rolf Nooteboom. Take a look at this link: How-do-I-create-a-custom-UDB-solution-in-the-Modus-toolbox
Personally, if your design using a PSoC6 can be implemented in Creator, I see no advantage to ModusToolbox.
However many of the newer PSoC6s, newer PSoC4s and WiFi product can only use ModusToolbox as an IDE.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tim,
Some PSoC6s (sadly not all) are designable in PSoC Creator.
Converting a Creator design to ModusToolbox:
- The 'C' code in .c and ..h files are mostly (>90%) portable. [Good News!!!]
- TopDesign -- sadly no transfer. You can use the PDL and HAL libraries where you can configure the fixed resources ALL in code. You can use the "Device Configurator" as a startup configuration instead of the PDL/HAL method.
- UDB components in TopDesign. No Infineon tool. If your PSoC6 has UDBs, you can configure them MANUALLY by writing to the registers. Not for the 'faint of heart'. There is a user-designed tool from Rolf Nooteboom. Take a look at this link: How-do-I-create-a-custom-UDB-solution-in-the-Modus-toolbox
Personally, if your design using a PSoC6 can be implemented in Creator, I see no advantage to ModusToolbox.
However many of the newer PSoC6s, newer PSoC4s and WiFi product can only use ModusToolbox as an IDE.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tim,
I spend 90% of my time in PSoC Creator. Therefore I'm not an expert on MTB.
Is the PSoC6 part you want to use available under Creator? If so, I recommend sticking with Creator.
If not, you only other chose is MTB.
Here's my advice until someone with more MTB experience can weigh in.
I2S
The I2S is a fixed resource. Therefore you can allocate in Device Configurator ... or ... you can allocate it using PDL/HAL API calls. Note: Whereas other PSoCs provided great flexibility of GPIO assignment for peripherals such as the I2S, the PSoC6 architecture is generally more limited.
I know of at least one example project for MTB using the I2S.
Logic Elements
The logic elements such as the 2 DFFs, not gate and the output mux MIGHT be able to be implemented using SmartIO. If you can change the logic to avoid the SCLK inversion (I realize you're trying to clock on both edges) then a SmartIO implementation is highly possible.
SmartIOs can be assigned clocked logic in the LUTs but I don't think it can negotiate both edges of the input clock.
DMA
Although I've never used the DMA resources on the PSoC6, this is definitely doable. Since I2S clocking is usually very fast and "real-time", it needs DMA.
The same example projects that use the I2S most likely will include DMA operation.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ~ Len,
It's ok. I understand your point. Very appreciated your feedback.
BTW, would you mind introduce your colleague who is familiar with MTB to me ?!
Thank you so so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tim,
I'm the sole person that works at CONSULTRON.
I was referring to others who participate in this forum.
Now if you want to attract more expert "eyes" on your topic there are other forums that might consider placing your question to:
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Len,
ok ok, I will try to use these resources.
Thank you for your valuable information.