Main Site Documentation

LMODE on G120


#1

Does the LMODE pin on G120 works like LOW = USB, HIGH=COM ?


#2

Correct

Edit: this was changed before releasing G120. It is USB = high (default with built in pull up)


#3

Further, can pins P0_2 and P0_3 be used as GPIOs if LMODE = LOW (USB)?

Regards,
Synapsys


#4

In theory yes but you should not use USB pins for GPIO purposes.


#5

WouterH pointed this post out, this was changed before releasing G120. It is USB = high (default with built in pull up)


#6

Damn!
This one just caught me - why would they go and change something like that??

Ours is a USB device, so normally should be in COM debug mode. In the EMX version I ran a diode from the “Right” button to pull down Mode when pressed, so the end-user can hold the button during boot to start in USB debug mode without opening the box.

Our first batch of G120 boards have this too. Now I’ll have to redesign with an extra transistor to invert the Mode line.