PSoC™ 6 Forum Discussions
Hi All,
1. 我这边客户在使用PSOC63 的时候遇到了一个问题.
在使用DFU 的情况下 ,客户将看门狗例程作为APP 下载后 , 看门狗超时复位后 进入未知状态,不能复位.
使用的例程是: https://www.cypress.com/documentation/code-examples/ce220060-psoc-6-mcu-watchdog-timer
2.使用外部晶振时,休眠功耗较高.客户目前使用的是如图 IMO(8Mhz)内部RC振荡器进行倍频使用,客户希望使用
AltHF:BLE ECO的外部32Mhz 晶体作为系统频率.让主控拥有更精确的时钟,降低温漂等外界环境对时钟的影响.但是配置好之后,系统进入Deepsleep
之后功耗10mA 左右,使用IMO 倍频到同样的主频(144),在Deepsleep状态只有 大约 20uA.@
Show LessThere were several discussions last year asking about the emFile component for the PSoC 6.
The answers were mostly saying that it was due late 2018.
When is going Psoc 6 to support EmFile Component? and
Component support schedule(USB)
Is there a new revised schedule for the emFile?
Also, will it be supported in both ModusToolbox and Creator?
Thanks and best regards,
Ryan
Show LessI would like to design a dual axis DC brushless motor controller IC. (2 X rated voltage 12V, 1.5A max current)
The motors will have hall sensors and quadrature encoders.
I would like to have a simple trapezoidal motion manager with speed and position loop control.
Is there a reference design and coding project for this?
What is the recommended controller for this application?
Show LessHi,
I'd like to confirm maximum through rate of SPI communication regarding two products CY8C624AAZI-S2D04 and CY8C6245AZI-S3D02.
These products will be able to choose octal SPI and through rate is 640Mbps. Is my understanding correct?
I found description "Supports single, dual, quad, dual-quad, and octal interfaces w/ throughput up to 640 Mbps" in datasheet.
Best regards,
Shohei
Show LessUsing PSoC 5 BLE (latest version, latest version of PSoC Creator etc.) and I have (finally) managed to get an app that sends notifications.
However it only works if I build for debug and then start a debugging session (on CM4). All I need to do in that session is to start it running and I can start and stop the notifications. (The read function works as well.)
However if the only change I make is to program the PSoC 6 so it runs without the debugger (i.e. no recompiling or linking - as far as I know it is the same image that is being loaded but without the debugger startup) then only the read functions work.
The values come from an ADC that uses an ISR at the end of each scan. Inside that ISR are the calls to Cy_BLE_GATTS_WriteAttributeValueLocal and CyCLE_GATS_SendNotification.
It seems to be that it is a timing issue with the way the applications start up between the cores (with the debugger active CM4 will start up a number of seconds after CM0; without the debugger it will be milliseconds or less) but I'm not familiar enough with the internals of BLE to know where to start tracking this down.
Any suggestions will be appreciated.
Susan
Show LessAll I need to do is send an advertisement every few seconds. Eventually I will add some manufacturer's data that I get from a sensor. Ultimately this will be moved to a PSOC 4 BLE because the 6 is serious overkill for this simple of an application.
So far my attempts have not resulted in any advertisements.
The BLE module is set up as a Broadcaster with a single core. GAP Settings include a fast advertising interval of 1000ms min and max with no timeout.
The following code is the bare bones code of what I thought should be needed on CM0p
int main(void)
{
__enable_irq(); /* Enable global interrupts. */
/* Unfreeze IO if device is waking up from hibernate */
if(Cy_SysPm_GetIoFreezeStatus())
{
Cy_SysPm_IoUnfreeze();
}
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
Cy_BLE_Start(NULL);
PWM_Start(); // just blinks an LED to tell me it got this far.
for(;;)
{
Cy_SysPm_Sleep(CY_SYSPM_STATUS_CM0_SLEEP);
/* The BLE Controller automatically wakes up host if required */
Cy_BLE_ProcessEvents();
}
}
A good hint on how the program is supposed to set the manufacturer specific data would be nice too.
Thanks for the assistance.
Show LessHi,
This is to announce that a new version (1.0) of the Annotation Library been uploaded into Community Code Examples section:
The Library can be used to annotate PSoC projects and create schematics. The Library is not specific to PSoC4, 5 or 6, and can be used with any Creator IDE-based project. The Library Datasheet is attached.
regards,
odissey1
Show Less
Dear community,
i am facing the HelloWorld example with the CY8CKIT-028-TFT and CY8CKIT-062-WIFI-BT hardware. The aim of the project is to plot an "Hello world!" phrase on the TFT display.
To achieve the scope i started with a blinking led example (actually working) and i added the GraphLCDIntf (8bit macro configured with 12 and 3 cycles transaction settings) the relative pin assigned as default (fig1 and 2).
Compiling the code returns no errors and the green led blinks as expected.
Then I added some extra Build Settings, PDL-Custom(PDL v3.1.0) as in figure 3:
After building the project with the new Build settings i get some popups and the final error:
Now i am stucked and i do not know how to get out from this mud of code.. do you have some suggestions?
Show LessHi,
New to PSoC and Bluetooth tech. I'm working on a project that will sample 4 audio-like voltage signals (25ksps/channel) using the SAR ADC (12-bit resolution) and transmit them through the PSoC 6's BLE system to another PSoC 6, that will convert the digital data back to analog with the VDAC. I'm using two CY8CKIT-062-BLE pioneer kits and have the ADC system right so far. I've found a few examples of stereo audio streaming using the PSoC 6, but nothing with 4 channels. I'm not very familiar with interfacing or serial communication at the moment. Is it possible to send this much data using the PSoC 6's BLE system? I think I need roughly 25kspsx4channelsx12bits=1.2Mbps throughput. If someone could point me towards some example projects that try to do something similar, I'd appreciate it.
Thanks!
Show LessHi,
I am trying to use the Cy_BLE_GetBatteryLevel to get the radio voltage level without ADC. However, the PDL references are kind of ambiguous. Generally, the BLE event parameters are casted to another pointer to read values for the event-dependent pointer structure, but for CY_BLE_EVT_RADIO_VOLTAGE_LEVEL (and temperature), it says it is of type uint16_t. Is it a typo in this case?
Further, the event CY_BLE_EVT_SET_SLAVE_LATENCY_MODE_COMPLETE mentioned being triggered by Cy-BLE_GetBatteryLevel too. Is this also a typo? Or is there any other operation should be done to get the battery level of the BLE radio?
The PDL version I'm using is 3.0.4 and BLE component version 2.10
Thanks!
Show Less