Announcement

Collapse
No announcement yet.

PC does not recognize the USB serial port after some days

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    robertferanec
    Administrator

  • robertferanec
    replied
    do you think that place vias next to +VCC and GND decoupling capacitors is the best way to connect them?
    - in very high density designs, I place VIAs where the space is and everything is working ok. Of course there are better and worse ways to place VIAs to connect decoupling capacitors, but I do not think in your board as you have it on the picture you need to worry about that.

    I am testing my board with 2 ferrite core on USB cable and 2 on my AC / DC External Plug In Adaptor 12V and seems to be ok now.
    - That is a great news!

    Leave a comment:


  • A_neves
    replied
    Originally posted by robertferanec View Post
    - I don't think that will cause problems in your design.
    To me, an all plane to current supply seems to be the best solution. I think that on this way we make a strong connection. But on that post, seems to be the opposite.
    ​But
    robertferanec
    Administrator
    robertferanec, do you think that place vias next to +VCC and GND decoupling capacitors is the best way to connect them?
    I am testing my board with 2 ferrite core on USB cable and 2 on my AC / DC External Plug In Adaptor 12V and seems to be ok now.

    Thank you!

    Leave a comment:

  • robertferanec
    Administrator

  • robertferanec
    replied
    "Something like this picture. When we place a via on +Vcc and GND."
    - I don't think that will cause problems in your design.

    Leave a comment:

  • anovickis
    Member

  • anovickis
    replied
    Every commercial USB to serial dongle I've ever used on any computer has this problem. It requires an occasional reset by power cycle

    However, I'm pretty sure the problem is actually partially in the windows usb stack

    for example when I get a device in a state it's not being enumerated - I can usually load a VMWARE VM instance and connect the device to that, release, and then it's OK
    but not always!








    Leave a comment:


  • A_neves
    replied
    Originally posted by robertferanec View Post
    What exactly you are worried about? Please, could you be more specific?
    Something like this picture. When we place a via on +Vcc and GND.


    Originally posted by robertferanec View Post
    PSS: Maybe your layout is not perfect (I could immediately see it based on USB tracks), but it is hard to tell from the pictures what could be done better. However, from screenshots of your layout, I believe you are using at least 4 layers and one is solid GND - that could help a lot. And yes, bad layout can cause freezing and crashing and resetting - but it's not only about layout, but also about schematic (e.g. correct filtering), it can be about enclosure, grounding, other devices and cables connected to your board - it may be about the whole system what you have connected together.
    Yes, I am using 4 layers. I am using Kicad to design the board. I can send you an email with the project if you could have a look more precisely.

    Thank you Robert!
    Attached Files

    Leave a comment:

  • robertferanec
    Administrator

  • robertferanec
    replied
    What exactly you are worried about? Please, could you be more specific?

    PS: Placement and routing of the decoupling capacitors on the pictures from stackexchange question could be better. Also, the tracks are long and VIAs are not placed in best positions.

    PSS: Maybe your layout is not perfect (I could immediately see it based on USB tracks), but it is hard to tell from the pictures what could be done better. However, from screenshots of your layout, I believe you are using at least 4 layers and one is solid GND - that could help a lot. And yes, bad layout can cause freezing and crashing and resetting - but it's not only about layout, but also about schematic (e.g. correct filtering), it can be about enclosure, grounding, other devices and cables connected to your board - it may be about the whole system what you have connected together.

    Leave a comment:


  • A_neves
    replied
    robertferanec
    Administrator
    robertferanec I saw this post: https://electronics.stackexchange.co...ut/15143#15143
    Since I do your Learn Altium Essentials, I use a plane for GND and VCC and use vias to connect decoupling capacitors to have strong connections to the planes.
    But this post says that this practice could bring EMI problems.
    What do you think about what he says? Could this be a source of noise that makes my FTDI stop working properly?

    ​Thank you!
    I guess I've been somewhat ignorant when it comes to the finer details of pcb layout. Lately I've read a couple of books that try their best to lead me on the straight and narrow. Here is a couple of

    Leave a comment:

  • robertferanec
    Administrator

  • robertferanec
    replied
    "do you think that the ferrite connected between D+, D- ESD varistors and GND could give me some problems"
    - once we have connected ferrite between analogue and digital ground and it caused a lot of problems. ESD was not discharging through the ferrite, but through the chip instead (and ESD always damaged the chip). I am not saying it would be the same in this case, but I normally do not see ferrite on ESD protection.

    I normally use what is in the reference schematic and I assume they tested the boards (some boards use varistors, some use ESD diodes). However, as
    Paul van Avesaath
    Senior Member
    Paul van Avesaath is saying, in most cases I go for ESD diodes (or special chips with ESD diodes which specifically say they can protect the interface I need)

    Leave a comment:


  • A_neves
    replied
    Originally posted by Paul van Avesaath View Post
    no not wrong, but the diode is like an industry standard.. but i have never seen a bead in series like this.. I would suggest to replace that with a 0 Ohm resistor . but maybe someone else can figure out a reason why it should be in there..
    Ok, I will test with 0 ohm resistor.
    Yes, it is strange. I based on arduino uno schematics because it is a very used board.
    But I want to know why
    robertferanec
    Administrator
    robertferanec did not use ferrite on 28 pins project like arduino uno. He should have a good reason.

    Leave a comment:

  • Paul van Avesaath
    Senior Member

  • Paul van Avesaath
    replied
    no not wrong, but the diode is like an industry standard.. but i have never seen a bead in series like this.. I would suggest to replace that with a 0 Ohm resistor . but maybe someone else can figure out a reason why it should be in there..

    Leave a comment:


  • A_neves
    replied
    Originally posted by Paul van Avesaath View Post
    why would you add esd varistors? i would go with tvs diodes in this case.. also no bead to gnd..
    I want to have ESD protection on my circuit. So I based on arduino schematic.
    I also read that varistors are more flexible, because can support more discharge voltage and do not have working voltage rate. The cons is the price.
    Is this information wrong?

    Thank you!

    Leave a comment:

  • Paul van Avesaath
    Senior Member

  • Paul van Avesaath
    replied
    why would you add esd varistors? i would go with tvs diodes in this case.. also no bead to gnd..

    Leave a comment:


  • A_neves
    replied
    Ok Robert, I will do that.

    Another doubt that I have, do you think that the ferrite connected between D+, D- ESD varistors and GND could give me some problems?
    On your 28 pins project You do not have that component, but on arduino uno schematic they put the ferrite on there.

    Thank you!

    Leave a comment:

  • robertferanec
    Administrator

  • robertferanec
    replied
    I would try to solve the reset problem first - that may improve situation (even if there is "bad event", once the reset is fixed, your board should recover and connect back - should not stay stuck). Then I would focus on filtering - maybe trying to find the path how noise is coming into the board.

    PS: Problem could be also with the USB on PC (or in the board which is connected to your board).
    PSS: Measure all the voltages - from reset through power on the chip pins of your board. Be sure all the values are within tolerance (as defined in datasheets).

    Leave a comment:


  • A_neves
    replied
    Originally posted by robertferanec View Post
    - ah, that is not visible from the schematic. So how do you power it up - separate adapter? Is it a switching power adapter or with transformer? That is important.
    I did not solder the fuse on +VUSB.
    I am using a DC/DC (PTH08T261W) to convert 12VDC from transformer to 5VDC.
    I am also controlling a 12VDC solenoid. This is the schematic of this connections


    Originally posted by robertferanec View Post
    PS: there is no LC filter on USB data
    Do you think this could be a good example?
    https://www.digikey.com/Web%20Export...plications.pdf


    Leave a comment:

Working...
X