CY8CKIT-043 Pins 7[0], 7[1] are unreachable for UARTs

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

It's beyond my undersanding. On the KIT UART are hard-wared to Pins 7[0], 7[1], but they are unavailable in PSoC Creator.

   

Changing device to another and back trick does not helps.

   

Where is the bug?

0 Likes
9 Replies
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

You can't change the pins on the UART they are hardwired with no jumper.

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Please post your code.

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

What makes you think that there is a port 7 in a CY8C4247AZI-M485

   

 

   

Bob

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

Bob, you can discover it yourself looking at the pins in Creator.

   

Did you see a picture and schematic of the KIT?

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

Sorry, I see...

   

Both pins are not routable, you may use them without the hardware connection enabled, changing the pin programmatically.

   

 

   

Bob

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

No, the reason is that 7[1]-Tx, 7[0]-Rx, they are swapped.

   

And UART mast be SCB. In such conditions all is OK.

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Kabron,

I am not facing any issue in taking 7[0] and 7[1] pins. Could you please share the project so that we can have a look in to the issue? Could you please restate the problem too ?

Best Regards,
VSRS

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

VSRS,

   

I solved the problem, issue is: board marking: UART TX ->7.0(RX), UART RX<-7.1(TX)

   

so, really PSOC UART TX is 7.1, PSOC UART RX is 7.0. Some misunderstand. Error occured if assign  PSOC UART TX is 7.0 and PSOC UART RX is 7.1.

   

Another question; If I try to use UART[v2.50] and assign pins PSOC UART TX 7.1, PSOC UART RX  7.0, I got error messages:

   

Pin guidance unavailable: 'Rx_7_0(0)' cannot be placed at P7[0]. This pin uses the port adapter feature Input Sync, but this location does not have a port adapter connection.

   

Pin guidance unavailable: 'Tx_7_1(0)' cannot be placed at P7[1]. P7 cannot be used for routed connections.

   

Are these messages correct for Creator and does it means that these pins are reserved only for  SCB mode?

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Kabron, 

   

If you read the title of the description on the board, it is saying Kitprog-PSoC4200M. So the connections are explained with respect to kitprog. Left side description is about kitprog and the rightside description is about PSoC4200M connection. These pins are mainly used for USB-UART functioanlity. The UART lines between the KitProg and the target are hard-wired on the board, through the snappable area, with UART_RX assigned to P7[1] and UART_TX assigned to P7[0] on PSoC 4200M. But with respect to the kitprog the Rx and Tx pins are the reverse as you read.

   

Kitprog           PSoC 4M

   

UART TX  -> 7.0(RX),

   

UART RX <-7.1 (TX)
I hope now it is clear. 

Best Regards,
VSRS

0 Likes