HI.
I'm developing a nRF52 custom board.
I use a Crypto chip, and I have to calculate and store the count value between the Rising Edges.
How should I do it?
Please reply.
HI.
I'm developing a nRF52 custom board.
I use a Crypto chip, and I have to calculate and store the count value between the Rising Edges.
How should I do it?
Please reply.
Oh...!
There are a lot of things I don't know.
Thank you for helping me. I'll test the part you've mentioned after I've corrected it.
Handler does not work after timers_init.
timer_cfg.mode = NRF_TIMER_MODE_TIMER
timer_cfg.mode = NRF_TIMER_MODE_LOW_POWER_COUNTER
Is it correct to use these two functions together?
Is it correct to use these two functions together?
No, not for the same timer instance.
I made some adjustment to the example, e.g. added Segger RTT logging. It will count the number of low to high pulses for the duration of 10sec(COUNT_READ_INTERVAL), print the number, then it will restart counting from 0. I tested this with SDK 15.3:
Attachment: gpiote_timer_ppi.zip