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.
Using GPIOTE, can I set two pins to detect the Rising edge and start and end with PPI?
Yes, you have 8 GPIOTE channels, so that should not be an issue. Also note that PPI has a fork mechanism, so one event can trigger a second task.
After checking the code you attached, is it correct to check the Rising edge to Rising edge count with timer_handler_read?
For every transition from low to high, the counter is incremented, and can be read in timer_handler_read().
You might however need to change the argument in GPIOTE_CONFIG_IN_SENSE_LOTOHI() from false to true.
nrf_drv_gpiote_in_config_t in_config = GPIOTE_CONFIG_IN_SENSE_LOTOHI(true);
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.
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.