PSoC™ 4 Forum Discussions
Hi everyone!
I have designed a wireless application where cysmart dongle is used to record data using ble as the way of communication.
It works quite fine but when the connection falls , I push a button to reconnect and 'sometimes/randomly' the application crashes.
The error message which appeares before to crash is:
Uncontrolled exception: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'CySmart.Common.Base.CyBlePrioritySyncQueue`2[[CySmart.Common.Base.Hardware.CyBleCommandType, cyblecommonbase, Version=1.2.1.553, Culture=neutral, PublicKeyToken=null],[CySmart.Common.Base.Hardware.ICyBleCommandRequest, cyblecommonbase, Version=1.2.1.553, Culture=neutral, PublicKeyToken=null]]'.
in CySmart.Common.Base.CyBlePrioritySyncQueue`2.CheckDisposed()
in CySmart.Common.Base.CyBlePrioritySyncQueue`2.ClearMask(TKey key)
in CySmart.DongleCommunicator.CyBleDongleIoAsyncMgr.NotifyResponse(CyBleDonglePacket responseData)
in CySmart.Common.Base.Hardware.CyBleDeviceIoAsyncMgr.ResponseWorkerThread()
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ThreadHelper.ThreadStart()
The thing is that it is usual to loose the connection because it is a situation where user is in movement and I often push that button and the reconnection is succesfull but sometimes it crashes.
Thank you in advance!
Show LessI have a SPI slave mode problem with interrupt mode.
When I use polling communication is normal. I can receive SPI Master frame and response slave frame data.
But, I try interrupt mode. it Will be stuck in the interrupt sub function.
The program strucks on this line in debug mode. --> while (PACKET_SIZE != SPI_SpiUartGetRxBufferSize())
The blow is my PSoc creator setting and program screenshot.
my program screenshot
1. ISR function
2. Enable interrupt
3. ISR function
Show Less
I’ve found:
- I2C FM+ mode is NOT supported in PSoC 4100S due to lack of OVT-GPIO pins.
- I2C speed appears to be limited to 50KHz due to lack of PLLs
- Using ISRs appears to have an affect on the maximum I2C speed.
Are there other features within PSoC components that either enable or limit the maximum speed for I2C communication?
I’m specifically having issues attempting to implement an I2C slave in a CY8C4125AZI-S433 at any speed over 50kHZ.
The design worked without issue in a PSoC 4200M (using CY8CKIT-044).
The PSoC 4S parts do NOT contain PLLs, which appears to limit the accuracy of internal clocks, thus limiting higher I2C speeds. Reference: Knowledge Based Article clarifying the difference between PSoC 4S and 4S Plus @ https://community.cypress.com/docs/DOC-14404
All comments appreciated.
Greg
Show LessHi All
I am new to PSoC , why do I see this red mask on the component in my schematic ?
I updated the component library version
Thanks in advance
Show Less
Hi,
This is announcement for new custom component for interfacing with real-time plotting software SerialPlot:
SerialPlot: interface to real-time data charts
Regards,
/odissey1
Show Less
I have uploaded PWM Example Code (brightness control) to PSOC4BLE using USB. Now I would like to update the code without using the USB but using Android BLE / OTA. I think I need to publish the App in the Google playstore along with the HEX code and transfer to the PSOC4 BLE using Cysmart App. Is this correct? How do I do these? Is there any application notes for this?
Show LessHi
We used PSOC 4 CY8C4246AZI-L445 USB controller. We use this controller for single USB output for keyboard and mouse data.
But our customer windows 7 PC not connected to internet the keyboard can not find driver.
Please suggest how to download USB HID driver or send any cypress USB HID driver file.
Show Lessis there a reference for changing the Capsense Gesture component in the code example 'CapSense_Csd_P4_Trackpad_Gestures' to the component CapSense v7.0?
Code changes?
thank you
Show Less[Products]
- CY8C4147AZI-S445
- CY8C4147AZI-S475
PSoC Creater's Bootloader for PSoC4 As far as I read the specification, it seems that the version upgrade of Main via Booter only supports UART, SPI and I2C.
Q.
Is there a way to use Bootloader with CAN?
Best Regards,
Harukawa
-------------------------------------------------
CypressPSoC CY8C4147 について
CY8C4147AZI-S445
CY8C4147AZI-S475
PSoC Createrの PSoC4用 Bootloaderですが 仕様を読む限り
Booter経由のMainのバージョンアップを UART,SPI,I2Cにしか対応していないようですが
BootloaderをCAN対応にさせられる方法なり 事例なり ありませんでしょうか
以上、よろしくお願い致します。
Show LessHi,
My micro-controller type is cy8c4014lqs-422. I would like to ask, what is recommended scan rate by I2C Master from buffer I2C Slave. I want read continuously only 4 bytes. How frequently CapSense buttons should be pulled? There is some technical recommendation from Cypress?
According to Jacob Nielsen in his book Usability Engineering, from 1993, which is considered an important reference in Systems Usability and User Experience:
- 0.1 second is about the limit for having the user feel that the system is reacting instantaneously, meaning that no special feedback is necessary except to display the result.
But this is too much general. I'm assuming scan rate shall be much less.
Show Less