- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The document describing USBFS 2.70 no longer has an API entry for USBUART_Start
And the command
/* Start USBFS Operation with 3V operation */
USBUART_1_Start(0, USBUART_1_3V_OPERATION);
no longer compiles in Creator 3.0. USBUART_1_3V_OPERATION is not recognized.
WHY? HOW DO WE INITIALIZE A USBUART ANYMORE?
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not have any problems compiling
USBUART_Start(0,USBUART_5V_OPERATION);
I am using Creator 3.1, can you have the name mis-spelled? If all fails, post your complete project here: To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The current version of the USBFS (that contains the USBUART too) component is 2.8. Both data sheets for 2.80 and 2.70 contain the USBFS_Start() function, and both mention the USBFS_3V_OPERATION constant.
Did you try code completion - may its just a mis-spelling? Did you look at the generated code, it should have the constant?
- 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 have red (somwhere) that it might be necessary to open the component and close it normally to have the correct configuration generated. This did not only apply to USBFS, as far as I remember there have been other components, too.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bob,
That is really strange. When I search for USBUART_Start in the document (2.70), it comes up twice but neither one is a definition. Are we to assume USBFS_Start is the substitute?
You were right though. I needed the line to read USBUART_Start(0, USBUART_3V_OPERATION). The "_1" was not used in my case...
Thanks,
Bill