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

PSoC™ 4

RyYo_1406951
Level 5
10 likes given 5 likes given First like received
Level 5

I want to know how to configure PSOC 4000S to support Boot loading function using SPI.

I checked the SCB block and it can support such function but only I2C.

I want to use a SPI flash to automatically download the code instead of through MCU.

Is there any good way to do it?

1 Solution
GeonaP_26
Moderator
Moderator 50 likes received 25 likes received 10 likes received
Moderator

Yes, SPI bootloading is possible in PSoC 4000S. However, the kit does not have inbuilt USB-SPI bridge. Please use external USB-SPI bridge such as TrueTouch Bridge for bootloading.

View solution in original post

0 Likes
5 Replies
GeonaP_26
Moderator
Moderator 50 likes received 25 likes received 10 likes received
Moderator

Yes, SPI bootloading is possible in PSoC 4000S. However, the kit does not have inbuilt USB-SPI bridge. Please use external USB-SPI bridge such as TrueTouch Bridge for bootloading.

0 Likes
RyYo_1406951
Level 5
10 likes given 5 likes given First like received
Level 5

Thank you for your reply.

I want to use SPI for downloading the FW directly.  I can’t use USB SPI
bridge.

Also, can you send app note you show how to configure the SCB as a SPI
bootloading?

0 Likes
GeonaP_26
Moderator
Moderator 50 likes received 25 likes received 10 likes received
Moderator

What is the SPI bootloader host in your application?

There is no application note on PSoC 4000S SPI bootloader. Please refer AN84401 - SPI Bootloader to get started.

0 Likes
RyYo_1406951
Level 5
10 likes given 5 likes given First like received
Level 5

I read AN84401.

Just a quick question, in the doc , it mentions only PSOC3 and PSOC5L.

Can it be supported in PSOC4S?

0 Likes
GeonaP_26
Moderator
Moderator 50 likes received 25 likes received 10 likes received
Moderator

Yes, you can configure SPI component and bootloader component as elaborated in AN84401.