PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hello,
I'm Usin and SPI on a PSoC40xxS and I need to change on the fly from master to slave and back.
Can anyone send me a sample code?
Thanks,
Alfonso
Show Lesshello,
about CY8C4126AXI-S433, is there an example for watchdog?
thanks
Henry
Hi,
In a BLE project I was asked to change FW to start advertising while connected as a peripheral device, and then send information by advertising (to phone app). I have not been able to do this, when connected and I try to advertise the connection drops, and when advertising and I connect, it stops advertising. I'm fairly new to BLE but have learned a lot with this issue.
Details:
Using PSoC 4.3, BLE component version 3.4
The device is CYBLE-212019-00
Thanks, James Osborne
Show LessHi ,
I am using the cy8c4128lqi-bl543 chip and my application requires to write sometimes to the user flash (~ 1 time per month).
I am writing to the flash during BLE connection with an App (the App send the field , I write it and then send Ack).
I see that in some cases , this action causes the BLE stack to stop working (Eventually ending in a WDT reset) . The function which is not returning a value (essentially halting the system ) is the one below (When I want to send data):
Do you have any idea why it can happen?
Show LessI 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 Less