This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Doubts about programming

Hello.
I'm having problems to programme the nRF52832.
I'm just connecting the VCC (+3,3V), GND and SWDIO and SWDCLK.
Is it ncessary to connect any other devices like capacitors or reset pins in the circuit?
My problem is with programming process... I'm not beeing able to receive a "success" from the programming process.

I'm using the devkit nRF52-DK as programmer.
So I connecting the VDD (3V) pin (of P1 connector) to VTG (of P20 connector).
I connecting the GND pin (of P1 connector) to GND detect (of P20 connector).
And connecting VDD, GND (of P1 connector) to my board application. And connectiong SWDIO and SWDCLK (of connector P1) to my board application too.

This process occour very well with other boards that I bought few weeks ago (that are full assempbled but now, I'm tryng to do it in my application and it don't occour.
I'm not sure if is necessary to fill (solder) the PCB with all components to able the programming... because I believe that is necessary just the nRF and power supply.


Thank you.

Parents
  • Hi

    There shouldn't be any differences between the E0 and E1 build codes, these codes are just to track which supplier has manufactured the IC. Are the E0 and E1 connected identically HW-wise? On your schematics, there are some components that are crossed out in red, does that mean that they're not mounted? If so, I think you should mount L2 and L3 in your DCDC circuit. Are R28 and R29 just shorted, as SWDIO and SWDCLK need to reach the chip somehow?

    Best regards,

    Simon

  • I've readed again the datasheet and I noted one thing that I haven't noted before...
    I placed these periferical componentes in the opossite side of PCB (the nRF is in the top and the capacitors are in the bottom).
    They are very close of respective nRF pins, but in opposite side of PCB.
    I believe that it can be the reason for can't program it...
    What do you think? Is it possible?

Reply Children
  • Anderson Silva said:
    I placed these periferical componentes in the opossite side of PCB (the nRF is in the top and the capacitors are in the bottom).

     I'm sorry, but what do you mean by this? Have you connected the components that should go on one side of the board to the other, I.E. left to right and vice versa? In that case, this is definitely the reason you're having trouble. If your nRF chip is on the wrong way, please try to desolder it and place it correctly.

    Best regards,

    Simon

  • No no....
    The electrical connections are OK. The componentes are placed in correct positions.
    But the datasheet recomends to put the nRF in the TOP face and the periferal componentes in the TOP too (as close as possible of respecitive pins).
    But I've done the layout with this periferal devices in the BOTTON face.... and the nRF are in the TOP face... So the electrical connections are right. There's no electrical mistakes... All the connections cross the PCB (by vias) from nRF (in the top) to perifecical devices (in the botoon)...
    I just haven't followed the recommended layout.
    But I'm not sure if it would cause the problem with programming procedure...
    Do you think that it could be the reason?

Related