Undocumented features of Kitprog in CY8CKIT-059

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
VlYe_281166
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

According to manual, maximun UART to USB bridge speed is 115200 baud. But in fact it works at much higher bauds. The trick is that you need to setup custom speed on the other side. Most drivers and terminal emulators allow this. On the Kitprog side you tune it as usual to 230000 or 460800. For the experiments I used Moxa Pcomm Terminal emulator and ordinary FTDI FT232RL converter. I discovered that Kitprog UART to USB bridge definetelly works in the ranges 245000-265000 and 475000-525000 baud. At the moment I created a case and maybe Cypress gurus find the solution to return these ranges to normal values 230400 and 460800.

9 Replies
himc_284346
Level 3
Level 3
Welcome! 10 replies posted 5 replies posted

Thank you for sharing this info.

0 Likes
VlYe_281166
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Got an answer from Cypress case guru:
Hello Vladimir, I have checked internally with the software team.

   

As per them the maximum baudrate is 2M(2000000).

   

The following is the list of standard baud rate and the corresponding setting in Terminal.

   

Actual KitProg USB-UART baud rate | Baud rate number set in terminal

   

2000000 | 2000000

   

1000000 | 1000000

   

1000000 | 921600

   

500000 | 460800

   

250000 | 230400

   

115200 | 115200

   

57600 | 57600

   

38400 | 38400

   

19200 | 19200

   

9600 | 9600

   

4800 | 4800

   

2400 | 2400

   

1200 | 1200

   

As I mentioned in the previous response the two baud rates 250kbps, 500kbps,1Mbps baud rate needs different baud rate to be set in the terminal.This is because of the internal clock limitation of PSoC5LP. This cannot be corrected by firmware modification also.
 

0 Likes
Anonymous
Not applicable

Hello Kabron,

   

That info is really interesting, but when I tried to configure the PSoC 5LP UART to a baud rate of 250000 there wasn’t any option in the pull down menu and I didin’t found any API function to change it.
Can you please explain how did you changed the baud rate to 250000 in the UART?
Thank you very much.
I am interested in using a faster bound rate to communicate with the PC.

   

Best regards,
João Nuno Carvalho

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Did you try to key in the desired number?

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Hello,

   

yes, the field doesn't let key the number.

   

I am using the 

   

Universal Asynchronous Receiver Transmitter (UART) 2.50 

   

Best regards,

   

João Nuno Carvalho

0 Likes
VlYe_281166
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Well, João

   

​1. You have to use external clock for the PSoC UART.

   

2. To configure it to desirable baud the clock must be x8 of the baud. I.e. for 250000 baud you need to set it to 2MHz.

0 Likes
Anonymous
Not applicable

Thank you Kabron,

   

I will try it.

   

Best regards,

   

João Nuno Carvalho

0 Likes
Mrinal
Level 4
Level 4
First solution authored 50 replies posted 25 replies posted

Hi!

I tried it out.

Works good up to 1000000Mb/s, beyond this it starts acting up.

Anyway 1000000 is almost 10x of 115200

0 Likes

Hello João & team ,

what crystal frequency you used here..?

Regards,

Rajat

0 Likes