You are here

USBUART Parity | Cypress Semiconductor


Summary: 5 Replies, Latest post by ANKS on 17 Oct 2016 11:44 PM PDT
Verified Answers: 2
Last post
Log in to post new comments.
nferrini_1662991's picture
3 posts

Hi everyone,

 I have implemented a USBUART on my CY8CKIT-059 Kit everything works properly but I would change the parity and the stop bit of trasmission

Could someone tell me where I can set the UART's parameters?



user_1377889's picture
10803 posts

Welcome in the forum!

Only the windows host is able to set the datarate. Because the com port is only emulated, there is no real baud rate in that communication. There is a configuration setting program from Cypress:

USB-Serial Configuration Utility
Cypress USB-Serial Configuration Utility is an application included in the USB-Serial software development
kit (SDK) installation. This utility is used to configure the USB-Serial device configuration,
and helps use additional capabilities of USB-Serial device such as USB-UART configurations, USBGPIO
controls, and custom development using the USB-I2C and USB-SPI protocols.
After you install the USB-Serial SDK, click Start > All Programs > Cypress > Cypress
USB Serial > Cypress USB-Serial Configuration Utility to launch the USB-Serial Configuration



nferrini_1662991's picture
3 posts

Thank you for your disponibility

nferrini_1662991's picture
3 posts


 I tried to follow your suggestion... I installed the Utility but when I launch it I can't Connect any devices.

In the Start Page of Utility there is a list of components (CY7C.....) I use CY8C, it can be this the problem?
If Yes, how can I change the parity of the USBUART?



user_49271930's picture
496 posts

USBUART is a slave.
It has  function  uint8  USBUART_1_GetConfiguration(void) 
but it does not has function SetConfiguration
Bob said that Only the windows host is able to set the datarate.
those. configuration (parity) can only change the master (PC) but not PSoC​


ANKS's picture
Cypress Employee
345 posts


CDC Class Request are the requests supported by the USBUART component. If a request is not
supported, the USBUART component responds with a STALL, indicating a request error.

There is a  CDC Class Request available as SET_LINE_CODING which allows the host to specify typical asynchronous line character
formatting properties such as: data terminal rate,number of stop bits, parity type and number of data bits. It applies to data transfers both from the host to the device and from the device to the host.

So, host can change the  value of parity and stop bits, USBUART component cannot.


Log in to post new comments.