- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone:
I need some help with an example code. This is about using ADC and UART. Unfortunately for some strange reason, UART is not printing any result as expected. I used both teraterm and putty without any luck.
I am attaching my workspace bundle. Could an expert have a quick look and help me with some pointers. Thanks in advance to PSOC community.
Best,
Apoorva
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay I tried your program and it works okay on my machine. Some things to check. Open device manager in windows and check for the port that kit prog is using. Mine was comm 4 yours may be different. open Putty and change the port to the one you saw in the device manager. Then set the Baud rate to the baud rate of your program it was 115200 . You should be getting information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The pin definition for your Tx pin will be choosen by the fitter because you did not specify a pin (and locked it).
Assuming that you use a CY8CKIT-042 BLE Pioneer kit the Tx pin must be P1_4. Have a look into the schematcs under "C:\Program Files (x86)\Cypress\CY8CKIT-042-BLE-A Kit\1.0\Hardware\BLE Pioneer Board"
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Bob.
The fitter chooses p1[5] for UART tx on its own. Still I am not able to get anything on UART. I am puzzled. In fact I tried to run many other UART examples, but couldn't succeed in running any.
Best,
Apoorva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using a self-made pcb or a Cypress kit (which one)?
You may select the Tx pin yourself. When using a CY8CKIT-042 BLE Pioneer kit choose P1_4
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay I tried your program and it works okay on my machine. Some things to check. Open device manager in windows and check for the port that kit prog is using. Mine was comm 4 yours may be different. open Putty and change the port to the one you saw in the device manager. Then set the Baud rate to the baud rate of your program it was 115200 . You should be getting information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content