cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

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

chaitanyav_41
Employee

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

Version: **

Translation - Japanese: PSoC®Creator™アナログコプロセッサデザインは、アナログmux入力ピンが再割り当てされると動作を停止します - KBA219949 - Community Translated (JA)

Question:

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

Answer:

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.

Workaround:

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);

0 Likes
Version history
Revision #:
1 of 1
Last update:
‎Jun 13, 2017 05:06 AM
Updated by:
 
Contributors