does anybody of you have experience with problems of the UART0- connection after writing to EXTMODE. from the errata-sheet: "Problem: A write to either the external interrupt polarity register (EXTPOLAR) or the external interrupt mode register (EXTMODE) will corrupt the VPBDIV register. A read of either EXTPOLAR or EXTMODE will be corrupted BY the VPBDIV register. If VPBDIV is "1" or "2" prior to any write to EXTPOLAR or EXTMODE, the CPU will hang up on the write to EXTPOLAR or EXTMODE. work-around: If VPBDIV is non-zero, write all zeroes to VPBDIV before reading or writing EXTMODE or EXTPOLAR, then write the proper value back to VPBDIV. In most applications this is a known and fixed value, but if there is a possibility of dynamic changes in VPBDIV, software will need to read VPBDIV, write zero to VPBDIV, read or write EXTMODE and/or EXTPOLAR, and then rewrite the value previously read from VPBDIV." i have also the problem when VPBDIV is zero. i tried a few ways to set it to zero before writing to EXTMODE, but i still can't use the serial-connection. what can i do? thank you andreas
Message
corruption of VPBDIV via EXTMODE
2004-09-09 by supertoll_trinity
Attachments
- No local attachments were found for this message.