Issue: Which UART to use - documentation has conflicting info
Setup: RAK4270 - in this case modules soldered to PCB’s but in general
It has been bought to my attention that the docs for the RAK4270 and its predecessor, the RAK4200 have conflicting information on which UART does what.
I have performed some tests but I’m somewhat confused, busy, tired and need to get absolute confirmation before I go to my certain death in relaying this information on.
RAK4200 Data sheet pin configuration table shows UART2 and has UART1 shown as general GPIO or reserved:
RAK4270 Data sheet pin configuration table shows UART2 for AT commands and UART1 shown as AT commands and firmware updates:
The client had some RAK4200’s and was referring to the Data Sheet section when they did their PCB. They have now come unstuck with the first batch and junking the RAK4200’s and using RAK4270’s doesn’t seems to be a solution.
The breakout boards appear to have similar mixed up info.
I did originally ask about this back at the start of the year which is how they came to create a design that could accommodate both modules:
but I didn’t have any RAK4270’s to hand at the time so couldn’t do an absolute test and the pin mapping for the UART’s was the same so it all seemed good.
These modules are only going to be used as AT slaves but it would obviously be useful to be able to upgrade the firmware. As UART1 was shown as the main one on the RAK4200 they may have a pile of PCB’s that aren’t going to be upgradeable because despite being asked to, they didn’t provide any access to the SWD pins.
Could someone let me know which port is which and definitely does what please as that’s their current focus.
I can probably create some horrible bodged test pin holder to update the module prior to soldering so I may yet be able to survive the day intact!