PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi everybody,
I can not program Analog coprocessor SSOP82 with mini Prog 3.
I have updated all the drivers and software, but PSOC Creator4.1 does not support this device.
Show LessHello,
I have been using all 3 WDTs in the design: WDT1 - general watch dog with reset at 2 sec, and also used as 1 sec interrupt timer(in certain cases); WDT0 - 2 sec interrupt, WDT2 as 32 s period timer. As I know there is no way to use CySysWdtWriteMatch for WDT2. My question is if I want to have to change the period of WDT2, lets say 32, 16 and 8 seconds, how can I change the period? Is it even possible and if now can someone explain why?
Thank you!
Show LessHi,
I define the UUID of my service in the BLE component and in the advertisement packet
the UUID type is : Incomplete list of 128-bit service class UUIDs(0x06).
What needs to change or add so the UDID type will be: Complete list of 128-bit service class UUIDs(0x07)??
Thanks
Show LessHello,
PSoC4 chip CY8C4247AZI-L485, I2C master transfer (write) to 24C04 EEPROM memory (ST chip M24C04WMN6).
I found that I2C Master component add random delay time between 5..50ms when execute I2CMasterSendStart() function.
This demo project has wired EEPROM memory but in end user application (without EEPROM memory) this behavior also exist.
This issue isn't linked with EEPROM.
Logic analyzer shows I2CMasterSendStart() transfer. Last bit before ACK is delayed (level low) in this case it takes 55ms.
This show, first transfer has delay (approx 50ms) , second transfer is correct, third transfer also has delay (59ms)
In my opinion this is SCB I2C fixed block issue. In end user application this issue delay all I2C transfers about 500ms.
Question:
How to eliminate delay in I2CMasterSendStart() transfer?
As a reference the same PSoC project I run at CY8C4245AXI-L483, all works correctly.
Best regards,
Zbigniew Kuczbanski
Attachment:
1. PSoC4L_I2CM_4247.cyprj.Archive01.zip - ready to use project for CY8C4247AZI-L485. It's fully repetitive.
2. PSoC4L_I2CM_4245.cyprj.Archive01.zip - the same source code for CY8C4245AXI-L483. All works correctly, only for reference purpose.
uint32_t I2CWriteN(uint8_t ui8I2CAddr, uint8_t ui8RegAddr, const uint8_t *ptrui8Data, uint32_t ui32Len, uint32_t ui32I2CTimeout_ms)
{
uint32_t ui32Result;
ui32Result=I2CM_I2CMasterSendStart(ui8I2CAddr,I2CM_I2C_WRITE_XFER_MODE,ui32I2CTimeout_ms);
ui32Result|=I2CM_I2CMasterWriteByte(ui8RegAddr,ui32I2CTimeout_ms);
while (ui32Len--) {
ui32Result|=I2CM_I2CMasterWriteByte(*ptrui8Data++,ui32I2CTimeout_ms);
}
ui32Result|=I2CM_I2CMasterSendStop(ui32I2CTimeout_ms);
return (ui32Result);
}
Show LessUsing the PSoC 4 BLE Pioneer board and the example project called "BLE Proximity Bonding- Peripheral" by GRSR I can connect to my iPad Air 2 using the "LightBlue" app just fine, and they both act as if they are bonded if I power down the Pioneer board and power it back up....unless I leave its power off for 7 minutes or more. Less than 7 minutes and they re-connect as they should. More than 7 minutes and it's as if they never heard of each other before. I've also tried the same test using an app I created for the iPad with TechBASIC with the same results.
Any thoughts or advice anyone?
Thanks,
Dennis
Show LessHi All,
I've been able to power up my bluetooth module and see it advertising from my phone.
I've also been able to capture events transmitted from the module to my external MCU via UART.
Now, I am trying to write commands to the module... I do not seem to be getting the appropriate responses however. I just seem to be getting an echo back of whatever I send. eg. /ping will return to me /ping. I am terminating all the commands I try with '\r'.
I was thinking perhaps it has to do with this deep sleep mode mentioned in section 3.1.5.5 of the EZ-Serial User Guide. However, I imagine if the unit was truly in deep sleep, it wouldn't respond anything to my commands? In the guide I can't see anything about this behaviour, has anyone any experience with it?
Show LessHello everybody,
My last problem, discussed in this thread https://community.cypress.com/thread/32891, covered the issues that I encounter implementing the privacy feature. The last project attached contain a solution that works for 4.1 and 4.2 BLE phones with some problems on 4.0 and also on cypress dongle with 4.1 BLE.
Now I would like to add the OTA upgradeable stack and application example. I had the example running on older boards that we had manufactured but without privacy so I believed everything was ok but now with privacy I found out that I was overconfident. My problem is that if a bonded device trigger an upgrade the code will go to the stack project ok but there the BLE component has public address and the bonding info is not present and also the phone will need to authenticate again which is not desirable since the user should not do anything only to approve the upgrade.
My questions will be:
1) in order to keep the privacy, after an initial bonding only the bonded phone to be able to connect, do I need to duplicate the privacy code on the stack as well?
2) if I save the bonding with CyBle_StoreBondingData in application is the info available on stack if I retrieve it with CyBle_GapGetBondedDevicesList? (as I read the info should not be available) How can I pass this info from application to stack and back to application if the stack is not upgraded?
Thanks in advance!
Show LessHello.
I am new to the Cypress Developer Community.
I recently purchased the CY8CKIT-042-BLE-A Bluetooth Low Energy Kit, for a work related project.
I am using the CY5670: CySmart USB Dongle as a Master, to receive and log RSSI data from the CYBLE-022001-00 EZ-BLE PRoC Module.
After establishing connection to a device, the CySmart 1.2 desktop tool is used to manually log RSSI data, using the <Get RSSI> command, found on the send command’s tab.
How can this process be automated, without having to manually send the <Get RSSI> repeatedly?
The data logging requirement is to read 10 values of <Get RSSI> every 5 minutes, for a period of 3 hours.
Your insight will be highly appreciated.
I have attached a word document, for a screen capture of the CySmart 1.2 gui, set up, if that helps
Regards,
Andrew
Show LessI am using 4200M dev kit for a project. The PSOC is configuring an SCB as SPI Master in configured mode and talks to three slaves off board. Two of my slaves use the falling edge of the clock to clock in the data whereas one slave uses the rising edge of the clock to clock in the data. I am also using Firmware controlled chip select for each of the slave
Is it possible to change the SPI Sub mode for each of the slave at run time via any API? I looked through the data sheet for the SCB component version 4.0 and could not find any.
Show Less