- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
i am using a DDS function generator AD9850 Module , it work fine with the code but when i try to make a
Custom Component i try to use an API as the component in the psoc like the lcd for example
i use only two functions AD9850 start and AD9850 send frequency but i had this error
Build error: undefined reference to `AD9850_1_Start'
Build error: undefined reference to `AD9850_1_sendFrequency'
attached is the component project
thanks in advanced
David;
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As an alternative to external DDS chip (AD9850) you may consider using a DDS24 or DDS32 custom community components
http://www.cypress.com/forum/psoc-community-components/dds24-24-bit-dds-...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your generated file names are wrong, the component name is appended once more to the generated .c and .h files. Afaik this is a setting explained in the "Component Author Guide".
Bob
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i had a question here
did the video tutorial for the component creation dropped something should be done
because in the tutorial there wasn't any coding
thanks
David;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did it too, but I got different errors.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
David,
you should add a prefix `$INSTANCE_NAME`_ on every procedure name, pin name, and global variable inside component, e.g.
void `$INSTANCE_NAME`_Start(void)
instead of
void Start(void)
I made corrections to make project compile (attached), but apparently the project is incomplete, so more work needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As an alternative to external DDS chip (AD9850) you may consider using a DDS24 or DDS32 custom community components
http://www.cypress.com/forum/psoc-community-components/dds24-24-bit-dds-...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Odissey
thanks for your support i really appreciate it
`$INSTANCE_NAME`_ on every procedure name, pin name, and global variable is what exactly make it didn't work with me , now problem solved it wok just fine
thanks again 🙂