With the current chip shortage on Photons, will Argon / Boron ever support other modes for stop bits, parity, etc.? Thank you.
It already does support 8E1 (odd parity and 7 or 9 bit data) but other options won’t be implemented since the nRF hardware doesn’t support it and for a SoftSerial implementation the necessary timing precision cannot be guaranteed.
The hardware would support 2 stopbits tho’ but the nRF SDK (at least up to 17.0.2) doesn’t provide a simple API to set it.
But you can read this ticket I once posted on their board
https://devzone.nordicsemi.com/f/nordic-q-a/54215/howto-use-uarte-250000-8n2-plus-txbreak-for-dmx512-protocol
This also shows how you could do achive it the bare metal way.
Thanks @ScruffR, I missed the 8E1 in the documentation. I potentially need 7E1 and bare metal is beyond my current skill set - I appreciate the response.
@policenauts you could also use an I2c or SPI-to-UART bridge such as the SC16IS740 for which
@rickkas7 has a library.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.