- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We have a question about assigning spi_select of SPI slave on P6.4 or P6.5.
In case of SPI master mode, we can assign spi_select on P6.4 or P6.5 like below.
But in case of SPI slave mode, we can not assing spi_select anywhere like below.
In conclusion, we can not assign spi_select of SPI slave mode on P6.4 and P6.5.
So, we can not assign SPI slave on P6.x, right?
Best regards,
Yocchi
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In the datasheet
Alternate Pin Functions
select0:0 for SCB3 seems to be P6.3
But in the Pinouts
There is no P6.3 in the 64-TQFP package (nor 44, 48).
So I'm afraid that you need to use SCB[0] ~ SCB[2] for SPI Slave in this device.
moto
P.S. as far as I checked...
MOSI MISO SCLK SS
SCB0
P4[0] P4[1] P4[2] P1[3] or P4[3]
SCB1
P2[0] P2[1] P2[2] P0[7] or P2[3]
SCB2
P5[0] P5[1] P5[2] P0[3] or P5[3]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I looked at "PSoC 4 Serial Communication Block (SCB) 4.0"
Number of SS
This parameter determines the number of SPI slave select lines.
Only one slave select line is available in Slave mode and it is not optional.
The values between 0 and 4 are valid choices in Master mode. The default number of lines is 1.
So, P6.4 and P6.5 are not #0 the below.
P6.4 scb[3].spi_select1:0
P6.5 scb[3].spi_select2:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In the datasheet
Alternate Pin Functions
select0:0 for SCB3 seems to be P6.3
But in the Pinouts
There is no P6.3 in the 64-TQFP package (nor 44, 48).
So I'm afraid that you need to use SCB[0] ~ SCB[2] for SPI Slave in this device.
moto
P.S. as far as I checked...
MOSI MISO SCLK SS
SCB0
P4[0] P4[1] P4[2] P1[3] or P4[3]
SCB1
P2[0] P2[1] P2[2] P0[7] or P2[3]
SCB2
P5[0] P5[1] P5[2] P0[3] or P5[3]