nRF52833: using USB_CDC_ACM Example from SDK17.1.0 , but data cannot be received from the usb serial port

Hi,

Now I'm going to use 52833 USB_CDC_ACM  , but there is no suitable type in SDK17.1.0. It's just have pca10056 .So I port to 52833 based on the 52840_pca10056 routines. 

And I download the hex into the 52833. At present, the computer can recognize this USB serial port.

When I open the serial port assistant, there is no response when I want to send or receive data. I don't know where is the problem.

The serial port appears to be recognized, but is not programmatically manipulated.

When I debug, I go to the following place

If I comment two lines , and I wrote the UsbCdcWrite function.

That my serial port assistant will receive some data,but they are all 0

So I would like to know if there is anything I should pay attention to in porting routines? how to solve such problems?how to get me to port the program correctly?

Regards,
Wei

Related