PSoC™ 6 Forum Discussions
Hi Infineon Community, I am completely stuck on a issue regarding linking of the headers for days now. I have the following:
Development board:
I have a development board CY8CPROTO-062-4343W, and I have developed some code which calls for using DMA and is configured in the code as follows: Cy_DMA_Descriptor_SetSrcAddress(&sRx0_Descriptor_0,(uint32_t*) &sSPI0_HW->RX_FIFO_RD); When you right click and go open declaration, it brings you to the defined SCB which in this case is SCB2 in the file cycfg_peripherals.h (#define sSPI0_HW SCB2).
When you then right click on the SCB2 and then go open declaration, it brings you to the cy8c624abzi_s2d44.h which is the psoc used on the development board which gives you (#define SCB2 ((CySCB_Type*) SCB2_BASE) /* 0x40620000 */)
This tells me that the code is all linked correctly and the compiler knows to use the header file in: …\mtb_shared\mtb-pdl-cat1\release v3.9.0\devices\COMPONENT_CAT1A\include
I note that my code runs perfectly in the above as can move data from the SCB2 RX_FIFO buffer to my destination buffer as expected.
Custom PCB:
Now with a custom PCB, I am using a different PSoC (CY8C614AAZI-S2F14) that only has the M4 core (no secondary M0 core).
Currently how I set this up is I go create a new application in modustoolbox -> create from MPN -> enter the PSoC above which is CY8C614AAZI-S2F14 and then complete the wizard by hitting next. I then migrated all my code from the project created on the development board and also setup new SCB’s with the same name (but might be different SCB physically, but settings are exactly the same) using the device configurator.
However, the issue lies with the code no longer running because the project is unable to find the link to the PSoC header which should be cy8c614aazi_s2f14.h . I have checked that this file is indeed in the correct location …\mtb_shared\mtb-pdl-cat1\release v3.9.0\devices\COMPONENT_CAT1A\include.
For example, when I right click on SCB2 in this project here, the header file link for the psoc does not open which tells me there is a linking issue to cy8c614aazi_s2f14.h. Subsequently, I also get an intellisense error on the line Cy_DMA_Descriptor_SetSrcAddress(&sRx0_Descriptor_0,(uint32_t*) &sSPI0_HW->RX_FIFO_RD) of
"Field RX_FIFO_RD could not be resolved" due to the incomplete/missing link to the SCB.
I have tried many things including this links however none of these fixed my issue: https://community.infineon.com/t5/PSoC-6/unresolved-inclusion-in-Modus-Toolbox/td-p/406027 https://community.infineon.com/t5/ModusToolbox/unresolved-inclusion/td-p/346569
From this, I believe that I am not setting up the BSP correctly for a custom PCB, as the address links to the SCB RX FIFO is just not working. So I guess my question is, how do I setup the project so that it links to the PSoC correctly? It seems that the BSP Assistant isnt working properly! I really appreciate any help!
Show Lesssmartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/%E9%9C%80%E6%B1%82CY8C624ALQI-S2D42%E7%9A%84%E7%BC%96%E7%A8%8B%E6%97%B6%E5%BA%8F%E8%B5%84%E6%96%99/td-p/683297
Show LessDear Sir/ Madam,
I would like to ask what is the difference between Matrixbutton and Touchpad if I don't have a requirement for position detection. Does Touchpad take more resources and does it scan slower?
Because my application exceeds the upper limit of what the Matrixbutton can set for Rx/Tx; I'm considering whether to switch to the Touchpad or set up two Matrixbuttons. If I set two Matrixbuttons, is it the same as setting one? Or is there a delay between the two?
Best regards
Show Less
Hello,
The original CE220692 was written for PSoC Creator. This has now been ported to Modus Toolbox and tested on the PSoC 6 Prototyping Kit.
Ported:
https://github.com/mtb04313/CE220692_TCPWM_Freq_Measure
Original:
Application Note (https://www.infineon.com/dgdl/Infineon-CE220692_PSoC_6_MCU_Frequency_Measurement_Using_TCPWM-Code%20Example-v03_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0e6ee95a0344)
Source Code (https://github.com/Infineon/PSoC-6-MCU-Digital-Designs/tree/master/TCPWM/CE220692/)
Show Less
To the best of my ability, I've scoured the internet and this forum on taking an IMG/GIF file and transmitting it to a TFT screen.
The farthest I've gotten is a Github how to, on emWin and Appwizard. Are there any other resources/videos on implementing an image from a PSOC 6 to a TFT screen?
Is there a way using only PSOC creator and not having to use Modus Toolbox?
Thanks
Show LessI have an assignment about external interrupts and the priority of external interrupts. When pressing SW, the text will change to uppercase. When not pressed, the text will change to lowercase displayed on the LCD screen. I use KIT CYBLE-416045-02 to program on Modus Toolbox. Please accept help from everyone.
Thank you and regards,
GrayyyT
hola comunidad! Me podría ayudar a saber y corregir el problema del por que me salen errores en la carpeta GeneratedSource al momento de configurar Bluetooth. Estoy usando eclipse IDE modustoolbox 3.1
Show LessWhere is the UCID of Infineon 9853 stored in 100TP
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/MOTIX-MCU/%E8%8B%B1%E9%A3%9E%E5%87%8C%E5%8A%A0%E5%AF%86/td-p/678687
Show Less