PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
This is on Kickstarter the first PSOC BLE app, and they have a dev kit also, looks like they have a small platform that has about 12 sensors on the board so you can do almost anything, check it out...
Show LessI am using FreeRTOS (blink LED) demo project for PSOC and modified the project to handle Application sleep mode using vApplicationIdleHook function. I was wondering is it possible to go to deep sleep mode in Idle state?
I have attached sample project.
I am new to freeRTOS so any sample project or documents
Show LessThe original project used BLE v1.20 and included one byte of dynamic Manufacturer Specific Data in the Advertisement packet. Upgrading the component to v2.10 causes the Manufacturer Specific Data to be dropped. The count byte just before the 2-byte company ID is unchanged. I would go back to v1.20 but need to stay in Fast Advertising Mode.
Show LessFrom what I've seen, for connection handles, you simply declare something along the lines of:
CYBLE_CONN_HANDLE_T connectionHandle;
and it stores the connection handle when connected. My question is how do you differentiate connection handles? If I want to, for example, send a write request to another device, how do I put in the correct connection handle?
Show LessI need to run a PWM block with a fixed clock and have that clock, along with the PWM signal available on output pins.
When I try to use the TCPWM block, it requires a cy_clock module, rejects my use of a FreqDiv. So I configure a cy_clock to drive it and then can not get that connected to an external pin.
I see, in the datasheet, that there should be an advanced tab on the clock configuration that allows me to set the type to something that might be usable but that tab is not present. I'm guessing it's not available with the specific part I'm using (CY8C4245AXI-483 44-TQFP)
I also tried using a frequency divider to one of the PWM modules but had trouble making them work.
I really just need a basic PWM controllable output with the clock signal.
I apologize if this is a stupid question. Thank you for any help...
David
Show LessHey everyone, I am new to PSoC and I am working on a project and am trying to use PSoC to collect data (voltage and time) and at the same time graph the data over a range of 0-5V on the CySmart app. I would only be using an analog input, 5V, and GND pins from the sensor I want to use. I was wondering if it is possible to do this and if so can someone offer some hits on how I can start this project? Also, would it be possible to store this data to use on other software such as Matlab or Excel?
Show LessHi, so here goes.... I have a sensor that i talk to over I2C everything seems to be setup correctly as I'm able to query the device and get valid data over I2C, what i try to do next is put my device to sleep and then wake it up over I2C by utilizing the
moduleName_sda_Write(uint8 byte)
moduleName_scl_write(uint8 byte)
as the spec requires SDA be held LOW for a certain amount of time.
The problem i run into is it doesn't seem that my sda_write() is ever happening as im not seeing them on my logic analyzer and the device never wakens, anyone have any hints as to where to look next?
Show Lessso, I tried using the CyDelayUs() function, but it sucks (always delays something like 6us+whatever you pass the function).
does anyone have a recommendation for delaying from single microseconds up to hundreds of micro seconds? anything longer than hundreds of microseconds does not need to be that precise, but I want something that when I intend 3us delay, that I actually get 3us ±0.5us. also, something that is robust enough to handle a change in core clock speed without needing to be re-coded for the new clock frequency. is there anything like that in a library?
should I just make a loop of nops? if I make a loop of nops, how can I sample what my current cpu speed is, so I can adjust the loop to maintain accuracy?
I'm curious for the CY8CKIT-042 dev board, but I also just bought a CY8CKIT-059 and would like a solution for both.
Show Less