I am trying to figure out the maximum transfer size for nrfx_uarte_tx. The documentation says to check the MAXCNT register description in the Product Specification. See page 458 in Product Specification.
I am trying to figure out the maximum transfer size for nrfx_uarte_tx. The documentation says to check the MAXCNT register description in the Product Specification. See page 458 in Product Specification.
Hi,
You can set the TXD.MAXCNT register give the maximum number of bytes in transmit buffer
https://infocenter.nordicsemi.com/pdf/nRF52832_PS_v1.4.pdf#%5B%7B%22num%22%3A2535%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C56.692%2C487.904%2Cnull%5D
Here is an overview of the EasyDMA MAXCNT bit length: https://infocenter.nordicsemi.com/topic/struct_nrf52/struct/nrf52.html
For nRF52832 UARTE it's 8 bit register which means 255 bytes.
BR,
Marjeris