PSoC™ 4 Forum Discussions
Hi,
I have purchased CY8CKIT-040 which comes with color pallete. I am to run LED blink application.
My primary goal is to evaluate Tunner and understand how to play with different tuning parameter. So I am trying the tunner GUI with CY8CKIT_080_CapSense_I2C project. I am able to build the project properly but whenever I start the TUNNER GUI i get error message as "Read Operation failed: Check I2C bus Connection"
I have Checked schematic, the I2C connection is there between processor and PSOC, but still I2C communication is failing. I have gone through old thread with similar problem and made sure to follow them as well.
Please help.
Ultimately, I want to this with my custom board, so thats later goal first to get this working. I have also purchased Kit-Prog.
Thanks
Pankaj
Show LessHi all
I want to know hardware considerations for capsense proximity sensing using only one wire. In datasheet it is given for button , slider etc.
Which parameters i should look for proximity sensing using only one wire. Is there necessity of Cmod Csh_tank Cint for proximity sensing using only one wire
http://www.cypress.com/file/46081/download
i am reffering the above pdf
Show LessDear fellows,
I prepared a beacon style project with a CY8C4247LQI-BL483 with Deep Sleep feature, basically implemented as in AN92584, things were running as expected.
The final version ships on CYBLE-224110 so once I had the material on my desk I upgraded the project as needed and there is a problem with Deep Sleep: it looks like the processor does not wake up correctly after a few cycles. If I prevent the code from going to (deep)sleep things are OK.
As the project is pretty tricky on some aspects I wanted to make sure Deep Sleep was correctly handled so I used the Advertisement sample code from AN92584, changed the target to match my hardware and added a software serial component to log what is going on. Things are not OK as the processor seems to be stuck after some sleep cycles
I attached the project for simplicity sake.
Does somebody see where I am mistaken ?
Thanks a lot for you kind help, sorry for any things I have done wrong in this post as this is my first one.
Maximilien.
Show LessCan we use I2C component in PSoC 4 BLE to scan the I2C-bus for devices? This can be done in Arduino using beginTransmission follows by endTransmission and check for a return value (http://playground.arduino.cc/Main/I2cScanner). Thanks for your help in advance.
Show LessHi, i'm trying to read a characteristic from server(peripheral). I found the CyBle_GattcReadUsingCharacteristicUuid function in API Document. Is there any example implementation of it? I'm getting CYBLE_ERROR_INVALID_PARAMETER error when i call that function. Can anyone give me an example project or something about this? I do not need notifications, write etc. Just wanna read a characteristic( which i know the uuid of it) from a server. Below is the code fragment which gave me the CYBLE_ERROR_INVALID_PARAMETER error:
.
.
case CYBLE_EVT_GATTC_DISCOVERY_COMPLETE:
readByTypeReqParam.uuid = 0x2A29u; // Characteristic UUID for Manufacturer Name String at Device Information Service
readByTypeReqParam.uuidFormat = 0x01; // 16 Bit UUID Format
apiResult = CyBle_GattcReadUsingCharacteristicUuid(connHandle,&readByTypeReqParam);
.
.
.
Show LessHi Cypress,
We would like to duplicate the wiggle antenna on the cyble-012012-10 module. Could you provide the layout specifications for that antenna? The antenna is not specifically detailed in the antenna app note.
Thanks
Rich
Show LessHi
I am learning to use the SPI mode of SCB component on PSoC 4200 device. How do I push exactly 194 bits to the slave device.
void SPIM_SpiUartWriteTxData(uint32 txData)
seems like it will push in multiples of 8.
Is there a possibility to achieve this?
Best Regards
Show LessI am using the CY8CKIT-042-BLE development board with the CYBL10573 BLE module board. And I am using the PSoC Creator 3.3 IDE for the development.
I am writing code for the PRoC as a SPI master to control a LCD. I can send data out by using the xxx_SpiUartPutArray() API function. However I do not know how to check when it finish sending the whole packet of data. On my previous experience, usually there are two ways:
1. keep checking a "BUSY" flag in a while loop, when the transmission is finished, it break out from the loop
2. Set up an transmission end interrupt.
I have looked the example code generated by the PSoC Creator, but I could not found a SPI examples using the above method. Instead, the code examples always assume there is a slave which will feedback data, and it check whether the number of byte transmitted is equal to the number of bytes received. However in my case the LCD will not feedback anything.
Could you provide guide and code example?
Frankly, the PSoC Creator generate a high level of abstraction code, but lack of detail explanation of using the API (Or it is very difficult to find them). I have also used Atmel, which use the same kind of abstraction, but I can find all examples for every MCU in its IDE. When I started to write the Atmel M0 MCU the first time, I can use only one day to drive all simple peripherals.
Show LessSimple problem but I can't seem to do it. How do you clear the Rx interrupt for an SCB UART block? The datasheet says write 1 to clear but where or how do I write this?
Thanks!
Show LessI want to be able to change between CYBLE_GAPP_SCAN_ANY_CONN_ANY and CYBLE_GAPP_SCAN_ANY_CONN_WHITELIST
modes based on some external input. Before starting the advertisement, I tried writing to cyBle_discoveryModeInfo.advParam->advType on startup, but the value is simply not used (the original value is still being used).
Is there an API that I am missing? Am I doing something wrong?
Show Less