PSoC™ 4 Forum Discussions
Hey All,
I am using PSoC Creator 4.0 for the CYBLE-014008-00 and I have an I2C bus set up on pins 1.4 and 1.5 which is SCB0. I am pretty new to PSoC but when I set up an O-Scope on all pins and run the example project SCB_I2cCommMaster01 code, I don't even see a clock signal, and it gets hung up here:
/* Waits until master completes write transfer */
while (0u == (I2CM_I2CMasterStatus() & I2CM_I2C_MSTAT_WR_CMPLT))
{
}
I think i am missing something, but for the life of me, I can't figure out what it is.
Show LessHello everyone
I´m developing a BLE GATT client and GAP central, and i want to find my handle of some services that i created using the following event to find my handle of my data characteristic
CYBLE_EVT_GATTC_READ_BY_TYPE_RSP:
readResponse = (CYBLE_GATTC_READ_BY_TYPE_RSP_PARAM_T *) eventParam;
and this event to find mmy handles of data characteristic descriptor:
CYBLE_EVT_GATTC_FIND_INFO_RSP:
findInfoResponse = (CYBLE_GATTC_FIND_INFO_RSP_PARAM_T *) eventParam;
I am using the 100 projects in 100 day: UART_TO_BLE_CENTRAL, it´s where I found the documentation, but I have a problem,
how do I will know on which list are my handles that i need?
for example on the project of 100 day they use the following example
if((0x29 == findInfoResponse->handleValueList.list[3]) && \
(0x02 == findInfoResponse->handleValueList.list[2]))
{
txCharDescHandle = findInfoResponse->handleValueList.list[0];
txCharDescHandle |= findInfoResponse->handleValueList.list[1] << 8;
}
How they did know that on array 3 of the list, the information of the handle was?
I attached a pictures of the list of the services, I need the QuatServ
Thanks
David Caraveo
Show LessHi,
I'm still making little projects to get familiar with the DMA engine on PSoC4M (and PSoC4L).
This project https://github.com/C47D/4M_DMAed_SPI tries to use DMA to send and read data via SPI, i did a function to change the source, destination and number of bytes to be transferred, but i'm getting troubles with it, i think i'm not waiting enough time before exiting the custom function, or maybe i'm missing DMA parameters that needs configuration.
Has somebody tried to change DMA parameters on the fly?
I spend some time searching on the forum and there are just a few topics about this.
Thanks in advance
Carlos
PD: the project on the git repo is done on Creator 4.0 and CY8CKIT043 kit as a target, v2 project is the current one :).
Show LessHi,
I m new with BLE and totaly stupid about it. I would like to know how to use the PA integrated for more range(db power).
thanks in advance
Show LessI'm using BLE_Temperature_Measurement example at BLE 012011-00.
I want to hold measurement interval value that enter from CySmart -> Health Thermometer Service -> Measurement interval -> ASCII data at a variable.
Briefly,
a variable = measurement interval value ;
Show LessI just designed in a CYBLE-014008-00 on a 5V supply, and I haven't been able to recognize the device in PSOC Creator. After confirming my pin connections over and over again, I was trying a few things and found that it WOULD recognize the device if I used a 3.3V supply on this. Has anybody else seen this? / How can I get it to work with my 5V supply? Thanks.
Show LessI am making development board of CYBLE - 214009 - 00 that can be connected to breadboard.
Because it is high at the agency, I would like to purchase CYBLE - 214009 - 00 at the Cypress Store.
However, Cypress Store does not know how to purchase CYBLE - 214009 - 00.
Is there anyone who knows how to purchase?
私はブレッドボードに接続できるシンプルなCYBLE - 214009 - 00のボードを作っています。
CYBLE - 214009 - 00は代理店では値が張るので、サイプレスストアで購入したいと考えています。
しかしながらサイプレスストアでのCYBLE - 214009 - 00の購入の仕方が分かりません。
誰か購入方法を知っている人はいませんか?
Show LessHello,
The DTM/HCI example works fine for speeds up to 115200 baud.
However for higher speeds the systems fails due to improper clock setup.
How to setup the clock for e.g. 460800 baud?
At 24Mhz and divider 3 i get: 8Mhz which is a bit from the optimal 7.373 which will give bit errors once in a while (and it does).
Changing the IMO to 30Mhz gives a nicer 7,5Mhz.... but then it stops working all together. Not sure why. Should work better, but the entire system seems to stop working.
It is a bit unfortunate that the DTM does not work out-of-the-box with anything above 115200. At 115200 it is a bit hard to use the "data packet length extension" for anything as that would require much higher bandwidth at full speed.
How do i resolve this, so i can run faster on the UART in the DTM/HCI example? Is this a bug and/or missing feature?
/pedro
Show LessHello,
I have a project where I am attempting to use SPI to transmit information between two PSOC devices. The device on the white circuit board is a CY8C4245PVI-482.
The black circuit board is a CY8CKIT-059.
The CY8CKIT-059 is a SPI master that requests information be sent from the CY8C4245PVI-482 slave upon a string command. The data request is terminated by a line break.
As my code stands now, the data request arrives from the master intact and successfully executes the command parse routine in the firmware for the CY8C4245PVI-482 slave. The slave is then supposed to send a serial number back to the master. The characters "ABC\n" never arrive back reliably or intact to the master.
I checked activity on the MISO and all the lines. It all looks OK, so I think there is some poor code practice I am using. Please assist me in resolving the data transfer issue I am having back from the slave to the master. I have the project files attached for both the slave and master. hopefully what I am doing hardware wise and my code is self-explanatory.
Thanks
Show Less