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

TWI nrf_frv_twi_tx without response

nrf52832 softdevice S132 SDK15 custom board

TWI instance

TX(nrf_drv_twi_tx) failed, slave device is AD5252 digital potentiometer, i want to send data to the potentiometer, it works when i combine gpiote and twi, it is a simple example.

but i combine twi with ble_app_uart and saadc,it doesn't work.

in sdk_config.h i enable NRFX_TWI_ENABLED and TWI_ENABLED, i use  twi0 instance  without easyDMA.

i also enable UART \ UARTE \GPIOTE \SAADC (triggered by PPI+timer) for other modules.

i can't get any twi error when i debug, SDA and SCL have already been pulled up.

twi register shows:

the STARTTX task is not triggered, and what event can trigger this task?

i doubt if the PPI channel twi use collides with other event/task ?

Any reply will be appreciated!!!

Parents Reply Children
No Data
Related