Output comparator column output to GPIO in CY8C22x45, CY8C21345
Anonymous
Not applicable
Mar 26, 2012
04:59 AM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Mar 26, 2012
04:59 AM
Question: How to output Comparator column 2 and 3 on GPIO in CY8C22x45,CY8C21345?
Answer:
Write "CSCMPGOEN = 0x80;" for comparator bus3
and " CSCMPGOEN = 0x40;" for comparator bus2.
The TRM for the parts mentions for GOO6 and GOO2 bits of the register CSCMPGOEN as:
'Drives the selected CS comparator column 0 signal to GOO6' and 'Drives the selected CS comparator column 0 signal to GOO2' respectively.
This will be corrected in the next update to the TRM as 'Drives the selected CS comparator column 3 signal to GOO6' and 'Drives the selected CS comparator column 2 signal to GOO2'.
Labels
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous