- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have tested the UART comm with P7.0 P7.1 on cypress CY8CKIT-043, its working good able to get the debug messages.
But I need to configure other UART also.
I have configured the set of pins P6.0, P6.1 and P5.0,P5.1.
I can able to detect the UART port with serial to USB connector with UART Rx,Tx, gnd lines connected,
but I am getting garbage data. I have configured the baud rate to 115200, but its not giving correct data.
Is there anything need to configure for uart?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
UART Communication issue on CY8CKIT-043
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wat did you connect the second UART pins to?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Set UART advanced to byte mode and buffer sizes to (at least) 16.
Check connection to your serial-usb cable. PSoC voltage level will be 5V
Try lower baud rate as 9600
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have changed the above changes suggested. Still I am getting garbage data on UART.
I am using USB serial connector to connect to my laptop and configured UART pins as 6.0 of KIT(Tx) pin to 9 pin DB connector's 2 nd pin(Rx) and 6.1 of kit(Rx) pin to 9pin DB connector's 3rd pin(Tx) and Gnd pin of Kit to 5th pin of 9 Pin DB.
Please find attached files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please report voltage levels of Rx and tx of kit and 9-pin 2 and 3 of connector. Cables detached.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are using USB to serial bridge then you don't need DB9 connector and cable. Your USB-Serial bridge will have TTL inputs/output levels. Can you show us which USB-Serial bridge you are using ?
Connect Tx and Rx directly to bridge.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have checked the voltage levels.
On CY8CKIT-043
Tx voltage - 0V
Rx Voltage - 4.9 V
On USB serial adapter
Tx : 0V
Rx : -6.4V
With 9pin DB female to female connector also
Tx :0v
Rx: -6.4V
Please find attached cables which i have used.
I tried with directly connecting the USB serial adapter without 9 Pin db serial cable also, not getting proper values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You wrote
On USB serial adapter
Tx : 0V
Rx : -6.4V Does this mean: minus 6.4V ??? If so, you will probably fry your PSoC. Max allowed on any pin is 0V to Vdd(which is 5V). Adapter not usable for your purposes.
If not minus 6.4V then you need to connect Tx from kit with Rx from adapter Carefully!!! 6.4V is more than the allowed 5V and may damage your kit!!! Use at least a resistor.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
yes it is minus 6.4 volts.
Okay will do that with external resistor and let you know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, UART issue been solved with FTD1232 usb to serial convertor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NO!!!!!!
Minus 6V will damage your board!!!!!!!!!!! Do not use this kind of adapter!!!!!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
okay bob, thank you for info.
I have one more query related to I2c.
I have configured I2c lines for 4.0 and 4.1 lines and able to detect the I2c and getting data.
But if I want to use other gpio pins as I2c , they are not working checked for 2.0 and 2.1 pins.
What the issue?.
How many I2c ports we have in this kit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are 4 SCBs (Serial Control Blocks) in your chip, usable as UARTs SPIs or I2Cs.
Did you provide the required pull-up resistors?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
for uart issue I think we can use this cable right?
For usb to serial cable
Please sugggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That will work (if your PSoC survived)
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content