cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

David_Zhang
New Contributor II

      Hi  cypress:

            Question 1:    when i use CY8C4014LQI-422 for touch,   as i know , P3.0/P3.1 is the debug port in SWD way,  but customer choose other GPIO, as it show below,

can you tell me if there is a way to debug the chip in p0.0/p0.1;

             Question2:   when i choose CY8C4014LQI-422 as touch  and want to communicate with other MCU like ST89C51, I want to know how CY8C4014LQI-422 communicate with ST89C51, can you provide the manual to explain it ,  how MCU detected in  the touch of CY8C4014LQI-422 in IIC mode, and to realize . thanks;

SWD.jpg

0 Likes
Reply
1 Solution
4 Replies
Anonymous
Not applicable

1: No idea how you would get it to work on the other pins without external wire jumpers or some sort of mesh-routing in the program (Not sure that is even possible).

2: Are you asking what protocols you can use to communicate with another device? The PSoC Creator will have a components library section labeled "Communication" that contains module-components for using I2C, SPI, UART, CAN to communicate with other micro controllers. Any of those communication components should work if the PSoC Creator allows you to place/build the project.

If you are asking for I2C specifically:

Slave example: http://www.cypress.com/file/63151/download

Master example: CE95363 - I2C Master using a Serial Communication Block (SCB) with PSoC 4

0 Likes
Reply
RyanZhao
Moderator
Moderator

Hi David,

1. In my mind, you can print some log information through P0[0]&P[1], and use bootloader/bootloadable to upgrade its fw. PSoC4 Debug requires SWD interface but P0[0]&P[1] not able to support SWD.

2. The customer must customize their own I2C register map and load touch status in the I2C buffer. Use EzI2C, and the host can read shift register in the I2C buffer to obtain touch status, just like MBR3.

Thanks,

Ryan

0 Likes
Reply
David_Zhang
New Contributor II

HI RZZH:

       How can i download hex file to CY8C4014LQI-422 with   what you advice that bootloader/bootloadable to upgrade its fw?

though P1.0&P1.0 can't be used swd to download hex file to cy8c4014lqi-422, thanks;

0 Likes
Reply