2022-10-24 07:05 PM
2022-10-25 12:11 AM
Hello,
you can have a look to this previous post:
Serial clock and Serial data on SPC5STUDIO evaluation board
Best regards.
2022-10-25 12:50 AM
hello sir/madam,
for the software I2C demo: "SPC560Dxx_RLA I2C Test Application for Discovery", it seems be an i2c master demo. would you please a demo for i2c slave? thx!
Regards,
Eric Li
2022-10-25 06:37 AM
Hi Mr Li,
you are perfectly right; this example code is master side only.
The reason is that 90% of time the MCU is using I2C software to control a slave HW component.
We do not have slave example at SPC5Studio side.
So you will have to find another example code on Internet to develop your slave part.
You may ask in STM32 forum ?
Best regards,
Oliver
2022-10-26 12:07 AM
hi sir,
do you mean it is able to use STM32's i2c slave sample code on SPC7 despite they come from different product line and have different operating clock/speed,...etc? thx!
Regards,
Eric Li
2022-10-26 12:50 AM
Hello Sir,
no, I mean as soon as you need to find another sample code (from every company/organization), you may ask to STM32 forum if they have one (I don't know as I work only on SPC5 family)
Best regards,
-Oliver