Initialization of non-existing Ports in PSoCConfigTBL.asm file.
Anonymous
Not applicable
Mar 27, 2011
04:54 AM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Mar 27, 2011
04:54 AM
Question: In the PSoCConfigTBL.asm file, why do we see the drive mode initialization of non existing port pins?
Answer:
The PSoCConfigTBL.asm file is created keeping in mind the part with the largest number of pins in the particular family. For example, consider a project with CY8C29466, which has only ports 0, 1 and 2. In the PSoCConfigTBL.asm file, we see drive mode and related initializations for non-existing ports 3 to 7 as well. The reason for this is that, the CY8C29866, the part with the largest number of GPIO’s in the CY8C29 family, has ports ranging from 0 to 7 and in CY8C29466, these port pins physically exist on the die, but are not brought out to pins. So, even if the code looks redundant for CY8C29466, the code is executed to make sure that the GPIO pins on the die are configured to their default drive mode.
Labels
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous