SPI not working in CY8CKIT-042-BLE kit when pins are changed

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
SuRa_2245351
Level 4
Level 4
First like received First like given

SPI protocol in my PSOC4 BLE kit won't work if pins given below are selected:

P4.0=SCB1_SPI_MOSI[0]

P4.1=SCB1_SPI_MISO[0]

P5.0=SCB1_SPI_SS0[0]

P5.1=SCB1_SPI_SCLK[0]

If I select pins as given below SPI protocol works

P0.0=SCB1_SPI_MOSI[1]

P0.1=SCB1_SPI_MISO[1]

P0.2=SCB1_SPI_SS0[1]

P0.3=SCB1_SPI_SCLK[1]

please help I have attached program below.

0 Likes
1 Solution
AchimE_41
Employee
Employee
10 sign-ins 5 sign-ins First comment on KBA

Hi,

P4.0 and P4.1 have capacitors connected that are normally used for CapSense, did you remove them?

kind regards,

Achim

View solution in original post

3 Replies
AchimE_41
Employee
Employee
10 sign-ins 5 sign-ins First comment on KBA

Hi,

P4.0 and P4.1 have capacitors connected that are normally used for CapSense, did you remove them?

kind regards,

Achim

Thank you!

Achim and Noraki , your solution worked

0 Likes
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

P5.0 and P5.1 are connected to the F-RAM's SDA and SCL.  So, it is assumed that the F-RAM device drives SDA or SCL. If you want to use these pins on the CY8CKIT-042-BLE PIONEER Kit, the F-RAM device and the pull-up resistance must be disable at these pins.

Remove the F-RAM device U3 and the resistance R31 and R35 from the BLE Pioneer board.  I don't find any other smart solution right now.

Regards,

Noriaki