BlueGiga WF121 WiFi: Difference between revisions

images and UART details
m WF121-A: PIC32 MCU model
Line 3: Line 3:
Main Project Page: [[Roti_making_robot_rotimatic|Rotimatic]]
Main Project Page: [[Roti_making_robot_rotimatic|Rotimatic]]


= WF121-A =
=WF121-A=
'''Processor: PIC32MX695F512H'''
 
*[https://www.mouser.com/datasheet/2/52/Leaflet_WF121_lowres-4334.pdf Brochure]
*[https://www.mouser.com/datasheet/2/52/Leaflet_WF121_lowres-4334.pdf Brochure]
*[https://www.mouser.com/datasheet/2/368/Bluegiga_WF121_Datasheet-1203323.pdf Data Sheet v1.4.9 2013]
*[https://www.mouser.com/datasheet/2/368/Bluegiga_WF121_Datasheet-1203323.pdf Data Sheet v1.4.9 2013]
Line 10: Line 12:
*[https://www.silabs.com/documents/public/data-sheets/WF121-DataSheet.pdf Data Sheet v2.0.1 2024]
*[https://www.silabs.com/documents/public/data-sheets/WF121-DataSheet.pdf Data Sheet v2.0.1 2024]


== Images ==
==Images==


[[File:WF121-A top.png|800px]]
[[File:WF121-A top.png|800px]]
Line 17: Line 19:




== UART ==
==UART==


=== Developer Guide Notes/Examples ===
===Developer Guide Notes/Examples===


==== WF121 Factory Configuration ====
====WF121 Factory Configuration====
WF121 Modules are factory shipped with settings listed below.
WF121 Modules are factory shipped with settings listed below.


UART2 This UART gives access to BGAPI protocol, which can be used to control the WF121 Module from a separate host.
UART2 This UART gives access to BGAPI protocol, which can be used to control the WF121 Module from a separate host.
*Pin 17: CTS
*Pin 17: CTS
*Pin 19: RTS
*Pin 19: RTS
Line 46: Line 49:
</pre>
</pre>


==== channel ====
====channel====
 
*0: UART channel 1
*0: UART channel 1
*1: UART channel 2
*1: UART channel 2
Line 52: Line 56:
**channel="0"
**channel="0"


==== baud ====
====baud====
 
*Default: 57600
*Default: 57600
*Range: 0-10000000
*Range: 0-10000000
Line 61: Line 66:
Notice that not all baud rates are possible. BGBuild compiler tries to find best match with least amount of error and outputs the result.
Notice that not all baud rates are possible. BGBuild compiler tries to find best match with least amount of error and outputs the result.


==== stopbits ====
====stopbits====
 
*Range: 1-2
*Range: 1-2
*Default: 1
*Default: 1
Line 67: Line 73:
**stopbits="2"
**stopbits="2"


==== parity ====
====parity====
 
*Values:
*Values:
**odd: use odd parity bit
**odd: use odd parity bit
Line 76: Line 83:
**parity:"odd"
**parity:"odd"


==== handshake ====
====handshake====
handshake RTS/CTS for data flow control
handshake RTS/CTS for data flow control
*Values:
*Values:
**true: RTS/CTS flow control is used
**true: RTS/CTS flow control is used
Line 85: Line 93:
**handshake="true"
**handshake="true"


==== api ====
====api====
 
*Values:
*Values:
**true: UART is used for BGAPI protocol
**true: UART is used for BGAPI protocol
Line 98: Line 107:
at the host, otherwise the module might get stuck.
at the host, otherwise the module might get stuck.


==== BGAPI / config ====
====BGAPI / config====
Using BGAPI over UART interface
Using BGAPI over UART interface