Skip to content
Commit 71b25a12 authored by Florian Vaussard's avatar Florian Vaussard Committed by Kumar Gala
Browse files

spim_nrf52: Prevent glitch on CS line in spim_nrf52_init()



The output state of the CS GPIO must be configured with a pull-up while
setting the GPIO as output. Otherwise the GPIO will be forced low,
before being set high by the call to spim_nrf52_csn(). This results in a
glitch of 1us on the CS line, which may confuse some ICs in the worst
case.

Signed-off-by: default avatarFlorian Vaussard <florian.vaussard@gmail.com>
parent 9e0d1e42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment