cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

DaCh_4286001
New Contributor II

Hi,

I am now trying to make PSoC 5LP microcontroller use SPI interface to communicate with a CAN MCP25625 from Microchip company. How should I connect these two in Creator?

Now my schematic looks like this.

pastedImage_0.png

Thank you

Simon

0 Likes
Reply
1 Solution
BragadeeshV
Moderator
Moderator

Hi,

If you want to use PSoC 5 LP device as SPI master, please refer to the following code example. It is not required for you to use the CAN component in PSoC 5 since MCP25625 supports SPI interface.

https://www.cypress.com/documentation/code-examples/ce95377-spi-master-and-slave-psoc-35lp

Regards,

Bragadeesh

Regards,
Bragadeesh

View solution in original post

0 Likes
Reply
3 Replies
BragadeeshV
Moderator
Moderator

Hi DaCh_4286001​,

PSoC 5 device supports CAN interface. Please refer to the code example to interface PSoC 5 device with the CAN device.

https://www.cypress.com/file/121846/download

PSoc Creator - > File -> Code example -> Filter by PSoC 5 LP -> CAN

Please let us know why you require a SPI interface here.

Regards,

Bragadeesh

Regards,
Bragadeesh
0 Likes
Reply
DaCh_4286001
New Contributor II

MCP25625 CAN works through SPI interface. So I am thinking that PSoC MCU will be SPIM to send data. But for CAN I am not sure if I should use CAN component or just don't use anything for it.

For CAN component in PSoC creator,  I think it is only valid for Cypress CAN

Simon

0 Likes
Reply
BragadeeshV
Moderator
Moderator

Hi,

If you want to use PSoC 5 LP device as SPI master, please refer to the following code example. It is not required for you to use the CAN component in PSoC 5 since MCP25625 supports SPI interface.

https://www.cypress.com/documentation/code-examples/ce95377-spi-master-and-slave-psoc-35lp

Regards,

Bragadeesh

Regards,
Bragadeesh

View solution in original post

0 Likes
Reply