CAN module PSoC 4100s

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

cross mob
OmAb_4672891
Level 2
Level 2
10 replies posted 5 replies posted 10 questions asked

Hi Everyone,

I am currently trying to configure the PSoC 4100S to receive and transmit via CAN. However, I was not able to find any code example regarding this. Doing some digging I found that I am supposed to make the CAN libarries myself. I have written libraries to initialze and use the UART, ADC, PWM, etc and so I am confident i can flip bits in registers and what not but this is a new MCU to me and I have no idea where to start (What are the register names, etc.) I am currently reading over the TRM but would highly appreciate any advice. Thank you

0 Likes
1 Solution

Hi OmAb_4672891​,

We recommend you to use PSoC 4100 S Plus device if you require CAN interface in your design since it has dedicated CAN hardware block. PSoC 4100 S does not have a CAN block in it.

https://www.cypress.com/documentation/datasheets/psoc-4-psoc-4100s-plus-datasheet-programmable-syste...

As GaneshD_41​ suggested you can use the code example of PSoC 4 M to port it to the PSoC 4100 S plus device.


Regards,Bragadeesh

Regards,
Bragadeesh

View solution in original post

0 Likes
3 Replies
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi,

Please go through the following code example on simplex CAN communication in PSoC 4M. You can use the same firmware flow to design your application for PSoC 4100S device also.

https://www.cypress.com/documentation/code-examples/ce97311-psoc-4-m-can-simplex-communication-capse...

Thanks

Ganesh

0 Likes

I am using this MCU CY8C4146AZI-S433. Even though it is a PSoc 4100s Device I wouldn't be able to implement this since there is no CAN controller, right?

0 Likes

Hi OmAb_4672891​,

We recommend you to use PSoC 4100 S Plus device if you require CAN interface in your design since it has dedicated CAN hardware block. PSoC 4100 S does not have a CAN block in it.

https://www.cypress.com/documentation/datasheets/psoc-4-psoc-4100s-plus-datasheet-programmable-syste...

As GaneshD_41​ suggested you can use the code example of PSoC 4 M to port it to the PSoC 4100 S plus device.


Regards,Bragadeesh

Regards,
Bragadeesh
0 Likes