PSoC™ 4 Forum Discussions
I am reading capsense on three sensors using the CY8CKIT-042. The sensors and the circuitry seem exactly the same on each. Two of them are giving readings of similar magnitude under the same conditions, but one of the sensors is giving reading of a lower magnitude under similar conditions. It seems that the only difference between the sensors are the pins that are being used. I am using P2[5], 2[4], and 2[3]. I think P2[5] is the one giving a weaker reading. I was wondering if some pins are more suited for capsense and whether this is expected behaviour.
Show LessHi:
(1) As show bellow the picture:
The Mailbox 5,6 and 7 neither "Full" nor "basic" type,can they be used to send the message when I the function uint8 CAN_SendMsg(const CAN_TX_MSG *message) to make a CAN tx handle?
(2)As show bellow the picture:
How should I know which mailbox message is transmitting if either mailbox 0,1,2,3,4 TX_REQ is set to 1? Because for my application ,I must know which mailbox message can't transmit success if an arbitration loss or a bus error happened during thetransmission.
Show Less
Hello, we need help for our school project.
We are from France and we have to create a weather station who gives informations abouts wind speed and wind direction.
Our problem is that we are working on Psoc (PSoC 4200M which is coded in C) and your documentations are for arduino.
Here are the types of errors that we have.
Can you help us to translate arduino into C,
thanks you very much.
Show LessHi, how can the example code MagSense_With_Feedback_LEDs be edited to include Encoder Dial sensing on the PSOC4 MagSense Eval Board CY8CKIT-148? If not possible, how can the Eval Board hardware be changed to test encoder feature. Thank you.
Show LessBelow, the same sentences are written in English and Japanese.
・English
I use GCC for Toolchain.
Should I write Option in gcc.pdf to Command Line?
・Japanese(日本語)
Toolchainに、GCCを使用しております。
gcc.pdfにあるOptionは、Command Lineに書けばよいでしょうか?
Regards
Show LessBelow, the same sentences are written in English and Japanese.
・English
Can the frequency of IMO be changed during Active Mode?
Is IMO set during Boot , and can not be changed at other timings?
・Japanese(日本語)
IMOの周波数はActive Mode中変更可能でしょうか?
Boot中にIMO設定され、その他のタイミングではIMO変更不可でしょうか?
Regards
Show LessI am looking at measuring capacitance reading as raw count in Bridge control panel using CY3280-MBR3 Evaluation kit. However I am unable to register any output chart in the control panel. I am using I2C mode. Does anyone know whether my editor configuration is right?
[SPEED=100K] [VCC=3.3V]
; Attempt to get attention
r 37 x p [delay=10] r 37 x p [delay=10]
w 37 00 78 00 78 00 00 00 00 00 40 15 00 00 7f 7f 7f 80 80 80 80 7f 7f 7f 7f 7f 7f 7f 7f 7f 03 00 00 00 00 00 00 00 00 00 00 80 05 00 00 02 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 0a 00 ff ff ff 0f 0f 0f 0f ff 00 00 00 00 03 01 58 00 37 01 00 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c9 8d p
w 37 86 02 p
; Raw config data
; 0x78, 0x00, 0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x15, 0x00, 0x00, 0x7F, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x05, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x0A, 0x00, 0xFF, 0xFF, 0xFF, 0x0F, 0x0F, 0x0F, 0x0F, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x58, 0x00, 0x37, 0x01, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC9, 0x8D
; #00 #02 #04 #06
; SENSOR_EN FSS_EN TOGGLE_EN LED_ON_EN
; 78 00 78 00 00 00 00 00
; #08 #09 #0A #0B
; SENSITIVITY0 SENSITIVITY1 SENSITIVITY2 SENSITIVITY3
; 40 15 00 00
; #0C #0D #0E #0F #10 #11 #12 #13 #14 #15 #16 #17 #18 #19 #1A #1B
; BASE_THRESHOLD0 BASE_THRESHOLD1 FINGER_THRESHOLD2 FINGER_THRESHOLD3 FINGER_THRESHOLD4 FINGER_THRESHOLD5 FINGER_THRESHOLD6 FINGER_THRESHOLD7 FINGER_THRESHOLD8 FINGER_THRESHOLD9 FINGER_THRESHOLD10 FINGER_THRESHOLD11 FINGER_THRESHOLD12 FINGER_THRESHOLD13 FINGER_THRESHOLD14 FINGER_THRESHOLD15
; 7F 7F 7F 80 80 80 80 7F 7F 7F 7F 7F 7F 7F 7F 7F
; #1C
; SENSOR_DEBOUNCE
; 03
; #1D #1E #1F #20 #21 #22
; BUTTON_HYS RESERVED BUTTON_LBR BUTTON_NNT BUTTON_NT RESERVED1
; 00 00 00 00 00 00 00 00 00
; #26 #27 #28 #29 #2A #2C #2E #2F #30 #31 #32 #33 #34 #35 #36 #37 #39 #3A #3B
; PROX_EN PROX_CFG PROX_CFG2 RESERVED2 PROX_TOUCH_TH0 PROX_TOUCH_TH1 PROX_RESOLUTION0 PROX_RESOLUTION1 PROX_HYS RESERVED3 PROX_LBR PROX_NNT PROX_NT PROX_POSITIVE_TH0 PROX_POSITIVE_TH1 RESERVED4 PROX_NEGATIVE_TH0 PROX_NEGATIVE_TH1 RESERVED5
; 00 80 05 00 00 02 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
; #3D
; LED_ON_TIME
; 00
; #3E #3F
; BUZZER_CFG BUZZER_ON_TIME
; 01 0A
; #40 #41 #42 #43 #44 #45 #46 #47 #48 #49 #4C #4D #4E #4F #50
; GPO_CFG PWM_DUTYCYCLE_CFG0 PWM_DUTYCYCLE_CFG1 PWM_DUTYCYCLE_CFG2 PWM_DUTYCYCLE_CFG3 PWM_DUTYCYCLE_CFG4 PWM_DUTYCYCLE_CFG5 PWM_DUTYCYCLE_CFG6 PWM_DUTYCYCLE_CFG7 RESERVED6 SPO_CFG DEVICE_CFG0 DEVICE_CFG1 DEVICE_CFG2 DEVICE_CFG3
; 00 FF FF FF 0F 0F 0F 0F FF 00 00 00 00 03 01 58 00
; #51
; I2C_ADDR
; 37
; #52 #53
; REFRESH_CTRL RESERVED7
; 01 00 00
; #55 #56 #5D #5E #61 #62 #63 #64 #67 #68 #69 #6A #70 #71 #72 #73 #74
; STATE_TIMEOUT RESERVED8 RESERVED9 RESERVED10 RESERVED11 RESERVED12 RESERVED13 RESERVED14 RESERVED15 RESERVED16 RESERVED17 RESERVED18 RESERVED19 RESERVED20 RESERVED21 RESERVED22 RESERVED23
; 0A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
; #7E
; CONFIG_CRC
; C9 8D
Show LessI am using PSoC creator with CY8C4025LQI-S411 and two self capacitance buttons.
So, for tuning parameters process, there is one option in the PSoC tuner tool for applying new parameters "To Device" that way functionality can be tested with the adjustment.
I'm trying to figure out is the chain of function calls that are performed in the micro side firmware to write the new parameter value coming from PSoC Tuner when "To Device" button is pressed.
Does anyone have a clue on what functions are called in the micro firmware?
Due to some restrictions, I'm looking for a way to tune that micro over UART, so, knowing the APIs/functions used I could probably replicate and set them up so that way when we get a UART tuning message I can do the same process.
Any advice is highly appreciated.
Thanks in advance.
Show LessHi how can I calculate the raw count in The magsense component ? like in Capsense it is explicitly stated the formula for the raw count but I could not find any of magsense is it the same with Capsense? here is the formula of raw count in Capsense
thanks
Show Lessi made a new AD9833 custom component i follow the video tutorials it compile with no error but when i add it to a project it give me this error
also i try to add the h file and c file but it couldn't find the directory
i've attached the file for the custom component