45877 Discussions
22766 Members
26491 Solved
Hi
How can I create UART ISR to respond to data received using high-level api ?
in low-level, I would write the isr and include for example:
if((UART_HW->INTR_RX_MASKED & SCB_INTR_RX_MASKED_NOT_EMPTY_Msk ) != 0)
{..... }
How can do the same using high-level api ?
Show LessHello!
My team and I are working on a project that involves a portable, handheld device and a custom made docking station for that device. The portable itself will contain hardware that will generate a 2-lane DisplayPort video signal that we would like to output over USB-C to our docking station that will then convert the video to HDMI before going to a normal monitor/TV.
My question is whether or not the example "CCG2 Type-C to DisplayPort" reference design is a good design to follow. It seems as though that design is taking a USB-C input, handling the Alt Mode and Billboard handshaking, and then outputting a DisplayPort signal. We want the opposite - a solution acts as a DisplayPort source to be transmitted over USB-C. Does Cypress have a solution like this that exists?
Our portable also has a LiPo battery that needs to be charged from this USB-C cable such that the portable is a DisplayPort source but a power sink. There aren't any cases where our portable would act as a power source that would supply power across the USB-C cable. I was hoping to use TI's TPS25750 to handle this USB PD negotiation, but I don't think that will work well with this DisplayPort Alt Mode ecosystem. Will the Cypress CYPD2119-24LQXIT be able to handle these PD negotations on top of handling the DisplayPort Alt Mode?
Please let me know if this doesn't make sense and I can absolutely provide more information.
-Shane
Show LessHello,
In order to work on a project was developed using PSoC Creator version 4.0, I went to the archive link (https://www.cypress.com/documentation/software-and-drivers/psoc-creator-software-archive) and tried to down load version 4.0 (https://www.cypress.com/file/318611/download).. Despite trying from multiple computers and trying it a few times (I am registered and logged into the website), I can not download the executable.. Clicking on the link does nothing and doesn't show any errors either.. I tried links listed there for other versions as well and none of them downloaded.
Can you please suggest how can I get access to the Creator 4.0 installation files ?
thanks and best regards
sheshu
Hello to all,
We were using BLE v3.30 and PSoc4 and OTA upgradable stack option for the FW update. Everything was working fine.
Then we updated the BLE to the v3.66 and now it seems we have problems to do a pairing as we cant enter the PIN number.
We are using mode 1, authentication with encryption, bonding and encryption key size 16.
The strangest thing is also, that everything seems to work fine when we are in app mode, but when we switch to the bootloader mode we are facing some problems. Pairing is working fine in the Android 10, 5.1, 8 and IoS 13.7. But is not working in the Android 9 and IoS 14.x when we are in the bootloader mode. I have checked and we are using the same settings in app and in bootloader mode, also as we are using the shared BLE stack the code is the same. Strangest thing is also that even if I could not enter PIN I can see GATT services, but when I try to do some read/write operation I get error that I have insufficient authentication rights.
As I see after the event CYBLE_EVT_GAP_DEVICE_CONNECTED, some phones don't send the event CYBLE_EVT_GAP_SMP_NEGOTIATED_AUTH_INFO and I cant enter PIN code, so the authentication is not completed. And as I found CYBLE_EVT_GAP_AUTH_FAILED fails with: CYBLE_GAP_AUTH_ERROR_AUTHENTICATION_REQ_NOT_MET.
I am still trying to understand where is the problem. Also tried on the phone to clear the Bluetooth system cache, tried restarting the phone, unpairing all the devices, but nothing helped.
Does anyone knows what could be the problem? What is do different when we are in the app mode and when we are in the bootloader mode that could influent BLE authentication?
Thanks for the answer, Frenk
Show Less
Hello,
I am using a PSoC6 to interact with a serial flash, and I have encountered a bus fault using the library. The fault happens in the Cy_SMIF_TransmitCommand() function.
Here is some screenshots for the fault and the system clock configure.
I would like to know how to fix this issue? What was the cause of this issue?
Let me know if you need more information.
Thanks,
Xiang Gao
Show Less
Hello,
There is a big chance from ModusToolBox v1 to 2.2, where the project configuration is very different.
One thing I am struggling with is how to define a macro in the project configuration, there is a dedicated section in the V1.1.
I have tried Preprocessor Include Paths, Maros etc.. section in the project properties, I have used the CDT User Setting Entries, but it doesn't work.
-Xiang
Show LessI have a bootloader where I set the bootloader version parameter to 0xabcd. I enter the bootloader using the bootloader command and then I check the meta data using the get metadata command, I get the right bootloader version 0xabcd. I then flash the chip with a new bootloadable using the bootloader and I reset the chip. After the chip resets, it enter the bootloader and doesn't exit until I send it a command. However when I send it enter bootloader using the bootloader command and then I check the meta data using the get metadata command, I get the wrong bootloader version. Is this expected behavior or am I missing something?
Show LessI would like to create a bootloader bootloadable combination that I could flash without the PSoC programmer, so I want to be able to flash the bootloader and the bootloadable without the programmer. Is the Combination Project my best bet? Can I do a combinations project where the bootloadables are not splitting the memory? Or is there a different way to do this like the In-Application Bootloader?
Show LessHowdy,
I'm a mechanical engineer... graduated nearly 10 years ago now... I need to be able to control things and need to build up an entirely new skill set. I was turned on to Psoc because a vendor that designs controllers for my job suggested I start here.
I know it's a lofty goal but I need to learn how to control ICE engines. I'm not an automotive company, just a guy trying to figure out a very serious hobby that will increase my capabilities. I've seen some pretty cool things being done with raspberry pi but for my end application I need something a little more professional.
Where do I start? What software do I use, what programming language do I learn... seriously I know what I'm asking is border line nuts but hey... gotta start somewhere.
I don't want to do anything spectacular, infact the simpler it is the better. I've talked to all of the big aftermarket/race ECU companies and none of them do what I need so here I am.
Show Less
Hi,
i run the bulkloop example on my CY7C68013a Lcsoft board, which was fine.
(removed the 7-seg display code)
then loaded cystream.hex into ram...ok.
Windows device manager shows "Cypress FX3 USB Streamer Example Device" with exclamationmark.
details: device could not be started.
The windows streamer app does not see any device.
any idea?
Show LessEsteemed Contributor II
Esteemed Contributor
Employee
Employee
Honored Contributor II
Employee
Honored Contributor
Honored Contributor
Employee