- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm doing some tests with the CYBLE-022001-EVAL and the pioneer kit CY8CKIT-042-BLE, and I'm having some problems with the interrupt for UART.
I am trying to add my own interrupt function to treat the bytes received, but no success. I can send bytes, but when I receive something the interrupt seems to be not called. Someone could give some help?
The project is attached.
Thank you!
Jorge
- Labels:
-
BLE
-
ispn:40067:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome to the forum, Jorge!
are you trying to use the UART-USB bridge and connect the BLE-kit via USB to the PC? Then you need to use the pins p1_5 and P2_4 to your UART component. Check fot the correct com-port the kitprog emulates on PC using the device manager.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, that's what i am doing. I can receive the bytes that I send from the Kit to PC at the hyperterminal.
I was using the pins P0[4] and p0[5] to the UART Component, is there some difference between using these or those you said?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could it be something wrong with the interrupt?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Open your kit's documentation ..Programs(x86)\Cypress\your kit\1.0\Hardware\Pioneer Board Schematic.pdf. Look for "UART RX" which is the connection between UART and the KitProg. My Kit uses pins P1_4 and 5
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked here and changed the pins, but still the same thing: the bytes I send from the module are received on PC, but the opposite not.