PSoC™ 4 Forum Discussions
Please tell me the operating principle of the 5th generation capsense csd.
What are the tuning parameters?
I'm working on a design that needs a 25 bit shift register with PLD output taps at 0, 8, 12, 16 and 24.
First stage is a D-FF. But it appears that a 24 bit UDB SR can't provide taps, nor can 3 8 bit UDB SRs provide the 12 bit tap. So my architecture is D-FF, SR 8, 8 D-FFs, SR 8. Now the questions:
1. When I designed it, the build tool gave me a warning about async clock crossings. All of the above is connected to a single clock, yet the SR 8 outputs are, it claims, clocked from CyHFC. I'm a bit lost on how that got there.
2. Using the above topology, the tools are going to use duplicate macro blocks for the two SR 8s, which would have been combined if I had used an SR 24. Further, there is no need for load, store or reset, so it really shouldn't need any macro cells.
3. I'd probably be better off just configuring two UDBs, but I haven't figured out how to do that (how to get symbols to place on the schematic.
4. I'd probably prefer to do the whole thing in Verilog and forget the schematic, but I haven't been able to find a Verilog primitive for the UDB. Presumably there is one for the ALU and separate ones for the counter and other parts, possibly even for the Control, Status and FIFOs, which aren't needed in this part of the design.
5. The UDB document claimed there would be a tab at the bottom of the schematic to access the Verilog code generated by the page. I had hoped I could use that as a model for any or all of the above shortcomings, but no such tab appeared.
I'm fairly proficient at hardware design and Verilog (not to mention embedded firmware development, but this is my third experience with PSoC Creator and my first experience with UDBs, so I'm in a learning curve. I did build one sample project to get me oriented.
I have attached a screen shot of the intended design. It is part of a larger hardware design for a 4200L
Show LessDear guys,
In order to save power, I need to set the MCU into deep sleep mode when there is no working for MCU.
I found a API (CySysPmDeepSleep())of entering to deep sleep mode from code example, and I just use it simply in my code.
but it seems I got same current consumption with previous software which doesn't contain deep sleep API.
Now the current consumption will always be 5/6mA from VDD(3.3V), but my target is less than 10uA.
so I got failure in this trying.
can any body tell me how to use this API to enact deep sleep mode?
here is my function about how to set mcu to deep sleep mode:
void SleepCmd(void)
{
if((CHMode == M_CHOFF)&&(UI_BTDETECT_Read() == 1)&&(F_ONOFF == 0)&&(BATCloseLEDCount == 0)&&(OCPLEDCount == 0))
{
SleepDelay++;
if(SleepDelay >= 200)
{
SleepDelay = 0;
Meas_ENOP_VREF_Write(0);
CySysPmDeepSleep();
}
}
else
{
SleepDelay = 0;
Meas_ENOP_VREF_Write(1);
}
}
Hello,
i have a problem in getting up FreeRTOS for PSoC4:
the vTaskDelay(pdMS_TO_TICKS(500)); -> never return
MainTask runs only onces.
Main_Task_2 is working as aspected.
all Libs are up to date.
Have anybody a sample Project for PSoC4 and FreeRTOS I am wondering that is no Example availible?!
BR
Andreas
Show LessHi guys!
I'm trying to implement a bootloader where I can reprogram the internal psoc flash with a program stored in an external flash.
I'm following this document on the steps that I need to program, I don't need all of them since its not an external programmer, I am programming from "inside" the chip. I get the hex file from the HexFile Parser program so I guess the hex file is correct.
I can write on the flash rows but once I finish programming it, nothing happens. What can I be missing?
Show LessHello everyone,
I am facing this issue with the CapSense tuner that I cannot seem to troubleshoot.
Is there any solution for this issue.
I added screenshots below of the configuration parameters for both the Tuner and EZI2C
BSH 遇到过彩sliver bonding的MCU在damp test中出现migration issue. 作为引进新的part number, 需要确认这个信息。谢谢!
Hi, I need the 3d model for this component: CYBLE-14008-00
Many Thanks for Help
kirk67
Dear friends,
I'm trying to build up a program to drive an e-toothbrush. I use 3.7V Li-Ion battery to be the power source.
but I found that the ADC value for battery voltage always be read out with different value even the voltage is same.
I heard that the ADC function must be calibrated when programming MCU in factory.
can any body tell me how to do the ADC calibration? and how we should modify program with this calibration?
many thanks!
Show Less