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

Any special steps for first use - n52832

Is there anything special required to make a n52832 work the very first time the chip is programmed? Fuses to set, etc?

I'm new to nordic chips and I was handed a board with a working chip, I program it and it works fine. I was handed a new board, same design and same chip, and using the same code the chip programs fine but does not run, and draws no current. The low frequency clock crystal (32kHz) is not oscillating and since both pins of the crystal connect to the processor (XL1, XL2 pins) I'm trying to determine if it's due to a hardware problem, or a step that I missed programming the chip for its first use. I'm just flashing code to it using a Segger through uVision IDE.

Parents
  • What kind of software are you trying to program?

    If you are making a BLE application a common mistake is to forget to program the Softdevice before you program the application. If you forget this, your application won't run at all and you won't see any blinking LEDs or anything that would indicate that your device is somewhat working.

    A trick is to try e.g. the Blinky Example in our SDK. That example doesn't need a BLE stack and should work regardless of the state of your external clocks.

    Neither the LF nor the HF external crystal will start oscillating if you don't explicitly start them in software. There is an internal HF RC oscillator that will drive your CPU. The external HF crystal is generally only used when you are using the radio or require an accurate clock (because the external HF crystal draws more current than the internal RC oscillator).

    If none of this helps, I would suggest that you start looking for HW issues and maybe test a third device if you can.

  • OK that was not it. Got the original softdevice hex file and still the same error. Any tips would be greatly appreciated!

Reply Children
No Data
Related