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

Configuration UARTE with nrf52805 for ESB - Part 2


My previous ticket is closed. I would need, but still help with the configuration of the pins. I report my last post.

Hello,
I did some tests with the oscilloscope directly connected to pins 21 and 18 of the nrf52805.
The transmission on pin 18 by the Stm8l works perfectly. The problem I encounter now is that nrf52805 I have the pull up instruction on this pin

 nrf_gpio_cfg_input(PIN_RXD,GPIO_PIN_CNF_PULL_Pullup);

but nothing happens when oscilloscopes.
It could be that I get the pin definition wrong initially

 #define UARTE_BASE           0x40002000
  #define PORTA_UARTE          ((NRF_UARTE_Type *) UARTE_BASE )
  #define PIN_TXD            21
  #define PIN_RXD            18


or the pull up configuration of pin 18, set as input and pin 21 as output?

 nrf_gpio_cfg_input(PIN_RXD,GPIO_PIN_CNF_PULL_Pullup);
     nrf_gpio_cfg_output(PIN_TXD);
Parents
  • Sigurd said:
    "Non viene rilevato un bit di stop valido sull'input di dati seriali dopo che tutti i bit in un carattere sono stati ricevuti."

    how do I know which final character is valid, I send an array with the value and a final '/'

    Sigurd said:
    Commentare questa singola riga di codice non dovrebbe generare questo errore. Potresti caricare il progetto?

    the compilation problem has been solved

    Sigurd said:
    2) Potresti provare ad aggiungere un po' di ritardo prima che STM8 invii i dati?

    the data is sent not immediately at the start of the HW but if a valid temperature is detected

    Sigurd said:
    Hai un analizzatore logico che puoi usare per catturare l'aspetto della trasmissione UART? es . Saleae Logic o simili?

    I have already analyzed through an oscilloscope the sending of data

Reply
  • Sigurd said:
    "Non viene rilevato un bit di stop valido sull'input di dati seriali dopo che tutti i bit in un carattere sono stati ricevuti."

    how do I know which final character is valid, I send an array with the value and a final '/'

    Sigurd said:
    Commentare questa singola riga di codice non dovrebbe generare questo errore. Potresti caricare il progetto?

    the compilation problem has been solved

    Sigurd said:
    2) Potresti provare ad aggiungere un po' di ritardo prima che STM8 invii i dati?

    the data is sent not immediately at the start of the HW but if a valid temperature is detected

    Sigurd said:
    Hai un analizzatore logico che puoi usare per catturare l'aspetto della trasmissione UART? es . Saleae Logic o simili?

    I have already analyzed through an oscilloscope the sending of data

Children
No Data
Related