WirelessUSB configured as a serial port

Question: Can WirelessUSB be configured to look like a serial port?

 

Answer:

Yes, you can configure one end of your WirelessUSB application to look like a serial port. To do this you'll need: RS232 <> MCU <> WIRELESSUSB


We have an advanced example (CY3632 v1.6) that does just this called "RS232 Master / RS232 Slave". It uses PSoC as the MCU. The over-the-air data rate is in bursts of 62.5kbps.

To configure this development kit to model an RS-232 master and slave device, follow these steps:

1.    On the peripheral DVK Platform Board (assembly 121-07500) verify that sockets U2A and U2B are not loaded and that U3 is loaded with the PSoC Adapter Board (PDC-9179) that has the RS-232 slave firmware on it.

2.    On the USB HID Bridge DVK Platform Board (assembly 121-07501) verify that sockets U2A and U2B are not loaded and that U3 is loaded with the PSoC Adapter Board (PDC-9179) that has the RS-232 master firmware on it.

3.    Plug the Radio Module Socket Adapter (PDC-9191) into the LS Radio Module Socket (P1) and then plug in the LS Radio Micro Module (PDC-9190) into the Radio Module Socket Adapter (PDC-9191) on each of the DVK Platform Boards. Note that the LS Radio faces toward the DVK Platform Board as shown below in Figure 2, Note 2.

4.    On both platform boards, verify that PWR_SEL jumper (J2) is using the EXT/BATT position (shunt connecting pins 2-3; see Figure 2, Note 3). Connect the AC/DC power adapter to J5 or insert the AA batteries into battery holder.

5.    Using two serial cables (one is included), connect the platform boards (using serial port, P2) into two com ports in the host PC(s).

6.    Press the BIND button on the USB HID Bridge and then press the bind button on the peripheral platform board. The USB HID Bridge and the peripheral will then bind and the connect LED?s will light up.

7.    Set the serial port settings between the serial terminal (like TeraTerm) and the DVK Platform board to 38.4 kbps, 8 data bits, no parity, 1 stop bit, hardware flow control (38400, 8, N, 1, hardware).

8.    Our robust radio firmware builds to less than 4k bytes in our enCoRe device (M8B assembly). This firmware has undergone a tremendous amount of interference and co-location validation, which you can take advantage of in your own designs.