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
  • Thank you everyone for the help, I solved the problem. An example from the SDK did not work as-is, so we really started looking at the hardware. The MISO line was wired to a different processor pin, and this was enough to make the UART initialization fail, which stopped everything including the crystals.

    Error 4 comes from m_error_data.err_code in app_error_save_and_stop() in app_error.c. In nrf_error.h it translatest to NRF_ERROR_NO_MEM. It was also throwing NRF_ERROR_DATA_SIZE (0x0c) more often. Correcting the pin assignment in my board.h file solved everything, no more faults and the crystals are oscillating. Thanks again for the help!

Reply
  • Thank you everyone for the help, I solved the problem. An example from the SDK did not work as-is, so we really started looking at the hardware. The MISO line was wired to a different processor pin, and this was enough to make the UART initialization fail, which stopped everything including the crystals.

    Error 4 comes from m_error_data.err_code in app_error_save_and_stop() in app_error.c. In nrf_error.h it translatest to NRF_ERROR_NO_MEM. It was also throwing NRF_ERROR_DATA_SIZE (0x0c) more often. Correcting the pin assignment in my board.h file solved everything, no more faults and the crystals are oscillating. Thanks again for the help!

Children
No Data
Related