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

    These settings seem correct. What were the last changes you made to your application code? There must have been something that causes the devices to not work with the power supply. Also, what exactly is this power supply, and how do you connect it to the custom boards? Are you able to power your DK with this power supply using the External supply pins on header P21?

    Best regards,

    Simon

Reply
  • Hi

    These settings seem correct. What were the last changes you made to your application code? There must have been something that causes the devices to not work with the power supply. Also, what exactly is this power supply, and how do you connect it to the custom boards? Are you able to power your DK with this power supply using the External supply pins on header P21?

    Best regards,

    Simon

Children
  • Hi 

    I used this power supply.

     

    I tested 52DK board. (sdk v15.3 ble_app_blink_pca_s132)

    after Debug -> It is works.

    and dk board turn off and connect p21 to power supply. -> it is works.

    but my code .... I tested 52Dk board. 

    after Debug -> it is works.

    board turn off and connect p21 to power supply -> it is not working

     I think my code is wrong...

    The last changes code is data structure.

    It doesn't mean much.

    typedef
    {
    int16_t accel_x;
    int16_t accel_y;
    int16_t accel_z;
    int16_t gyro_x;
    int16_t gyro_y;
    int16_t gyro_z;

    }sum_value_t


    -> change

    typedef
    {
    int16_t gyro_z;
    int16_t gyro_y;
    int16_t gyro_x;
    int16_t accel_z;
    int16_t accel_y;
    int16_t accel_x;
    }sum_value_t

    I connected custom board -> 

    ps. I disconnected with computer to Dk board for photo.

    Best regard,

    Han

Related