Требуется программист в Зеленограде
- обработка данных с датчиков; ColdFire; 40 тыс. e-mail:jobsmp@pochta.ru |
EXTINT.2 Incorrect setting of EXTMODE and/or EXTPOLAR register while trying to set them to desired value
Problem: As an illustration, trying to set EXTMODE to 0x1 or 0xd would result in EXTMODE to be set to 0x0 instead.
Work-around:This problem is related to EXTINT.1 and hence the same workaround applies with an additional step.
The steps involved in the configuration of the EXTMODE and/or EXTPOLAR would be as follow:-
1. Write 0x0 to VPBDIV
2. Write the desired value to EXTMODE or EXTPOLAR register
3. Write the same value to VPBDIV (additional step)
4. Restore the VPBDIV to the previously saved value or simply write to the register again with the desired value.