Adding User Module to Designer 5 Part 2
Over the weekend I took a User Module (Adpcm) I wrote and installed in Designer 4.x and successfully moved it to Designer 5.
First Adpcm is an adaptive differential pulse code modulator. It compresses 16 bit audio to 4 bits and back again. Compress in 55 instructions, decompresses in 30.
Step1
I took the "Adpcm" folder and placed it in:
C:\Program Files\Cypress\Common\CypressSemiDeviceEditor\Data\Stdum.
Step 2 I opened: (with wordpad)
C:\Program Files\Cypress\Common\CypressSemiCMX
\Maker Application Catalog\Channels\UM\ChannelGen.xml
And added the following code:
<CMX_CHANNEL_GENERATION_SPEC NAME="Adpcm" UM_PATH="Stdum/Adpcm/Adpcm.xml" UM_NAME="Adpcm" DRIVER_ICON=""> <CMX_MULTI_CHANNEL_LIST> </CMX_MULTI_CHANNEL_LIST> </CMX_CHANNEL_GENERATION_SPEC>
It is fairly apparent where to put it.
Step 3
Open a Designer Project and click on
Tools -> Refresh Driver/User Module Manifest
Close Project.
Step 4 Open another Designer Project and the User Module is available.
Questions?
Sunday, December 28 at 23:40 (GMT -8:00)
Well, I have a semi off-topic question, but here goes.
Is the Adpcm UM available for download?
I've searched this site and Cypress's site for it and have not found it.
I also noticed that in the latest revision of PSoC Designer that the One-Wire and OneShot UM's were included by default, clearly a great step forward!
Walt
Wednesday, June 3 at 23:47 (GMT -8:00)
Hi
I am trying to make a customized user module for PD5 using the LCD UM as a template. I find that there are two "CMX_CHANNEL_GENERATION_SPEC" tags for this UM. One is close to the start of the ChannelGen.xml file, and has the "LIB_NAME" attribute as in
while the other is somewhere near the middle:
whats the difference?
I am a relative newbie to the PSOC innards.
Thank you for your time and patience.
Wednesday, June 3 at 23:53 (GMT -8:00)
!!!!
Sorry, my last post didnt display my tags, natch!!
I show them here in text:
CMX_CHANNEL_GENERATION_SPEC NAME="LCD" UM_PATH="psoc_0100/LCD/LCD.xml" UM_NAME="LCD" DRIVER_ICON="" LIB_NAME="PSOC_0100"
and
CMX_CHANNEL_GENERATION_SPEC NAME="LCD" UM_PATH="Stdum/LCD/LCD.xml" UM_NAME="LCD" DRIVER_ICON=""
Sunday, August 9 at 20:21 (GMT -8:00)
Dave, can I have access to this ADPCM user module, I need it for my PSoC project now, will save me some time and trouble. Thanks, Ron