- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to use USB block on Modus Toolbox for a PSoC6 device (CY8C6247BZI-D54).
In the Cypress USB Device Middleware Library I see that I need to initialize using the following function:
(void) Cy_USB_Dev_Init(USBFS0, &USBD_drvConfig, &USBD_drvContext,
&USBD_devices[0], &USBD_devConfig, &USBD_devContext);
but the structures
&USBD_drvConfig, &USBD_drvContext, &USBD_devContext
are not automatically generated in Modus Toolbox, as they are in PsoC Creator.
Can anyone help me with this or provide an example of USB simple usage implemented with Modus Toolbox?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please find the Code Example attached present for USB CDC class in Modus Toolbox 1.1.
In ModusToolbox 1.1 go to File>New>Modus ToolBox IDE Application >Choose Target Hardware (as CY8CKIT-062-WIFI-BT( CY8C6247BZI-D54)) > Import
Then Import the modus.mk file present inside USBCommDevice_mainapp folder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please find the Code Example attached present for USB CDC class in Modus Toolbox 1.1.
In ModusToolbox 1.1 go to File>New>Modus ToolBox IDE Application >Choose Target Hardware (as CY8CKIT-062-WIFI-BT( CY8C6247BZI-D54)) > Import
Then Import the modus.mk file present inside USBCommDevice_mainapp folder