PSoC™ 4 Forum Discussions
I am currently using a PSoC 4 and a ADC SAR SEQ ADC to measure current of two Infineon IFX007TAUMA1 half bridge parts. I have set my range high limit to what i believe is 750mV but the SAR ADC always trips early. I believe I have done all my setup and math correctly. I was hoping some could look over my project and to see what i have done or calculated wrong.
Problem:
Note in this project I am driving a large motor in two directions with two 55 Amp Infineon IFX007TAUMA1 half bridge parts. I run my system from 10 to 36 Volts DC. Every thing works properly as far as code and interrupts, but I can not seem to be able to get the range detection setting of 750mV to activate or trip at this voltage. It always trips at a much lover voltage around 450mV to 500mV.
In my code I deactivate the range detection interrupt for 150mS to accommodate the high spike in current when the motor first turns on/reverses direction. I then activate the range detection in the ADC for detecting motor over current threshold set by.
This all seems to work but not at 750mV as expected
Below I have attached output of the current wave form from the Infineon half bridge current sense pin that is feed into one of the inputs of the ADC. Note after the initial current spike the current settles to about 500mV.
I will attach below my EXCEL calculations for setting the current range settings in Hex.
I am hoping someone can help with what i am doing wrong
Thanks
Scott
Show LessI'm trying to debug a CYBLE-222014-01. When I program and start debugging I get the message 'Continuing target program' and there is no option to run from main, it is already running. If i try to reset, I get the same message. If i try to pause, i get this message 'The target program has stopped at: file: line: -1 function: ?? address: 0xFFFFFFFE'. I know this code is working as it runs fine on a colleagues computer. I know its not hardware as I have multiple devices and it is doing the same thing on all of them. I have uninstalled and reinstalled PSoC 4.2. Please help.
Show LessI've seen the project "Integrated Test" that allows regulatory testing over HCI, 2-wire, MTK, and button press. However, all of this assumes that the BLE component has been configured in HCI mode. However, we need to perform regulatory testing with the rest of the product behaving normally. Will the RegulatoryTest.c module work as expected if the BLE component is not configured for HCI? If so, can I put the BLE back into "normal" operation by performing a stop, init, and start sequence?
Show LessHi all,
I am trying to connect MCP2515 CAN controller with my CY8CKIT-042 for logging data from the vehicle.
I am trying to make it work in loopback mode. But the sensor is giving some garbage values to the both receiver buffers of MCP2515.
I am attaching my code along with this and someone please help on this to find out the result.
Show LessGood day,
I have developed a wireless switch to detect for a change in magnetic field for a Science experiment.
I have done up the prototype PCB and have 3 boards assembled.
Of these 3 boards, only 1 board is able to be detected by KitProg2 and can be program and debug with no issue.
Power check for the other 2 boards shows no issue.
I have attached the design that I have and would like to know if there is any issue with the design
Alternatively, you may also advice other possible areas that I can check.
For your advice.
Thank you & Best Regards,
Show LessHello, everyone I'm trying to interface the SFH7050 sensor which contains 3 LEDs and 1 Photodiode.
I need to calculate the value of the feedback capacitor (Cf). To do this I have the next equation:
Rf is a value I can choose, C_d is on the datasheet so I need to figure out GBP and C_TIA from the PSoC's Op-amp Datasheet.
I've read it and I guess GBW_HI it's the GBP the equation mentions, am I right?
Plus I haven't been able to find the input capacitance of the Op-amp. Where can I find it?
Thanks
We use Psoc4 CY8C4247QI-BLE483 as peripheral device and Android device as central device. After successful connection, data is transferred from the peripheral device to the central device using notification mode. The problem is that the transmission becomes very unstable when the data frequency exceeds 100Hz (send notification once at 10ms). After the data has been successfully transmitted for a period of time, the transmission fails (no data transmitted to the central device, but the connection state was still successful). Each successful data transmission duration is random, sometimes more than ten seconds, sometimes a few minutes, the longest time is about 10 minutes. If the frequency of notification is set to 50Hz (send notification 20ms once), no problem will occur and the data transmission can be maintained all the time. Have a friend to encounter similar problem, be how to solve? Is it a BLE bug?
Show Less