- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Best Regards
Arai
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Arai-san.
Q1) Is it possible to transmit UART parity information to the PC in 11-bit transfer mode?
>> Yes, it is possible.
Q2) I refer to 10.20 UART Registers of TRM, but please tell me specifically about the register settings for operating in "11bit transfer mode".
>> In the 10.20 UART registers of TRM, the 3rd bit of the register (parity) can be set to 1 to enable parity. This will enable 11 bit transmission mode, with default parity settings.
Alternatively, in the CyU3PUartConfig_t struct, the .parity field can be set to either CY_U3P_UART_EVEN_PARITY or CY_U3P_UART_ODD_PARITY. This will internally set the register bits accordingly. The implementation of this API can be seen in the cyu3uart.c file
Best Regards.
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Arai-san.
Q1) Is it possible to transmit UART parity information to the PC in 11-bit transfer mode?
>> Yes, it is possible.
Q2) I refer to 10.20 UART Registers of TRM, but please tell me specifically about the register settings for operating in "11bit transfer mode".
>> In the 10.20 UART registers of TRM, the 3rd bit of the register (parity) can be set to 1 to enable parity. This will enable 11 bit transmission mode, with default parity settings.
Alternatively, in the CyU3PUartConfig_t struct, the .parity field can be set to either CY_U3P_UART_EVEN_PARITY or CY_U3P_UART_ODD_PARITY. This will internally set the register bits accordingly. The implementation of this API can be seen in the cyu3uart.c file
Best Regards.
AliAsgar