Hello,
I'm testing UART(P5.0, P5.1) on CY8CKIT-062-WIFI-BT.
When I execute soft reset through NVIC_SystemReset(), UART Tx(P5.1) goes low for a while.
For this reason, the PC terminal utility receives 1 byte (0x00).
Is there any way to keep the UART Tx line high even after soft reset?
Thanks and Regards,
YS
Hi All,
Could any of you help me in setting the sampling frequency of the PSOC6 chipset ADC to 2KHz?
The minimum clock frequency the ADC can take in is 1.7MHz and I am unable to find a reasonable way to lower the sampling frequency.
Any suggestions are welcome. Thanks in advance.
Show LessHello, I am a novice, just contacted Modus ToolBox software, using the kit is CY8CKIT-062S2-43012; now I want to create a new project to practice, but this page appears, I do not know what to do next; sample program "Hello World" I also did not find, thank you for your answer
Show Less
HI, I'm trying to configure the USB block in PSOC6 to operate correctly via DMA. The pieces of information are there, but I find obscure how to put them together. I seems that most of the configuration can be done in Modus Toolbox with Device Configurator, but what parts must be completed in user code to get it up and running?.
Also,I can't fine the answer of how to handle some comon situations, like, how to work with data blocks larger than the internal EP buffer, or, how to dynamically adjust for different message lengths.
Is there a working example somewhere ?
This AN228753_DMA_on_PSoC_6_MCU-ApplicationNotes is a good start to understand how DMA works, but it doesn't touch the case of a USB peripheral. I think that this case deserves an application note by itself.
Thanks!
Show LessIn my CY8CKIT-062S2-43012 board I looking for expanding RAM for operations of mallocs functions.
I have come across one example (QSPI_F-RAM_Access) where QSPI is used for reading and writing in F-RAM. I am not if this is the best example for expanding the RAM for the above purpose. Is that correct understanding?
I thought F-RAM has support for memory-mapped access of RAM but I can not find any example for that. Please share the link for such an example on any PSoC board.
Show LessDear Receiver,
I followed the following guidence to create a "customer BSP".
ModusToolbox 2.2 and later: Make a Custom BSP - KB... - Infineon Developer Community
But I can't create a "Empty PSoC 6 App" project because there are no this item for me to select.
One thing make me feel confused is ,,, in the guidence there have "Empty PSoC 6 App" item. But in my MTB, no this item.
Attached pictures are my process. Could you please help me to check it ?!
Do you have a suitable method that can guide me to develop a BSP ?!
Thank you so much.
Show LessWhat are the minimum requirements that an MCU must have to support the SDIO interface of a hosted WiFi/BLE module?
For example, how can I tell if a CY8C6247BZI-D44T can be paired with a CYW43012 based Murata 1LV or a CYW4343 based Laird 450-0159 or 450-0152?
Greg
Show LessHello! Im currently trying to read a JSON file in my psoc project for the cyproto-063-BLE but i cannot get it to work.
I have a JSON file that im trying to include in the project, read from and extract the data, im using the tiny-json parser (https://github.com/rafagafe/tiny-json). The parser works as intended, if i manually store the JSON as a string, i can parse and extract data as i please. The issues arise when i try to include the .json file into the project and open/read from it.
Here is a code snippet
static const char filename[] = "test.json";
FILE *file = fopen ( filename, "r" );
char buffer[128];
fread(buffer, 128, 1, file);
printf("line = %s\r\n", buffer);
fclose(file);
json_t what[32];
json_t const* json2 = json_create( buffer, what, sizeof what / sizeof *what );
char const* name = json_getPropertyValue(json2, "Name");
printf( "Name: %s.\r\n", name );
I have included the file under source files, as well as added the filepath to Project->Build settings->CM0+->Compiler->Additional Include Directiories.
Following the debugger the program crashes at line "fread(buffer, 128, 1, file);"
Does anyone have any input on how to read and store the JSON file in psoc programmer, the file opening and reading works well when isolated in a regular C file ran through the terminal. I'll attach a test project where i try to read a json test file and print it to serial monitor using UART. Relevant header and json files are in a folder in the project called External_Code.
Any help is greatly appreciated!
//Arvid
Show LessHi,
I was trying to sample signal from a signal generator and was using the ADC to sample the signal.
I noticed that at 100Hz, there were 10 samples per cycle, and I was getting a good waveform for the same. So, I felt that the sampling frequency may have been 1Khz, so I went on to change the SPS in the ADC, but whatever value I change it to, it seems to be not working. I do not want any averaging as such, but I also tried using averaging and that also did not work.
I am attaching the configuration of my ADC as well as the output from the ADC on an UART.
Could you please help me on the same?
Thanks in advance.
Show Less
I'm really struggling to get the die temp working for the SAR in the PSOC6. I've looked at the example project and the other post on the forums. I'm not able to easily intergrade those examples into my project.
The steps to switch configurations between my application settings and the settings for the die temp are not clear. It's not as simple as just changing the P1 switch in the MUX registers. I have tried creating multiple configurations in my code and switching between them as shown in the CE220974, but I am not able to successfully switch to the die temp. I have spent several days trying to get this to work.
Can any one list the steps needed to use the die temp or a working SAR configuration that I can switch to?
The SAR on the PSOC is quite complex and I really wish with there was an API to set up the Die temp and switch between a working die configuration and my application.
Currently, in my code I'm just checking if the conversion is done in the main loop (no interrupts at the moment) and then after getting the result I switch over to the next configuration back and forth. For the die temp configuration I'm using the defined configuration in the example project.
Show LessUser | Count |
---|---|
68 | |
46 | |
14 | |
12 | |
11 |