Hi,
I've an HardFault, the program crash to the HardFault service routine at this row of the twi_hw_master.c:
--> NRF_PPI->CH[0].EEP = (uint32_t)&NRF_TWI1->EVENTS_BB;
This appens after the call twi_master_init();
The same code runs well in the DK board PCA10004 and the problem happens in my custom board, the softdevice firmware is the same.
If I disable just the twi all the rest works fine. I'm looking for additional informations because I have not test pads for test the SDA and SCL signals, so is not simple to find out what happen.
I was reading the nRF51 pdf but seems that there are not usefull information.
Thanks for your attention.