PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
I use the demo projcet, the BLE_HID_Keyboard project.
First step, i program the project into the demoboard(CY8CKIT-042-BLE).
Second step,when the demoboard runs, it will advertising.
Forth step,i used the an android phone to connect the demoboard ,and it is successed.
Fifth step, i disconnect the link, and the i program the demoboard again, so there is no bonding key on the demoboard.
Sixth step, i reconnect the android phone to the demoboard , it is failed. But there is no CYBLE_EVT_GAP_AUTH_FAILED event.
So how can i get the CYBLE_EVT_GAP_AUTH_FAILED event when the ble authentication failed?
I use the demo projcet, the BLE_HID_Keyboard project. First step, i program the project into the demoboard(CY8CKIT-042-BLE). Second step,when the demoboard runs, it will advertising. Forth step,i used the an android phone to connect the demoboard ,and it is successed. Fifth step, i disconnect the link, and the i program the demoboard again, so there is no bonding key on the demoboard. Sixth step, i reconnect the android phone to the demoboard , it is failed. But there is no CYBLE_EVT_GAP_AUTH_FAILED event. So how can i get the CYBLE_EVT_GAP_AUTH_FAILED event when the ble authentication failed?
Show LessThe builtin chip in my psoc-4 development board (25$) got shorted out. I changed it with a new one.
Now this chip is not being programmed. The device is being shown in the programming window, but it says " The target device is already in use by another client" and also there's another message "The device was recognized. But Creator does not support programming it at this time"
Please help
Show LessIs it possible to use PWM whilst the processor is in deep sleep? i.e setting up PWM whilst the processor is active and then leaving it running?
Show LessHello
what is use of two API
RTC_SetAlarmMask()
RTC_GetAlarmMask()
actually I am trying to compare current time and alarm time. If alarm time and current time match ,alarm occur. If both time does not match , no alarm occur. I am not sure but I think I have to use RTC_GetAlarmMask(). so that we can compare both time
Show LessHey guys,
following situation: I have a blood pressure device that I want to read out. Currently my firmware connects to the device and I am able to read out some device information using the UUIDs given in the SIG and CyBle_GattcReadUsingCharacteristicUuid API. I'm not able to sniff through the device using CySmart. Therefore I don't know any handles. Is there a way to receive them using the PSoC Creator?
Currently I'm working with the PRoC.
Thanks for your help.
kind regards
Lars
Show LessHi, i am trying to debug with PSOC4200 BLEkit PIONER BASEBOARD, but i have some problems,it seem that PSOC creator doesn't run the program, i press halt key and doesn't do anything. I place breakpoints and doesn't occur anything.
I have been thinking, about the program doesn't work properly with big BLE codes....
Some experiences whit that?
Thanks for all
Carlos
Show LessHi,
I come from the Alt*ra world (FPGAs with soft Nios processor), so this is my first look at using something different..
Aside from a few quirks, like the 'Find All Active References' not finding all the active references, I think the PSoc Creator is a very good tool... the design flow is intuitive and user-friendly. I still haven't played with it enough to know if I I'll be able to implement custom logic in Verilog, but I like what I see so far.
My biggest concern at the moment however, is (2) issues with the Arm debugging for the Motor Kit. ( I'm using the Pioneer Kit with the Sensorless BLDC example, C:\Program Files (x86)\Cypress\CY8CKIT-037 Motor Control EVK\1.0\Firmware\Example Projects\Sensorless BLDC Motor Control).
#1 Once 'CyGlobalIntEnable' is executed. I can no longer single step in/over any code. Instead stepping always puts me in the 'CY_ISR(PWM_Drive_ISR)' . To get around this, I use breakpoint with 'run' resume only (no stepping). Other times, the program will execute (Led D9 will blink), but no breakpoint (including the one in CY_ISR) ever hits.. instead when I pause it, the code is in 'CyDelayCycles'.
#2 The reason I'm debugging is because the motor fails to run, presumably because the state machine in the code never changes from STOPPED to NORMALRUN. What's strange however, is that the watch window shows all the correct variable values needed for it to execute BLDC_Start(), i.e. No Error, runFlag==TRUE, and restartFlag==TRUE. See attached animated gif.
<CODE>
if((BLDC_Control.errorCode == NO_ERROR) && (BLDC_Control.runFlag == TRUE) && (restartFlag == TRUE))
{
BLDC_Start();
}
</CODE>
Any suggestions what I could be doing wrong to cause this? I'm using the Creator 3.2 on the Pioneer Kit, running the example with no changes.
Show LessHi, i am new here, i have PSOC4200 BLE, and i am developing a firm with i need to send some data and read other data. Send data over sensors, and receive data about diferent mode of operation.
I have an android APP, to manage this information. My board asume the role of GATT Server Peripheral. Send data over Custom Service, and the APP receive this information and show it.
The UUID of the services, on the APP are:
-------------------------------------------------------------------------------------------------------------------------------------------------
public class SampleGattAttributes {
private static HashMap<String, String> attributes = new HashMap();
public static String VALORES_REGISTRO = "0000fff0-0000-1000-8000-00805f9b34fb";
public static String CLIENT_CHARACTERISTIC_CONFIG = "00002902-0000-1000-8000-00805f9b34fb";
public static String VALORES_SERVICIO_POSICION = "0000fff0-0000-1000-8000-00805f9b34fb";
public static String VALORES_CARACTERISTICA_FRONTAL = "0000fff1-0000-1000-8000-00805f9b34fb";
public static String VALORES_CARACTERISTICA_TRASERO = "0000fff2-0000-1000-8000-00805f9b34fb";
public static String VALORES_SERVICIO_MOTOR = "0000fff0-0000-1000-8000-00805f9b34fb";
public static String VALORES_CARACTERISTICA_MOTOR = "0000fff3-0000-1000-8000-00805f9b34fb";
public static String VALORES_SERVICIO_ALARMA = "0000fff0-0000-1000-8000-00805f9b34fb";
public static String VALORES_CARACTERISTICA_ALARMA_FRONTAL = "0000fff6-0000-1000-8000-00805f9b34fb";
public static String VALORES_SERVICIO_MODO = "0000fff0-0000-1000-8000-00805f9b34fb";
public static String VALORES_CARACTERISTICA_MODO = "0000fff7-0000-1000-8000-00805f9b34fb";
public static String VALORES_CARACTERISTICA_NOTIFICACION = "0000fff4-0000-1000-8000-00805f9b34fb";
static {
// Sample Characteristics.
attributes.put(VALORES_REGISTRO, "Device Data");
attributes.put("0000fff3-0000-1000-8000-00805f9b34fb", "Valor Guardado");
}
-------------------------------------------------------------------------------------------------------------------------------------------------