Hi All, I'm trying without much success to use the S3 in USB host mode. I'm measuring the USB+ and USB- on the dev board and have the attached project running. I'm trying to see any data present on the lines with calls to ux_host_class_cdc_acm_write. I've included ux and ux_host_class_cdc_acm in the components section of the Synergy Configuration. I think I've included the correct head files in the USB thread. Apart from using the USB Mass Storage project as a guide, I'm not sure where to begin writing the application. The only resources I have to go off are the USB mass storage host, which I am using as an example, and the USBX guide. I haven't written a USBX application before, so please excuse me if I am asking inapporpriate questions. I make calls to the following functions in this order: ux_system_initialize() ux_host_stack_initialize() ux_host_stack_class_register(_ux_system_host_class_cdc_acm_name, _ux_host_class_cdc_acm_entry); ux_host_stack_hcd_register(); After initializing and registering I am making calls to ux_host_stack_class_get(_ux_system_host_class_cdc_acm_name, &class) While () ux_host_stack_class_instance_get(class, 0, (void **) &cdc_acm); } The second one returns 91 in a loop. Does anyone know why? Thanks for your help.
↧