PSoC™ 4 Forum Discussions
Hi
I am building a project in which I go into deepsleep, wakeup upon a slow advertisement of 4000ms, take an adc sample and save an average to flash every 15 samples.
My issue is that following writing to flash the BLE module isnt waking up from deepsleep after 4 seconds anymore.
I understand that writing to flash affects the clocks and so I have called CyBLE_Stop() and CyBle_Start(StackEventHandler) before and after writing to flash.
I'm also concerned that the clocks are not being reinitialized following the flash write which could cause issues waking up on a BLE stack event.
Show Lessi am new on PSOC-4. Till now i am using psoc-1.
There is facility in psoc-1 which is that we can use GPIO MULTIPLE TIME in dynamic configuration.
is that any facility available in psoc-4 like that??
Show LessHi everyone I'm working with the Cypress BLE CY8C4248LQI-BL583
I have a thermometer and a barometric pressure sensor connected to the BLE, I'm parsing the data and sending it through the BLE, but when I try to read the data the maximum speed that I reach is .2s but I need to speed this to maybe .01s I don't know if this is possible I have a custom profile and I'm sending the data in uint8 arrays, the MTU is in 23
can you help me please
Alejandro Villa
Show LessHi
I installed PSoC Creator 3.3 and CY8CKIT-042-BLE Kit. Rev today.(11/Jan/2016)
But not found Eddystone example in it.
Where can I get this project sample ?
regards
Moto
Show LessIs it possible to preserve the value of a variable during a reset? This is obviously not always possible, for example if the power source is removed, but for other resets like hibernate (which I use to "power on" my device), it shouldn't be impossible. If so, how is this done?
Show Less
Hello!
I'm developing my first program in PSOC 4 and wanted to know if there is some way or example to measure the decibel an example would be very useful to me and if there is any way to modify IAS or LLS to put more alarms
First of all
Thanks Regards!
Show LessHello,
I cannot change a characteristic on a 4200BLE using my iPhone 5. Here is the xcode running on my iPhone:
____________________________
let data: String = newAlarmValue.text! //this is coming from an xcode text field.
let value = data.dataUsingEncoding(NSUTF8StringEncoding)
print(value!)
print(alarmValueCharacteristic!) //the alarmValueCharateristic type on the 4200BLE is UInt8
selectedPeripheral!.writeValue(value!, forCharacteristic: alarmValueCharacteristic!, type: CBCharacteristicWriteType.WithoutResponse)
_______________________________
I print characteristic and value in my console to check I am writing to the right characteristic. I can change the value in the characteristic with the PSoC Creator interface and confirm the change has occurred in the xcode console. But I can't get the characteristic value to change over the air.
Do I need to do something in the event hanlder in main.c?
Thanks,
Pat
Show LessHello,
I experience some strange behavior.
Even if I set the Drive Mode in my code, this has no effect in the output.
I need to set the Rx to enable the pull up mode as the input can be not connected.
Here is the code snip:
BOOL xMBPortSerialInit( UCHAR ucPORT, ULONG ulBaudRate, UCHAR ucDataBits, eMBParity eParity ) { /* prevent compiler warnings because all settings are fixed in the UART Block */ (void)ucPORT; (void)ucDataBits; (void)eParity; /* Oversample fixed to 8 */ uint32 divider; divider = CYDEV_BCLK__HFCLK__HZ / 8 / ulBaudRate ; UART_clock_SetDivider(divider); ModBus_UART_Start(); ModBus_UART_SetCustomInterruptHandler(ModBus_RxTx_Isr); ModBus_UART_rx_SetDriveMode(ModBus_UART_rx_DM_RES_UP); return TRUE; }
Does anyone had this issue?
regards
Juan-Carlos
Show Less