You are here

SCB UART | Cypress Semiconductor

SCB UART

Summary: 1 Reply, Latest post by Bob Marlowe on 29 Aug 2016 02:17 PM PDT
Verified Answers: 1
Last post
Log in to post new comments.
Gauloises's picture
User
1 post

Hi Everybody,

for a project i have to send a data request string via the SCB (in UART mode) to a serial device.
My problem is, that this request string has a 0x00 Char in it. Example: char rp[] = {0x64, 0x65, 0x00, 0x64, 0x65 };
If I monitor the output with a terminal program, the transmission via UartPutString stops before 0x00 because of the string termination.

The receiver only accepts/understands the request paket, when he receives it as a string at once.
( I tried UartPutChar and transmit every single char, but it fails...)

Any idea how I can fix that problem? 

Device: CY8C4125AXI-483, PSocCreator 3.3

 

 

 

user_1377889's picture
User
10719 posts

Use SCB_UartPutChar().

I tried UartPutChar and transmit every single char, but it fails... It will not fail. Increase the Tx buffer to ~80 which will use the internal interrupt for transmission.

 

Bob

Log in to post new comments.