現在 製品試作に実装しテスト中ですが
UARTでフレーミングエラーがまれに発生しており 原因と対策を検討中です
型番:CY8C4147AZI-S475
質問は
UARTのMedian Filterが どういう仕組みで 外来ノイズに対して 有効なのかどうかを知りたいです
PSoC UARTのデータシートについて
Document Number: 002-20171 Rev. *B Page 138 of 216
の Median filter の項目についてですが
This parameter applies 3 taps digital median filter on input path of RX line. This filter reduces thesusceptibility to errors.
The default value is a Disabled.
このパラメーターは、RXラインの入力パスに3タップのデジタルメディアンフィルターを適用します。
このフィルターは、エラーの影響を受けやすくします。 デフォルト値は無効です。
と 機械翻訳では ”エラーが起きやすくなる” ような 意味になるのですが
実際にはどうでしょう? また それを使用した時の 弊害はあるのでしょうか?
I am using the USB HID example from cypress. On the Cy8CKIT-059 (psoc5) it is running fine. I have to use CY8C4247AZI-L485 in a custom board.The system is self powered. I connected D+ D- and VUSB to the pins of the USB connector. I can programm but USB enumeration is not completed. The flow hangs in the while loop
int main(void)
{
uint16_t OUT_COUNT;
uint8_t* response;
CyGlobalIntEnable; /* Enable global interrupts. */
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
/* Start USBFS operation with 5-V operation. */
USBFS_1_Start(USBFS_1_device,USBFS_1_5V_OPERATION); // USBFS_1_3V_OPERATION
while(USBFS_1_bGetConfiguration() == 0x00)
{
/* Waiting for device to be configured */
}
I also tried the 3V operation. I checked the USB configuration and tried all options avaliable
also using P0.0 with a voltage divider connected in parallel to VUSB. What do I miss? How can I get the device running?
Show Less
I like to use this device running an USB - HID profile. According datasheet Pin 13.1 (D-) 13.0(D+) and P13.2 VBUS (5V from USB?). Datasheet of USB tells me that I also have to assign VBUS to P0.0 ..(for 4200L devices). For me this is all not clear how to wire. It would be very great if your datasheet hold a schematics of all possible scenario.. how to connect. Pease assist !!
I like to run it as self powered, Not Bus powered. Please tell me the exact setting in USB configuration, and how to wire... what to connect where and how, Thanks.
Show LessDear All,
Can i have any project on LM35 + PSOC4 ? for my reference.
As i am working on one project right now in which i have to interface PSOC4 with LM35 and based on temperature out from LM35 i have to send commands on UART to master controller.
Naintech.
Show LessI have a running USB project with only a USB block in TopDesign. And I have a second complete project with pinning and pheriperals but USB does not work. I compared both USB settings and did not find any difference. Ist there a way to clone this projects that I will get the USB in second project working by overlaying both projects
Show LessI have a CYBT-213043-EVAL board and the CYBT-213043-Mesh board. I downloaded the Eclipse IDE for modus toolbox 2.2 and opened the Mesh application and the RFComm application. I was successful building, programming and running both applications using the USB connection for each board. I now want to modify and debug each application. I purchased and received the CY8CKIT-005 miniprog4 kit to accomplish the debug. I downloaded the software for the CY8CKIT-005 miniprog4 kit and I believe I was successful. 1st question, is this the correct kit to perform debug? 2nd question, is there documentation to show how to physically connect the 5 pin or 10 pin connector of the CY8CKIT-005 miniprog4 kit to the eval boards? 3rd question, is there specific manual for debugging?
Show LessHi,
What happens to PSoC4 if RS-232 serial cable is unplugged during a bootlodable update by the bootloader via UART? Does the bootloader keep waiting for the next UART reception?
Since it's only halfway written to Flash, it may lead to corruption of the bootlodable. But if PSoC4 is reset and the Host System sends the bootloadable image again, I think it's possible to update the bootloadable.
Best regards
Show Lessuint8 ProgramData(uint32 address, uint8* data, uint32 length)
{
.........
}
I want to define this function in ram so that after hardwa reset it will disappear. I tried to change the link file add a section in ram area and use "CY_SECTION".It builded successfully but it failed in programming.It showed that the hex file not correct.Could somebody tell me how to modfiy this code?🤔
Show LessHello,
We know that the "CE210291 - PSoC® 4 CapSense® Low-Power One Button" project transitions between Deep Sleep and Active mode to achieve CapSense with low power consumption. When the Deep Sleep current is measured using CY8CKIT-041-40XX with the power supply voltage set to + 3.3V, it is several μA.
On the other hand, when the Deep Sleep current is measured with the power supply voltage set to + 5 V and the VREF set to 2.021 V, approximately 350 μA is consumed.
Do we need to put VREF to sleep before executing CySysPmDeepSleep ()?
If the power supply voltage is + 5V and the Vref is 2.473V, the Deep Sleep current will be several μA.
We would like to adjust the gain of raw count value with Vref.
Best regards.
Yocchi
Show Less
I am trying to connect to a PSOC4 BLE device via PC using Cypress DLL.
When I try to pair to the device, the DLL function (result.Device.Pair) returns a "fake" success, because the device does not show that pairing did succeed at that moment.
Questions:
1. Is there a way to know if pairing truly succeeded? Checking device side is not an option.
2. If not, how long does "result.Device.Pair(cyPairSettings)" take?
3. This is another issue, why does sometimes GattMtuExchanged (..) does not occur?
(after running :Peripheral_.GattClient.ExchangeMtu(cyGattExchangeMtuInfo);)
Thanks!
Show Less
Expert II
Esteemed Contributor
Employee
Honored Contributor II
Employee
Employee
Honored Contributor II
Employee