You are here

Using SWD and and SPI on a PSoC 4 XT/XR BLE module is impossible? | Cypress Semiconductor

Using SWD and and SPI on a PSoC 4 XT/XR BLE module is impossible?

Summary: 2 Replies, Latest post by jim_reich_1873026 on 10 Nov 2016 02:35 PM PST
Verified Answers: 1
Last post
Log in to post new comments.
jim_reich_1873026's picture
User
9 posts

I'm trying to build a device which has a single device SPI plus I2C devices. I want to use the CYBLE-224116-01 module (BLE 4.2 + PA/LNA) -- but what I say below also applies to the BLE 4.1 version, CYBLE-224110-00. I'd like to have SWD available for programming and debugging.

But I don't see how to make it work. Because:

1. SCLK 0 is only available on p0.7, which is needed for SWD, or p1.7, which doesn't come out of the module.

2. And you can't use SPI on SCB1 at all, since SCB1 MOSI does not seem to come out of the module on ANY pin.

To get around this, I'd have to add jumpers for "programming mode" in order to program, and wouldn't be able to use the debugger while keeping SPI live. This seems like a serious oversight, and will both make production programming and development more annoying than necessary.

Could things really be this screwed up? 

user_1377889's picture
User
9583 posts

Welcome in the forum.

Use the UDB based SPIM (v 2.50). This design will fit.

 

Bob

jim_reich_1873026's picture
User
9 posts

Thanks! Seems goofy of them to not support it, but I guess I can use the other SCB for UART now. 

Log in to post new comments.