PSoC™ 4 Forum Discussions
About MBR3, when are Capsense Parameters calculated in SmartSense?
About PSoC, timings of calculation is described below table
at "PSoC® 4 and PSoC 6 MCU CapSense® Design Guide".
The customer wants similar imformation.
Best Regards,
Inoue
Hi
I'm trying out the Throughput Example - GATT Notification - Data Outgoing.
When testing the example using CySmart App I'm able to enable the notifications and everything is fine.
But it is not possible to disable the notification with CySmart App. Even writing direct to the Characteristic to disable the notification is not working.
I get following message "Error: gpm.M0117: Write characteristic descriptor timed out"
Show LessHi,
I'm using the FOC firmware with a custom motor.
Is there a way to speed up the PWM? I read that for higher speeds it can be necessary to use a higher PWM frequency. How can it be done?
Also, why is the IDAC for Ibus current limit set to 150uA? Isn't it a very low value?
Show LessCan't seem to program a part.
I get this error.
I have tried both powered externally and powered by Miniprog3.
Since the 8 pin package has no reset I believe you have to set up as shown to do a power cycle.
Both SWD-CLK and SWD_ IO are outputs on the target board. Driving MOSFETS with 10K pull downs.
Thanks
Dave
Show LessThe data sheet for this part ( http://www.cypress.com/documentation/datasheets/cyble-022001-00-ez-ble-creator-module ) indicates that it offers a "BLE stack compatible with Bluetooth 4.1". I'm using PSoC Creator 4.2 (4.2.0.641), which documentation for the BLE component indicates that it "implements the core BLE functionality as defined in the Bluetooth Core Specification 4.2".
We are encountering a situation in which our abnormally large MTU is not being properly conveyed to the client. I'm wondering whether we are hitting the 32-byte MTU limit in BLE 4.1.
I find it interesting that at no point in the connect/notify/read/disconnect cycle does the client request the MTU size. It might well be the client program (Microchip's SmartDiscovery on Android) that simply does not ask for this information.
If all of my assumptions are incorrect, can someone show me how to notify on large packets?
(we would use shorter packets and just keep the channel open if it weren't for battery power constraints)
Show LessHi,
I'm checking the datasheet, BLE_v3_30.pdf . And I can't find anywhere where the bonding data is stored after calling the CyBle_StoreBondingData function.
Is there anyone who can help me?
Tks
Jordi
Show LessI have been trying to use the Kit 037 to control a BLDC motor using FOC. The kit is working fine with the included motor, but when I try to make it work with my own motor (RoboDrive ILM 25x 04) it fails at high speed.
As far as I know, only these parameters should be modified:
int32_t Motor_i32PolePairs = 4; // the pole pairs of rotor
float32_t Motor_f32Ld = 0.006; // the d axis inductance
float32_t Motor_f32Lq = 0.006; // the q axis inductance
float32_t Motor_f32Res = 1.1; // the resistance between two phases
float32_t Motor_f32Ke = 2.83; // inductive voltage constant between two phases,RMS value
I have observed that information in the datasheet does not match the values in the example project "Sensorless FOC Motor Control". The datasheet states that the line to line resistance is 0.8 ohm, while the value in the firmware is 1.1. Why is this?
How is the "inductive voltage constant between two phases,RMS value" calculated?
Also, how to obtain the other values (Ld, Lq and voltage constant)?
I know that my motor has 7 pole pairs, 0.5ohm of terminal resistance, 170uH terminal inductance, 24V rated voltage and 24kRPM rated speed.
Is there a document or something I can read to better understand the other parameters and the firmware algorithm? I would like to change the closed loop parameters too, but can't find what does everyone of them do in the algorithm.
Show LessThe cy8c4025lqi-s412 chip I used does not have Capsence CSD module, only Capsence module, how to design sliding touch with Capsence module, existing routines are implemented by Capsence CSD module.If you can, please provide a code routine for me to study, thank you very much!!!
Show LessHello, I'm approaching to PSoC4 - BLE. I need to implement an Automation I/O Profile (server and Client) but I did not find examples. Can anyone send me a sample code?
I will use CYBLE 022-001-00 as target device.
Thanks
Show Less