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

nRF51822 - Is it possible to use hardware flowcontrol half a way?

That means, that the nRF51822 is always allowed to send, but on it's receiving side, he could slow down the opponent side by using it's Rts line? I now, I could archive that by just fixing the nRF51822's Cts input to Gnd. The question is, if it is also possible at software level (without using a physical Cts pin).

Parents
  • It seems it should work to just leave the PSELCTS register unset, which the nRF51822 will interpret as CTS always asserted, meaning it assumes it's always allowed to set. However, this is somewhat unspecified, so I can't right now guarantee that this will always be possible, on all future variants of the nRF51822, so please make sure you test this explicitly on all revisions you'll use for production.

    Another option could be to configure CTS to use P0.31. This is a GPIO that isn't actually bound to a pin on the QFN48 package, so if you configure the CTS to use this pin and configure the pin to be pulled down, you should achieve the same.

Reply
  • It seems it should work to just leave the PSELCTS register unset, which the nRF51822 will interpret as CTS always asserted, meaning it assumes it's always allowed to set. However, this is somewhat unspecified, so I can't right now guarantee that this will always be possible, on all future variants of the nRF51822, so please make sure you test this explicitly on all revisions you'll use for production.

    Another option could be to configure CTS to use P0.31. This is a GPIO that isn't actually bound to a pin on the QFN48 package, so if you configure the CTS to use this pin and configure the pin to be pulled down, you should achieve the same.

Children
No Data
Related