Arduino Due Crazy Problem?!?!

Hello, arduino forum. I have an abnormal problem.

If i connect to pc with Native Port, an abnormal (high frequency) sound coming from Due, like a high frequency beep...

Sometimes the sound stops, and starts coming again if i connect to pc with Programming Port...

Normally Arduino works correctly but i'm afraid of there is a problem... How can i fix this? Is my Arduino broken?

Is that normal?

Please help ;(

There is only two real differences between the two ports.

1: the D+ and D- go directly to the Sam3 processor. This should not cause any problems whatsoever.

2: The UOTG support. This support allows the due to supply power to the USB port, instead of drawing power from the port. This is the most likely culprit. If the computer is trying to supply voltage to the USB port along with the due trying to supply voltage to the port, you could get a high frequency oscillation.

The First thing I would do, is to change the USB cable. There should Not be a difference between either port, using a standard USB cable. And if it was a problem with the board, it would make a noise regardless of which port the cable is connected to.

promacjoe:
There is only two real differences between the two ports.

1: the D+ and D- go directly to the Sam3 processor. This should not cause any problems whatsoever.

2: The UOTG support. This support allows the due to supply power to the USB port, instead of drawing power from the port. This is the most likely culprit. If the computer is trying to supply voltage to the USB port along with the due trying to supply voltage to the port, you could get a high frequency oscillation.

The First thing I would do, is to change the USB cable. There should Not be a difference between either port, using a standard USB cable. And if it was a problem with the board, it would make a noise regardless of which port the cable is connected to.

I used different cable and problem is solved, thanks. After this, tried another cables, and still there is no noise. And i tried with an external power source, so not usb, and still there is no noise... But if i insert the first (broken) cable, the sound starts caming again. So, you are right, the problem is in the first USB cable, not in the Board...

And what could make this noise when i insert this USB cable? It is really interesting, and i'm curious about it. Which part can make this high frequency beep or noise?

I'm glad everything is okay now.

Basically it's trying to work as an UOTG cable. It's trying to turn on the 5V, going to the USB port. Obviously this can cause an audible oscillation in the circuit. Any audible oscillation within a circuit, can eventually damage it.

In order to tell exactly what the cable is doing, you would have to find "2" breakout boards that the cable can plug into. This would allow you to probe the cable, To find out exactly what is going on with it.

if it were me, I would just mark the cable as bad, along with the symptoms, and throw it in my junk box.