Hi:
use nrf54l15 and ncs v3.1.1.
The CS-PIN remained low during measurement.
I am unable to control CS PIN through DPPI.
Here is the source code:
Hi:
use nrf54l15 and ncs v3.1.1.
The CS-PIN remained low during measurement.
I am unable to control CS PIN through DPPI.
Here is the source code:
Hello,
I don't immediately see what is wrong with the CS handling in your code, but is there a reason for not letting the SPI peripheral control the CS signal as I did in my sample app here: https://github.com/vidarbe/ncs-samples/tree/add_dppi_version/sensor_hub_with_dppi_lm20?
Best regards,
Vidar
EDIT: a coworker pointed out that the GPIOTE task config has the polarity set to NRF_GPIOTE_POLARITY_NONE. This should be sett to NRF_GPIOTE_POLARITY_TOGGLE if you want the signal to be asserted and de-asserted by a single event.
Hello,
I don't immediately see what is wrong with the CS handling in your code, but is there a reason for not letting the SPI peripheral control the CS signal as I did in my sample app here: https://github.com/vidarbe/ncs-samples/tree/add_dppi_version/sensor_hub_with_dppi_lm20?
Best regards,
Vidar
EDIT: a coworker pointed out that the GPIOTE task config has the polarity set to NRF_GPIOTE_POLARITY_NONE. This should be sett to NRF_GPIOTE_POLARITY_TOGGLE if you want the signal to be asserted and de-asserted by a single event.