Enable USB Virtual Com Port with Beestack and KW24

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enable USB Virtual Com Port with Beestack and KW24

902 Views
alejandrovelez
Contributor III

Good Afternoon:

I am trying to configure the virtual com port application with the Beestack and the KW24 Processor with no results.

I initialize these modules in the BeeAppInit.c file:

USB_Init();

  (void)CDC_ModuleInit();

and define the variable:

#ifndef gVirtualCOMPort_d

  #define gVirtualCOMPort_d    TRUE

#endif

in CDC_Interface.h file

then I try to send a string to the virtual com with the function:

bool_t CDC_Transmit(unsigned char const *pBuf, index_t bufLen, void (*pfCallBack)(unsigned char const *pBuf))

the application runs, but when I connect the device to the computer the system doesn't recognize it, and I get this error from device manager:

pastedImage_3.png

How could I solve this problem?

or there are an example with USB-CDC in BeeStack?

I'm working with BeeKit and IAR Embedded Workbench

Thanks!

0 Kudos
4 Replies

544 Views
isaacavila
NXP Employee
NXP Employee

Hello Alejandro,

Has your issue been resolved?

Best Regards,

Isaac

0 Kudos

544 Views
alejandrovelez
Contributor III

Hi Isaac,

Yes, I solved it, it seems that the problem was my board,

thank you

BR.

0 Kudos

544 Views
fabricetocci
Contributor III

Hi Alejandro,

I had same problem and succeeded to resolve.

You need to install Windows driver for Freescale Kinetis product.

You can find the cdc.inf file enclosed in the followinf thread.

Kinetis USB CDC driver supported on Windows8, Windows10

in

Erich Styger  reply

Regards.

Fabrice.

0 Kudos

544 Views
alejandrovelez
Contributor III

Hi Fabrice

Thanks for the help, it seems that my board was the problem too, I change it and it works

BR

0 Kudos