PSoC™ 6 Forum Discussions
When I try to build the CE222221 example for the CY8CKIT-062-WiFi-BT PSoC 6 Pioneer Kit, the build fails with the following error, on a generated file:
Build error: #error File C:\Users\my user name\AppData\Local\Temp\{b4c716cc-99c9-4296-993c-fb316058244d}\cy_smif_memconfig.h does not exist.
The "#error [...]" part is actually the only line of the generated cy_smif_memconfig.h file, herewith attached. The file attached here is from the following location on my drive:
${ProjectDir}\Generated_Source\PSoC6\
Has anyone ever experienced this error and if so, how did you fix it?
Thanks in advance,
T.
Show LessI am trying to generate a carrier wave using TXC command on CY8C6347FMI-BLD53T. However, it shows exact the same oscillation freq peak as when I generates modulated "0" signal using TXM command.
Is this working properly? If not, how can we solve this. It would be appreciated if someone could provide us solution or similar threads.
Thank you.
[Edit]
more specifically, we get as follows:
TXC 0 0 1000 >> peak frequency of 2401.854MHz
TXM 0 0 1000 >> peak frequency of 2401.854MHz.
Show Less
I am trying to create a picovoice project for my board CY8CKIT-062S2-43012, but project-creator fails with and error
ERROR: Commit/tag/branch "v2.1.2" does not exist.
The branch does exist, I can go into the picovoice directory and type `git checkout v2.1.2` and it has no issues. Looking on github the branch is certainly there.
I am using ModusToolbox 2.4.0 build 2460 in an Ubuntu 20.04 system. I have attached the log file.
Two unrelated questions:
1) why are there so many steps to install ModusToolbox on Linux. Why is it not simply `sudo apt install ModusToolbox` like everything else in Ubuntu?
2) .log and .txt are very common file extensions, why can I not drag and drop a log file to attach it to this question. I had to change the file type to .doc .
Show LessHi,
I am wondering if there would be a function/method to trigger auto-calibration for CSX when there's an apparent change in baseline capacitance (goes up from 1pF to 2.5pF for example)?
Thank you!
Show LessWhat is the main advantage of having an arduino shield compatible pins along with the PSoc pioneer kit and how does it help in an application where we want to impliment several Serial Communication Blocks to interface around 14 sensors to bild an Agri station.
Show Less你好,
发现Datasheet的PSoC 6 MPN Decoder与芯片MPN不一致,如下截图:
MPN Decoder中描述F表示单核,但是Ordering Information中的芯片型号都是双核,这是描述错误吗,谢谢。
Ordering Information:
PSoC 6 MPN Decoder
CY XX 6 A B C DD E - FF G H I JJ K L
Show Less
Hi,
The following is our understanding of the PSoC 6 datasheet, could anyone check if this is correct?
If Sensor Auto-Reset is enabled, the baseline follows the raw count
If Sensor Auto-Reset is disabled, the baseline will/will not reset depending on the following conditions:
- For Noise threshold:
- If the baseline < raw count < (baseline + noise threshold), the baseline will reset with the raw count.
- If raw count > (baseline +noise threshold), the baseline will not reset.
- For Negative Noise threshold and low baseline reset:
- If (baseline - negative noise threshold) < raw count < baseline, the baseline will reset with the raw count.
- If Raw count < (baseline - negative noise threshold) for a number of samples more than the low baseline reset, the baseline will reset with the raw count.
- If Raw count < (baseline - negative noise threshold) for a number of samples less than the low baseline reset, the baseline will not reset.
On top of that, I was wondering if the Noise threshold and Negative Noise threshold are in terms of percentage of the baseline or an absolute number.
Thank you in advance for your help. Have a great day!
Show LessHello all,
I am using the CY8CKIT-062S4 PSoC6 kit for I2C communication with a device. In this case, the PSoC6 kit is an I2C master device and the other device is an I2C slave.|
Now, coming to the problem, actually, the I2C slave device is already having the pull-up resistors to 3.3V.
as you can see in the above picture. Now, I am connecting the PSoC 6 device to this device using the J20 pin header as J20.1 to Vcc (3.3V), J20.2 as SCL, J20.3 as SDA, and J20.4 as GND (0V).
As the slave device is already having the pull-up resistors so, I am initializing the PSoC6 SCB0 block as follows (using the PDL library),
Cy_GPIO_SetDrivemode(I2C_Channel_SCL_PORT, I2C_Channel_SCL_NUM, CY_GPIO_DM_OD_DRIVESLOW);
Cy_GPIO_SetDrivemode(I2C_Channel_SDA_PORT, I2C_Channel_SDA_NUM, CY_GPIO_DM_OD_DRIVESLOW);
The problem with the interface of this I2C slave is that the I2C master should support the I2C multi-master to interface this slave device. But the thing is that I haven't seen any words which show that this PSoC kit microcontroller supports I2C multi-master.
Now, coming back to the real problem, after successfully initializing the I2C block of the PSoC 6 device, when I am trying to write to the slave device, after writing one byte of data, the I2C master remains busy, I didn't get the I2C_MASTER_WRT_COMPLETE callback also, after writing that, the SDA pin keeps low and never high, so after that, I am unable to do anything, please help me to resolve the problem.
I am initializing the I2C at 400kbps and config is as follows:
.i2cMode = CY_SCB_I2C_MASTER,
.useRxFifo = false,
.useTxFifo = true,
.slaveAddress = 0U,
.slaveAddressMask = 0U,
.acceptAddrInFifo = false,
.ackGeneralAddr = false,
.enableWakeFromSleep = false,
.enableDigitalFilter = false,
.lowPhaseDutyCycle = 16,
.highPhaseDutyCycle = 9,
The I2C read and write of the I2C slave are as follows:
Thank you.
Regards,
Vivek Karna
readVal = Cy_GPIO_Read(P12_0_PORT, P12_2_PIN);
readVal = Cy_GPIO_Read((GPIO_PRT_Type *)base , pin);
The MCU I use is CY8c6136.
I am using Cy_GPIO_Read().
- readVal = Cy_GPIO_Read(P12_0_PORT, P12_2_PIN);
I can do this when I know the port information of the corresponding pin.
If I do not know the port information of the pin, I am wondering how to enter the port information.
Port mapping is done in modus_toolbox,
This problem occurred while porting from another MCU.
May I get some information about this?
thanks.
Show Less
Hi,
I'm studying the schematic of CY8CPROTO-062-4343W PSoC 6 Wi-Fi BT Prototyping Kit. Level shifters (U10, U12) have been used between PSoC5LP (KitProg) and PSoC 6 because of different voltage domains (P5LP_VDD and VTARG). Affected signals:
P5LP1_6 <-> UART_RTS (U10)
P5LP15_5 <-> UART_CTS (U12)
I'm now asking myself why Cypress/Infineon has chosen U12 instead of routing VTARG directly to VDDIO2 of PSoC5LP.
Similar considerations also apply for CY8CKIT-062-BLE (PSoC 6 BLE Pioneer Board), where level translater U13 has been used for SPI and UART. Here, SPI_MISO signal (KitProg SIO pin P12[5]) has been routed via U13, although SIO pin has Vref-feature and P5LP_SIO_VREF = VTARG_MON = P6_VDD ( != 5V).
I'm happy about every idea.
Michael
Show Less