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

cross mob
yuku_4421226
Level 1
Level 1
5 likes given First like received First like given

Hi,

My environment

OS:windows10 64bit

PSoC Creator:4.2.0

PSoC Programmer:3.28.5

KIT: CY8CKIT-044, CY8CKIT-026

I want to use LIN and I2C at the same time. However both communication use SCL(4.0) and SDA(4.1) port in example program. Can I use both if I use other ports as SCL and SDA?

Thanks,

Yuki Kurihara

0 Likes
1 Solution
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

PSoC 4200M has 4 SCBs.

P4[0] and P4[1] are used by SCB[0].

So if you assign the other I/F to other SCB such as

SCB[1] (P3[0], P3[1]) or SCB[2] (P5[0], P5[1]) or SCB[3] (P7[0], P7[1]),

you should be able to use both same time.

moto

View solution in original post

2 Replies
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

PSoC 4200M has 4 SCBs.

P4[0] and P4[1] are used by SCB[0].

So if you assign the other I/F to other SCB such as

SCB[1] (P3[0], P3[1]) or SCB[2] (P5[0], P5[1]) or SCB[3] (P7[0], P7[1]),

you should be able to use both same time.

moto

Hi Moto-san,

I'll try to follow your advice.

Thank you your help!

Thanks,

Yuki Kurihara