application code is not working when using dfu

Hi.

I have a problem using dfu bootloader.

  • SDK : 17.1.0
  • SD : 7.2.0
  • device : nrf52840
  • dfu code : secure bootloader pca10056_s140_ble 
  • uECC : 13.0.0

I implemented application code with peripheral sensor.

I used twi and spi in application code.

Everything worked without a problem when running application code only.

But, after using bootloader, the application code works strangely.

  • BLE function is working
    • advertising, connection is working well
  • twi is not working 
    • I'm using TWI for led driver sensor. The led driver can't driving leds when using bootloader.
  • spi is not working  
    • I'm using SPI for imu sensor. I can't read the imu data in my custom characteristic.
    • And,current consumption on my board is high. (about 10mA : I think it stuck in a spi communication loop in my code)

I think all function except BLE are not working.

What should i check in such cases?

Regards,

Youngjun.

Parents Reply Children
No Data
Related