PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Dear Receiver,
In the following figure, it shows flash address can be set to "write protect" or "unprotected" by manual。
When we set "write protect" to some address sectors, we found it is easy to erase by re-programming the flash。
After re-programming, these sectors will recover to "unprotected"。
I would like to make sure this test result with you。 Is the "write protect" easy to erase by re-programming the flash?
or I lost some setting steps? Thank you so much。
Show Less
Hi,
When controlling GPIO at PSoC4, I would like to set the Drive Mode for GPIO.
In PSoC Creator, settings can be made on Configure of the Pin Component selected from the Component Catalog and placed on the Schematic Editor.
How can I configure it with ModusToolBox?
Best Regards,
Show Less在做对讲机干扰测试的时候,rawcount值向下掉,baseline向下跟随,当撤掉对讲机干扰,rawcount恢复,baseline无法跟随,导致触摸一直被长按。将lowbaselineReset调到最大值,也无法解决该问题,是否有办法让baseline向下跟随缓慢,过滤该干扰问题,谢谢!
Show LessHello,
I am using PSoC Creator 4.4 to develop an application using the newest version of CMSIS DSP, from the CMSIS Core V5.9.0. I have had success with the PSoC 6 (#CY8CKIT-062-BLE). However, I am now intending to port to the PSoC 4500S (#CY8CKIT-045S).
This error, found in many places, shown here in arm_math_memory.h, is caused by the missing type definition. The type is defined in arm_math_types.h, but not for this architecture (only when _MSC_VER is defined). In my PSoC 6 project, the definition is provided by the generated PDL in cmsis_gcc.h. In PSoC 4, no PDL is generated (though I did install PDL2 and provide it to PSoC Creator).
Does someone know the last version of CMSIS which does not require these PDL functions? Alternatively, is there a workaround? I would prefer to use the most modern CMSIS possible.
Thanks in advance for any assistance.
Show Less
Hi,
There are some interrupts in my project, one is DMA int, others are Timer and GPIO int, MCU can enter either of interrupt service indepently, but when MCU is running in GPIO or Timer int code, it can not respond and enter into DMA int. I guess the issue was led by priority set, but I find the DMA interrupt was not listed in interrupt page of psoc creator IDE, and I tried to set the DMA priority to highest, it still can not work, so how can set the DMA interrupt for this case?
Chris
Show LessHello, I want to read/write with eeprom in a simple way. I change the values of some variables during the operation of the device, and I want to read and print these values from the eeprom when it is turned on again. I can read with the function I wrote, but I cannot write with EEPROM_Write. Can you help me?
uint8 EEPROM_Dizisi[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
static const uint8 CYCODE EEPROM_Array[] = {10, 10, 10, 10, 50, 1};
cystatus status;
volatile const uint8 * EEPROM_ptr[6];
void EEPROM_Oku(void)
{
EEPROM_ptr[5] = &EEPROM_Array[5];
EEPROM_Dizisi[5] = *EEPROM_ptr[5];
.... // same code 4-3-2-1-0
}
EEPROM_Write(*EEPROM_Array, &EEPROM_Dizisi, sizeof(EEPROM_Array));
Show LessHi, Community,
I use as example a SAR ADC project created in PSoC Creator.
I have set the ADC input channels (Sequenced channels) to the maximum of 16 channels and then I get an error.
The target device is PSoC 4100S Plus.
If I understand correctly it should support up to 16 channels, but it had not built.
I set Sequenced channels to 10 and was able to place the pins without any errors.
I want to set up all 16 channels of analog inputs as single-ended.
Could you please tell me the cause of this error and a workaround?
Sample project name:
Sequensing SAR ADC and Die Temperature sensor Example
10 channels is OK, but 11 to 16 channels doesn't work.
Best Regards,
Chihiro Tatebayashi / NEXTY
Hello everyone! I'm looking for guidance on using EVE Screen Editor with Cypress Modus Toolbox IDE. How can I export the code and import it into Modus Toolbox IDE? I'm working with a Newhaven NHD-7.0-800480FT-CSXV-CTP display and the Cypress CY8CKIT-062-WIFI-BT kit. Your help is much appreciated. Thank you!
Show LessBelow is PSoC 4000S TRM description about BOD.
Could you please let us know the voltage threshold at which PSoC returns to normal operation from the reset state of BOD?
Like below figure, there is a description of BOD voltage threshold in PSoC 4000S datasheet.
Is voltage threshold at which PSoC enters the BOD reset state from normal operation the same as the voltage threshold at which it returns to normal operation from the BOD reset state?
In other words, the voltage value that enters the BOD and the voltage value that exits the BOD are the same, and there is no hysteresis?
Best Regards.
YuMa
Show LessIf there are elements in the SPI TX buffer and/or shifter, will the SCB SPI keep transmitting them even when in an interrupt?
I'm trying to use a level interrupt to determine when the TX (or RX) buffer is half empty (or full) so that I can write more data to it before the transaction completes and the SCB SPI block de-asserts Slave/Chip Select. The use case is reading a 512 byte block from an SD card, where the CS line must stay asserted until all of the block data is received.
My approach is:
- set SCB SPI to byte mode (16 elements deep, 8 bits per element)
- set TX FIFO level interrupt at 7
- when interrupt occurs, write 8 bytes to the TX buffer to fill it up again
- repeat until 512 bytes have been transmitted and received
But, that will only work if the SCB SPI stops transmitting while the interrupt is serviced so that the number of bytes I need to write in the interrupt routine is deterministic.
If it does not stop transmitting, what is the recommended way to transmit/receive more bytes than the FIFO depth and keep CS asserted?
Show Less