Hello,
I have a problem through which unfortunately I'm not able to come across alone. I'm using nRF52832 with softdevice and UART central example from SDK14.2 (..\examples\ble_central\ble_app_uart_c\pca10040\s132\arm5_no_packs). Right now I'm trying to communicate my nordic device with LED display which is using ssd1306 libraries. Problem occures at the moment when I'm trying to use nrf_drv_twi_tx() function to transmit datas over TWI.
Of course I've set all necessary items in sdk_config file as below:
Below I've paste my twi init code:
Than in ssd1306_init_i2c() function:
And than in ssd1306_begin() function i call ssd1306_command() function which looks like this:
m_xfer_done is hendled in twi_hendler which looks like this:
Summarazing whole problem. All code stucks because NRF_DRV_TWI_EVT_DONE is never done actually. Something cosue that nrf_drv_twi_tx() function doesn't work properly and I can not figure out why. I'll be super grateful if someone could help me in solving this problem. So far I've been trying to use higher priority levels for example because I've read on this formu that it could cause some problems regarding to softdevice, but of course it didn't help.