سلام
کسی twi رو راه اندازی کرده؟
دیتاشیت رو میخونم سر درنمیارم! نسبت به atmega پیچیده تره !!
اولین کاری که باید بکنم طبق دیتاشیت اینه:
To enable the TWI, the programmer
must perform the following steps:
• Program the PIO controller to:
– Dedicate TWD and TWCK as peripheral lines.
– Define TWD and TWCK as open-drain.
• Enable the peripheral clock.
The TWI interface may be clocked through the Power Management Controller (PMC), thus the
programmer must first configure the PMC to enable the TWI clock.
تعریف کردن peripheral به چه شکل انجام میشه؟
منظور از open-drain مقداردهی رجیستر multi drive هست؟ (PIOx_MDER)
فعال کردن PMC با رجیستر PMC_PCER انجام میشه؟
کسی twi رو راه اندازی کرده؟
دیتاشیت رو میخونم سر درنمیارم! نسبت به atmega پیچیده تره !!
اولین کاری که باید بکنم طبق دیتاشیت اینه:
To enable the TWI, the programmer
must perform the following steps:
• Program the PIO controller to:
– Dedicate TWD and TWCK as peripheral lines.
– Define TWD and TWCK as open-drain.
• Enable the peripheral clock.
The TWI interface may be clocked through the Power Management Controller (PMC), thus the
programmer must first configure the PMC to enable the TWI clock.
تعریف کردن peripheral به چه شکل انجام میشه؟
منظور از open-drain مقداردهی رجیستر multi drive هست؟ (PIOx_MDER)
فعال کردن PMC با رجیستر PMC_PCER انجام میشه؟
دیدگاه