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

nRF52840 UARTE RTS

Hi,

Please help me on the nRF52840 UARTE RTS signal, through the doc: "nrf52840_ops_v0.5.pdf", we can know if we stop the UARTE RX by trigger the "NRF_UARTE_TASK_STOPRX" , the RTS will be deactivated if HWFC enabled, my questions are:

1. there is any location restriction where we can not run "nrf_uarte_task_trigger(UART_DRV_UARTE, NRF_UARTE_TASK_STOPRX);" like in ENDRX ?

2. what is the action to activate RTS again?

3. why I only see an around 500us  positive pulse after running  "nrf_uarte_task_trigger(UART_DRV_UARTE, NRF_UARTE_TASK_STOPRX);"?

Thanks,

HRB 

Parents
  • FormerMember
    0 FormerMember

    1. To mu knowledge, it should work fine to stop UARTE RX upon ENDRX. If UARTE RX should stop for each ENDRX, you can use the predefined short ENDRX_STOPRX for this operation.

    2. When HWFC is activated, I would assume that RTS is activated as long as UARTE is enabled. I would think this can be verifed using a logic analyzer.

    3. Could you elaborate a little? For example, on which line do you measure this pulse?

Reply
  • FormerMember
    0 FormerMember

    1. To mu knowledge, it should work fine to stop UARTE RX upon ENDRX. If UARTE RX should stop for each ENDRX, you can use the predefined short ENDRX_STOPRX for this operation.

    2. When HWFC is activated, I would assume that RTS is activated as long as UARTE is enabled. I would think this can be verifed using a logic analyzer.

    3. Could you elaborate a little? For example, on which line do you measure this pulse?

Children
Related