Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

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

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

Community-Team
Employee
Employee
50 questions asked 10 questions asked 5 questions asked

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
412 Views
Contributors