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

After power turn off and on. Chip is not working

Hi 

I made a custom board. (using nrRF52832) 

At frist, I tested my code on 52DK(PCCA10040). It is worked.

And then I tested my code on custom board.
I changed my code in <sdk_config.h>.
Because my custom board haven`t optional 32kHz crystal.

// <h> Clock - SoftDevice clock configuration
// <o> NRF_SDH_CLOCK_LF_SRC - SoftDevice clock source.


#define NRF_SDH_CLOCK_LF_SRC 0

#define NRF_SDH_CLOCK_LF_RC_CTIV 16

#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2

#define NRF_SDH_CLOCK_LF_XTAL_ACCURACY 7

I used my custom board well.
(mpu6050 sensor(accel,gyro) + BLE)

But, Now my board is not working.

When <Build and Run> click in SES, it is works.
Sending for sensor value to BLE.

After <Build and Run>, I disconnected the j-link. and I connected power supply to 3V.
But It not works. Why?

(When connected to a power supply, the current shows that 0.008A is being applied. But Bluetooth is not advertised.

I found that there were a lot of problems with custom board such as Uart or Log. Therefore, they were all disabled.)

Let me know what part of what I'm missing.

Thank you for reading.

ps.  I used download to 52Dk board. 

*Additional information*

I have a another computer(laptop).
and I have saved code in the laptop before problem.

So, I try the download for my custom board. but, problem is the same.

When I Debug or <Build and run>, It is sending the value to BLE.

but, When a custom boards turn off and on, it is not works.(switch on/off)

I think.. maybe sensor has broken?

so, I have 15 custom board. (spare)
I try other.

but, still not working.

Why?

Even....

Custom boards that previously downloaded code work well when powered on.

However, when I put the code back in, it doesn't work the same way.

I don`t know what I wrong ....

please help me. 

Parents
  • Hi Han

    Thank you, the advertising_init() and advertising_start() functions were what I wanted to see. I don't see any issues with your advertising, so that's not it. Could it be that the reason it works while you debug is that the DK is the board that is advertising, and not the module? Can you check if you see the advertisement when powering the board and not the module? It should be easy to determine if the DK is the one advertising by checking the RSSI value of it in the nRFConnect app when you bring it closer to/further away from the phone.

    Best regards,

    Simon

  • Hi Simon.

    I tested the board.

    I turn off the board.

    The nRF connect on my cell phone has disappeared advertising.

     I don't think it's a matter of communication.

    Maybe...

    If you happen to solve the problem, I'll leave a reply.

    First. Let me check the layout again to see if there are any problems with the hardware.

    Of course, it's more likely that there's no problem with the circuit. Disappointed

    Have you ever thought about any other possibilities?

    Best Regards,

    Han

Reply
  • Hi Simon.

    I tested the board.

    I turn off the board.

    The nRF connect on my cell phone has disappeared advertising.

     I don't think it's a matter of communication.

    Maybe...

    If you happen to solve the problem, I'll leave a reply.

    First. Let me check the layout again to see if there are any problems with the hardware.

    Of course, it's more likely that there's no problem with the circuit. Disappointed

    Have you ever thought about any other possibilities?

    Best Regards,

    Han

Children
Related