PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hello,
I am using CY8C4125 for the first time. I am facing a problem in SPI slave mode. When i write the TX-FIFO, it got transmitted twice with same value. i used the sample code only for testing with little modifications to send different values(increment the reply). Surprisingly, dummy bytes transmitted in-between. Anybody having the same issue? Even i tried clearing Tx buffer before writing the FIFO. Please find the below is Aardvark log. Attached is the project. Please help me to correct this transmission issue.
Time | Module | Read/Write | Master/Slave | Features | Bitrate | Address | Length | Data | |||||
2020-01-08 15:21:36.598" | SPI | W | M | RSML | 4000 | 3 | 01 01 17 | ||||||
21:36.6 | SPI | R | M | RSML | 4000 | 3 | 00 FF 0B | Junk data since it is first request | |||||
21:40.3 | SPI | W | M | RSML | 4000 | 3 | 01 01 17 | ||||||
21:40.3 | SPI | R | M | RSML | 4000 | 3 | 01 00 17 | Reply 00 | |||||
21:44.0 | SPI | W | M | RSML | 4000 | 3 | 01 01 17 | ||||||
21:44.0 | SPI | R | M | RSML | 4000 | 3 | FF FF FF | Reply with dummy | |||||
21:46.9 | SPI | W | M | RSML | 4000 | 3 | 01 01 17 | ||||||
21:46.9 | SPI | R | M | RSML | 4000 | 3 | 01 00 17 | Reply again with 00. which suppose to be 01 | |||||
21:53.6 | SPI | W | M | RSML | 4000 | 3 | 01 01 17 | ||||||
21:53.6 | SPI | R | M | RSML | 4000 | 3 | FF FF FF | ||||||
21:55.1 | SPI | W | M | RSML | 4000 | 3 | 01 01 17 | ||||||
21:55.1 | SPI | R | M | RSML | 4000 | 3 | 01 01 17 |
Hello,
What is the modulation rate(%) or modulation frequency of spread spectrum of Fourth-generation CapSense in each setting of SSC6, SSC7, SSC9 and SSC10?
Also, is the modulation rate the center spread or down spread?
Best Regards,
Naoaki Morimoto
Show LessHello Guys,
Looking at arm documentation MPU feature and un/privileged fw excecution is optional on cortex m0+ while reading cypress docs i've found two scenarios:
- From datasheet point of view there is no mention to this functionality
- From trm perspective the core have "Design time configurable MPU" and supports unprivileged and privileged mode execution.
So, my questions are:
- does these features implemented in psoc4100ps?
- What "Design time configurable MPU" mean?
Only Cypress can change MPU behavour???
Thank you
Show LessIs it possible to run the capsense tuner on psoc 4 ble module: cyble 214015-01, by using bluetooth connection instead of establishing an i2c or a uart connection?
Show LessWhen a name is typed into the Device Name in the BLE configurator does this define both the GATT NAME and the ADVERTISING Name?
If not, how does one set both to the Device Name?
Thanks,
Dennis
Show LessHi CY Friend,
我客戶想做個1wire的通訊,要求低電平0.4us,高電平0.8us。基本就是要求頻率2M以上。
我用了AN里提到的set和clr來快速toggle GPIO,也把GPIO輸出设置成强驱动了。但是目前还是不太够。希望频率能更高。
请问有没有办法呢?
谢谢
sohie
Show LessHello,
This is Basavaraj M, i need a help from you, can cyble-012011-00 can be interfaced to arduino uno. I am making the propject to make the cypress ble act as the normal bluetooth (Ex:- HC-05) the ble should act as the transmitter and the receiver and i am going to bond the ble with the mobile bluetooth and i am going to send the string, character or any other information to the ble via the bluetooth app (any app used by the HC-05) and it should send the data to the arduino uno/mega and it should show the data into the monitor and vice versa. is it possible?
Show LessImported Cypress official example BLE_FindMe project to this device.
I can see the device name from CySmart 1.3. Connect to the device success but after following log.
Cy samrt say "Exchange GATT MTU Size timed out". If comment out Line 215 to 243 then works without these problem.
These lines are BLE sleep related.
Attached both project file.
How Can I make BLE work with sleep functions?
[12:10:34:761] : 'Establish Connection' request sent
[12:10:34:761] : BD Address Type: PUBLIC_ADDRESS
[12:10:34:761] : BD Address: 03:00:00:50:A0:00:00:00
[12:10:34:764] : 'Command Status' event received
[12:10:34:764] : Status: BLE_STATUS_OK
[12:10:34:811] : 'Establish Connection Response' event received
[12:10:35:794] : 'Current Connection Parameters' event received
[12:10:35:794] : HCI Status: 0x00
[12:10:35:794] : Connection Interval: 8.75 ms
[12:10:35:794] : Slave Latency: 0
[12:10:35:794] : Supervision Timeout: 100 ms
[12:10:35:794] : 'Command Complete' event received
[12:10:35:794] : Status: BLE_STATUS_OK
[12:10:35:795] : 'Get local device security keys' request sent
[12:10:35:796] : 'Command Status' event received
[12:10:35:796] : Status: BLE_STATUS_OK
[12:10:35:803] : 'Get local device security keys response' event received
[12:10:35:803] : Key flags: INITIATOR_ENCRYPTION_INFORMATION, INITIATOR_IDENTITY_INFORMATION, INITIATOR_SIGNATURE_KEY, RESPONDER_ENCRYPTION_INFORMATION, RESPONDER_IDENTITY_INFORMATION, RESPONDER_SIGNATURE_KEY
[12:10:35:803] : Long Term Key (LTK): [D6:93:E8:A4:23:55:48:99:1D:77:61:E6:63:2B:10:8E]
[12:10:35:803] : Encrypted Diversifier (EDIV) and Random Number: [99:1F:26:1E:F6:09:97:2E:AD:7E]
[12:10:35:803] : Identity Resolving Key (IRK): [0A:2D:F4:65:E3:BD:7B:49:1E:B4:C0:95:95:13:46:73]
[12:10:35:803] : Identification Address: [0x00A0500C1313, PUBLIC_ADDRESS]
[12:10:35:803] : Connection Signature Resolving Key (CSRK): [90:D5:06:95:92:ED:91:D7:A8:9E:2C:DC:4A:93:5B:F9]
[12:10:35:804] : 'Command Complete' event received
[12:10:35:804] : Status: BLE_STATUS_OK
[12:10:35:804] : 'Set OOB data' request sent
[12:10:35:804] : OOB flag: Disable
[12:10:35:804] : OOB Key: [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00]
[12:10:35:804] : OOB Data: [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00]
[12:10:35:809] : 'Command Status' event received
[12:10:35:809] : Status: BLE_STATUS_OK
[12:10:35:810] : 'Command Complete' event received
[12:10:35:810] : Status: BLE_STATUS_OK
[12:10:35:810] : 'Exchange GATT MTU Size' request sent
[12:10:35:810] : MTU: 0x0200
[12:10:35:813] : 'Command Status' event received
[12:10:35:813] : Status: BLE_STATUS_OK
Show LessMy design have 1 tact switch which control the devices Power On/OFF.
So I need turn on and off BLE function too. But only first time works.
I imported Cypress official project BLE_FineMe to this device.
Then add following code just after original BLE start code.
apiResult = CyBle_Start(StackEventHandler); /* original BLE_Start */
CyBle_Stop(); /* added */
apiResult = CyBle_Start(StackEventHandler); /* added */
Using debugger I observed first CyBLE_Start executed and reached to next line.
But second time never come back from the function, never reach to next line.
I attached project file. Please help how can I solve this.
Show LessHi guys,
I'm working on storing config data in user supervisory flash on a 4100S.
I've already implemented user flash config storage in a CYBLE Module based on the sflash_example but I don't get it running on the 4100S MCU.
I copied the WriteUserSFlash.c & .h from my working CYBLE project and changed settings like this:
Block Size: 128
Adress: 0x0FFFF200
Number of Blocks: 4
Write function (from sflash example) returns success, reading sflash addresses returns zeros.
Any ideas what's going wrong here?
Thanks for your help,
Florian
Show Less