PSoC™ 4 Forum Discussions
Hello,
I have been trying to make the BLE_FindMe01 example work using a CYBLE-202007 (connected to the KIT CY8CKIT-042-BLE for programming) but I am not able to see its advertisement, no matter what I use to scan (the BLE Dongle that came with the CY8CKIT-042-BLE, other Cypress modules, ...).
I am using PSoC Creator 4.2. I downloaded the BLE_FindMe example using it.
I made the following changes/additions to the original code:
- Set device to 202007-01
- Set Adv/Scan Tx power and Connection Tx power to -12 dBm
- In main.c:
/* Enable CYBLE-202007-01 BT Power Amplifier */
/* Define the test register to switch the PA/LNA hardware control pins */
#define CYREG_SRSS_TST_DDFT_CTRL 0x40030008
- In the StackEventHandler, when the event is CYBLE_EVT_STACK_ON:
/* Set ECO capacitance trim value to the value required by CYBLE-202007-01 */
/* https://community.cypress.com/docs/DOC-10498 */
CY_SET_XTND_REG32((void CYFAR *)(CYREG_BLE_BLERD_BB_XO_CAPTRIM), 0xD0D0);
/* Enable CYBLE-202007-01 BT Power Amplifier*/
/* Configure the Link Layer to automatically switch PA control pin P3[2] and LNA control pin P3[3] */
CY_SET_XTND_REG32((void CYFAR *)(CYREG_BLE_BLESS_RF_CONFIG),0x0331);
CY_SET_XTND_REG32((void CYFAR *)(CYREG_SRSS_TST_DDFT_CTRL), 0x80000302);
I tried it with both 3.30 and 3.52 version of the BLE with similar results: I am not able to see the advertising while scanning with other BLE devices.
I have attached a copy of the project I am using.
I suppose I might be missing something related the amplifier of the module.
Show LessHello, I am working with an Evalkit (PSoC4000S, 4045) and above mentioned example.
Now I logged the data coming from I2C-Bus, see attached picture. After a read command at adress 0x08, I always get first 0xC6, 0x75, 0x00, 0x09, 0xB8, 0x0B, 0x05 etc....
Unfortunately (including help of CapSense Register-Map) I am not able to find the meaning of every byte?
Where can I see or find that?
thank you very much
Show LessI need read switch that change status on both edges of input. I placed interrupt but can't solve problem with spikes.
Any of code that make debounce is appreciate.
Show Less
Dear Sirs.
Hello,I'm your user from China.I bought several MiniProg3 programmers from your company.I now want to run the ppcli.exe automatically by using batch file,and I need program's IC is <CY8C4146AZI-S433>.but I can't see how to make the batch file from the PDF file your provided<PSoC Programmer CLI User Guide.pdf>.
Can you help teach me?How can I finish the work?
Look forward to hearing from you soon.
Thank you very much!
Show LessI can read back the JEDEC ID of the FRAM, but writing and reading to the FRAM's buffer is problematic.
I am using a Beagle SPI/I2C probe, and see a write to the buffer OK, but when reading back, I get a NAK error when I sent a Start.
Is there any way to reset the bus when I see an error like this?
I've attached the "minimal" archive of the project. Questionable write is in fram.c - fram_write_buffer() and fram_read_buffer().
The FRAM is on the other side of an I2C to SPI bridge, which probably doesn't help.
After a seemingly OK transfer of the data TO the FRAM, attempting to perform a start transaction results in the NAK.
I'm sure it's a rookie mistake, but I can't see it.
Thanks - I'm going to keep beating my head against the desk...
Show LessHi,
I am new to PSoC and trying to understand it one bit a time. I need help in a project I am working on in which I intend to serially transmit data using NTX0 ,NRX0 (Radiometrix)RF transmitter and receiver modules respectively. I have made hardware connections with one PSoC4 kit and NTX0 and other PSoC 4 kit to NRX0 module.
I have some doubts which I was hoping could get cleared here at the community;
1. What are the blocks I should use in the schematics?(I am using ADC and UART at TX end, and only UART at the Receiving end)
2. How to configure the pins in PSoC creator at the transmitting end and at the receiving end?
3. How to program the receiver (PSoC 4) to receive the data from the other kit(TX)?
4. How to show this communication using PuTTy?
Awaiting response.
Thank you,
Arshiya Tabassum
Show LessHi I want to interface thermistor with PSOC4 . so i am using cypress example program.
i am using 10k thermistor . while using this example project i am getting some random outputs. kindly help me to resolve this. i have attached the thermistor data sheet and program.
thermistor part number:B57540G1103H000.
psoc kit used :CY8CKIT-042
thanks and regards
Rajakumar
Show LessHello,
When I directly connect Logic Low '0' to Digital Output Pin, it seems that the output pin should be always Low but it is always high voltage when I checked the output pin with Digital Multimeter.
Why is its output always high?
Best regards,
...
...
Add my project. if you find any problem, please let me know anything.
Show LessHello,
I am using a capsense Evalkit (4045) with example Code CE210291.
That Programm is adjusted for a One Button/Sense with low power consumption.
Now I'm trying to modify that programm to work with 8..9 Buttons. I have configure "Capsense" with 7 additional buttons.
Unfortunately still only one Button is detected.
I think I need to add additional code in the main.c, but I am not sure how much I need to change? Maybe it need only one line of code?
I think I have to modify follow line, but I am not sure - maybe somebody can confirm/ give some correction, advice?:
line 176
/* Configure button sensor parameters and connect it to AMUXBUS */
CapSense_CSDSetupWidgetExt(CapSense_BUTTON0_WDGT_ID, CapSense_BUTTON0_SNS0_ID);
CapSense_CSDSetupWidgetExt(CapSense_BUTTON1_WDGT_ID, CapSense_BUTTON1_SNS0_ID);
CapSense_CSDSetupWidgetExt(CapSense_BUTTON2_WDGT_ID, CapSense_BUTTON2_SNS0_ID);
CapSense_CSDSetupWidgetExt(CapSense_BUTTON3_WDGT_ID, CapSense_BUTTON3_SNS0_ID);
etc....
line 243
/* process button widget */
CapSense_ProcessWidget(CapSense_BUTTON0_WDGT_ID);
CapSense_ProcessWidget(CapSense_BUTTON1_WDGT_ID);
CapSense_ProcessWidget(CapSense_BUTTON2_WDGT_ID);
CapSense_ProcessWidget(CapSense_BUTTON3_WDGT_ID);
etc...
line 248 ... line 300
/* If button is active, reset software counter */
if (CapSense_IsWidgetActive(CapSense_BUTTON0_WDGT_ID) || CapSense_IsWidgetActive(CapSense_BUTTON1_WDGT_ID) || etc....)
{
/* Reset the software counter if any button is active. */
softCounter = RESET;
}
else
...
..
/* If button is active, switch to active mode */
if (CapSense_IsWidgetActive(CapSense_BUTTON0_WDGT_ID) || CapSense_IsWidgetActive(CapSense_BUTTON1_WDGT_ID) || etc....)
{
/* If sensor is active in slow-scan mode, skip sleep
* and perform sensor scan
*/
thank you
Show LessHello,
Our product uses PROC BLE Module (CYBLE-022001-00), and we are running some emissions test at the Test Labs,And we are using CYSAMRT to run the tests.
And Test Lab folks want the way to control the BLE module Operating frequency. I think there is a CHANNEL MAP selection command under SEND COMMANDS tab,
The 37 bit value could be used to control channels, but I am not really sure which bit controls which frequency.
Could you please confirm if I am on right path or there is other way to control the operating frequency?
Thanks,
Naga.