I've recently bought an RN4020 BLE module, but I'm having figuring out how to make it work. In the datasheet some pins are listed as 1.65V input, 1.35V out
, while for the rest of them, there's no indication whatsoever. How can I figure out what voltage levels the pins specifically the TX, RX, WAKE_SW and WAKE_HW use?
2 Answers
While it's not explicitly mentioned in the datasheet the typical application schematic seems to indicate it is compatible with 3.3 V logic because the following nets are connected directly to the RN4020 module, although you wouldn't want to exceed the Vdd supplied to the module which is 3.3 V in this case as well:
The I/O pins you've mentioned also include analog I/O so are probably connected directly to an internal ARM processor running at around 1.6 V. I've seen that configuration on other wireless modules before and the minimum supply voltage of 1.8 V would seem pretty much in line with it having an internal low-dropout regulator.
The datasheet is marked as "advance information" so while I think powering the whole system from 3.3 V as per the application schematic should be safe enough if that isn't suitable for your particular application it may be worth enquiring further with Microchip.
I am surprised it doesn't show the voltages for \$V_{IH}, V_{IL}, V_{OH}\$ and \$V_{OL}\$ in the electrical characteristics. Microchip documents are usually very good for that. Still, as it's a new device, the datasheet may still be in the process of being filled up and that data may come in time.
But still, as the device is shown in the example schematic as connected direct to a PIC microcontroller, and it runs from a supply of 3.0 to 3.6V, it can be assumed that the communication pins will be directly compatible with a PIC microcontroller running at the same voltage, so you would expect something around:
- \$V_{IL} = 0.2V_{DD}\$
- \$V_{IH} = 0.8V_{DD}\$
- \$V_{OL} = 0.4V\$
- \$V_{IH} = 2.4V\$
(Figures taken from first PIC datasheet I had to hand)