PSoC™ 4 Forum Discussions
Hi All:
客户使用CY8C4146AZI-S433来开发一款BLDC电机的产品,需要对芯片的flash进行操作,关于Psoc4的flash的操作有几个问题需要请教一下:
1:我发现CyFlash.c里面的函数uint32 CySysFlashWriteRow(uint32 rowNum, const uint8 rowData[])是一个先进性擦除后写的动作,没有擦除和写分开的函数,这样的操作是否可行?可行的话,可否帮写一个单独写一个flash row size和单独擦除一个flash row size的函数?客户需要用到这样的操作?
2:flash操作有没有整个芯片擦除的操作?
Show LessHi,
I am using 2 UARTS, so that I have no I2C left over. I willl emulate I2C with control registers and status registers.
Do I need to use 2 externally onnected input and output pins pin or can I use a bidirectial pin for this purpose?
Thanks for input!
Show LessHello, I am new to PSOC4, I need to take data from UART and transmit to the GPIOs
Hello,
I am facing one issue with CY8CMBR3116. In my application, I am using 12 sensors instead of 16. Its working fine. Now as per my application need, I keep only 6 sensors enable during sleep mode of host controller by initializing CY8CMBR3116 and whenever host controller is wake up, I re-initialize the CY8CMBR3116 to enable 12 sensors. But it is observed that CY8CMBR3116 never get re-initialized. It keeps only 6 sensors enable and rest disable.
So, can you please tell me why this is happening?
Waiting for your reply.
Thanks & Regards,
Mamata Nivalkar
Show LessHello,
I have been trying to make the BLE_FindMe01 example work using a CYBLE-202007 (connected to the KIT CY8CKIT-042-BLE for programming) but I am not able to see its advertisement, no matter what I use to scan (the BLE Dongle that came with the CY8CKIT-042-BLE, other Cypress modules, ...).
I am using PSoC Creator 4.2. I downloaded the BLE_FindMe example using it.
I made the following changes/additions to the original code:
- Set device to 202007-01
- Set Adv/Scan Tx power and Connection Tx power to -12 dBm
- In main.c:
/* Enable CYBLE-202007-01 BT Power Amplifier */
/* Define the test register to switch the PA/LNA hardware control pins */
#define CYREG_SRSS_TST_DDFT_CTRL 0x40030008
- In the StackEventHandler, when the event is CYBLE_EVT_STACK_ON:
/* Set ECO capacitance trim value to the value required by CYBLE-202007-01 */
/* https://community.cypress.com/docs/DOC-10498 */
CY_SET_XTND_REG32((void CYFAR *)(CYREG_BLE_BLERD_BB_XO_CAPTRIM), 0xD0D0);
/* Enable CYBLE-202007-01 BT Power Amplifier*/
/* Configure the Link Layer to automatically switch PA control pin P3[2] and LNA control pin P3[3] */
CY_SET_XTND_REG32((void CYFAR *)(CYREG_BLE_BLESS_RF_CONFIG),0x0331);
CY_SET_XTND_REG32((void CYFAR *)(CYREG_SRSS_TST_DDFT_CTRL), 0x80000302);
I tried it with both 3.30 and 3.52 version of the BLE with similar results: I am not able to see the advertising while scanning with other BLE devices.
I have attached a copy of the project I am using.
I suppose I might be missing something related the amplifier of the module.
Show LessHello, I am working with an Evalkit (PSoC4000S, 4045) and above mentioned example.
Now I logged the data coming from I2C-Bus, see attached picture. After a read command at adress 0x08, I always get first 0xC6, 0x75, 0x00, 0x09, 0xB8, 0x0B, 0x05 etc....
Unfortunately (including help of CapSense Register-Map) I am not able to find the meaning of every byte?
Where can I see or find that?
thank you very much
Show LessI need read switch that change status on both edges of input. I placed interrupt but can't solve problem with spikes.
Any of code that make debounce is appreciate.
Show Less
Dear Sirs.
Hello,I'm your user from China.I bought several MiniProg3 programmers from your company.I now want to run the ppcli.exe automatically by using batch file,and I need program's IC is <CY8C4146AZI-S433>.but I can't see how to make the batch file from the PDF file your provided<PSoC Programmer CLI User Guide.pdf>.
Can you help teach me?How can I finish the work?
Look forward to hearing from you soon.
Thank you very much!
Show LessI can read back the JEDEC ID of the FRAM, but writing and reading to the FRAM's buffer is problematic.
I am using a Beagle SPI/I2C probe, and see a write to the buffer OK, but when reading back, I get a NAK error when I sent a Start.
Is there any way to reset the bus when I see an error like this?
I've attached the "minimal" archive of the project. Questionable write is in fram.c - fram_write_buffer() and fram_read_buffer().
The FRAM is on the other side of an I2C to SPI bridge, which probably doesn't help.
After a seemingly OK transfer of the data TO the FRAM, attempting to perform a start transaction results in the NAK.
I'm sure it's a rookie mistake, but I can't see it.
Thanks - I'm going to keep beating my head against the desk...
Show LessHi,
I am new to PSoC and trying to understand it one bit a time. I need help in a project I am working on in which I intend to serially transmit data using NTX0 ,NRX0 (Radiometrix)RF transmitter and receiver modules respectively. I have made hardware connections with one PSoC4 kit and NTX0 and other PSoC 4 kit to NRX0 module.
I have some doubts which I was hoping could get cleared here at the community;
1. What are the blocks I should use in the schematics?(I am using ADC and UART at TX end, and only UART at the Receiving end)
2. How to configure the pins in PSoC creator at the transmitting end and at the receiving end?
3. How to program the receiver (PSoC 4) to receive the data from the other kit(TX)?
4. How to show this communication using PuTTy?
Awaiting response.
Thank you,
Arshiya Tabassum
Show Less