Cypress Perform

Home > Support
support.cypress.com     Bookmark and Share
Support

Knowledge Base Article



Add P1[4] for Rb in CY8C21234B SmartSense™ Version 1.30 - KBA83339

Last Updated: 12/27/2012

Version: **
Question:Why can I not connect the Rb resistor to a pin other than P1[1], in CY8C21234B SmartSense device?

Answer: This is a defect in PSoC Designer™ version 5.2 Service Pack 1(and earlier). For the SmartSense version 1.30, the CapSense® configuration wizard allows only one configuration for Rb, that is, to connect it to P1[1]. But since P1[1] is used as SCL (ISSP clock) line, it is not always possible to use it for Rb.

The defect will be fixed in the future versions of PSoC Designer but for the current version the following workaround can be used:

  1. Download the attached “SmartSense.asm”.
  2. Copy this file (and replace the old SmartSense.asm) to the following folder:
    C:\Program Files\Cypress\PSoC Designer\5.2\Common\CypressSemiDeviceEditor\Data\Stdum\SmartSense\Ver_1_30\CY8C21034

It should be noted that the configuration wizard will still show the Rb connection to P1[1]. But the hardware connection for Rb gets modified when the API SmartSense_Start() is called in “main.c” of the project. This workaround modifies ACE00CR2, ACE00CR1, ALT_CR0, CMP_GO_EN, PRT1DM0, PRT1DM1, and PRT1DM2 registers in the SmartSense_Start() API. The details of these registers can be found in the Technical Reference Manual (TRM) for CY8C21x34.



File Title Language File Size Last Updated
  Add P1[4] for Rb in CY8C21234B SmartSense device English 49 KB 04/25/12

Related Categories: CY8C21x34B, CapSense® Controllers




Provide feedback on this item to help us improve:

How likely are you to recommend this article to a friend or colleague?

Not at all likely
0
1
2
3
4
5
6
7
8
9
10
Extremely likely

Was this item helpful?
Yes
No
Maybe


Additional comments:

Email:

Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 06/13/14