PSoC® Creator™ Analog Coprocessor Design Stops Working when an Analog mux Input Pin Is Reassigned – KBA219949

Version: **



 Why does a PSoC Analog Coprocessor design stop working after an analog mux input pin is moved to a new location?



 In order for analog routing switches to close, the hardware block which contains them must be powered ON. In certain cases where the only switch used in a block is a dynamic mux control switch, a defect in the analog code generation can cause the block to not be automatically powered on at startup. This will be fixed in a future version of PSoC Creator. 


Add the following two lines of code to the beginning of the main function in main.c: 
             CY_SET_XTND_REG32((void CYFAR *)CYREG_CTB0_CTB_CTRL, 0x80000000u); 
             CY_SET_XTND_REG32((void CYFAR *)CYREG_CTB0_CTB_CTRL, 0x80000000u);