Questions tagged [cypress-psoc]

12 questions
3
votes
1 answer

Sending 16 bit values on 8 bit UART

We're trying to send a 16-bit value from one PSoC to another. The essence of this operation should be pretty simple: Split the value into two 8-bit values, one for MSB and one for LSB Send the MSB and then LSB from system 1 Recieve MSB and then LSB…
de_rush
  • 33
  • 1
  • 4
2
votes
1 answer

exp() math.c i c not working if in a loop

I'm currently working on a pid regulator for at school project. Since the corona is has shut down the school we can't get any hardware to test it with. So i want to simulate the PID regulator on a microprocessor (PSoC5LP). So i'm implementing a…
Viktor T
  • 23
  • 4
1
vote
1 answer

Capture screenshot of an element without resizing the viewport of cypress

I have set up viewport as below. Cy.viewport(1440,700) Then taking the screenshot Cy.get('xxxx').toMatchImageSnapshot() But when taking screenshot, the browser is resizing to fit to the browser window size. How to control the browser…
1
vote
0 answers

I am getting an Error when I tried to Upload a file (image of jpg/png) with Cypress and Java script

//Click on File Upload and upload the DL cy.get('p').contains('Upload your Document').parent('span').parent('button').click(); cy.fixture('./testData/JamesBondDL.png').then(fileContent => { cy.get('p').contains('Front…
1
vote
1 answer

PSoC 1 programming with Kitprog or CY8CKIT-059?

I am wondering if anyone knows if the Kitprog programmer provided in CY8CKIT-059 supports programming in ISSP for PSoC 1 chips? Similar to Miniprog1/3. Not really worried about debugging for this question. Cypress documentation on this is…
bn880
  • 111
  • 1
  • 4
0
votes
0 answers

Need explanation on PSOC4 Cypress SPI register

Writing code for SPI master - CYpress PSOC4. Currently I have a shorted ,MOSI and MISO lines to test basic SPI communication. In technical manual they have given one of these below steps for SPi initialization .i need more details on these…
Manju
  • 73
  • 5
0
votes
1 answer

read mutiple characteristic from BLE and reading a string

So I have two question. Let's start with the first one, how do you make two readCharacteristic after eachothers? the code I've showed is what I was thinking you could do it. But because onCharacteristicRead isn't called yet in the first…
Me NoLonely
  • 167
  • 11
0
votes
0 answers

How to create internal RTC Timer interrupt of 100ms using PSoC 5LP in PSoC creator without making PSoC sleep?

I want to create interrupt of 100ms using internal RTC of PSoC 5lp. I am using this RTC interrupt as time out interrupt for receiving command from UART communication. I want PSoC to be in active state when RTC interrupt is received.
0
votes
1 answer

PSOC Port Connections in C#

I'm having trouble using the port interfaces in the PP_COM_Wrapper dll that Cypress' PSOC Programmer provides. I am using a CY8CKIT-0529 PSOC 5LP prototyping kit. I am able to successfully open the port to the board and have verified that I can…
Parker
  • 1
  • 3
0
votes
1 answer

I am Currently using PSoC 5LP. I want to read 8 Byte of HexaDecimal data from 1st row of EEPROM of Psoc 5Lp

I am able to Write 8 Byte of Hexadecimal data in 1st row of EEPROM but I am not able to understand how to read 8 Byte data from EEPROM and convert 8 Byte Hexadecimal into decimal and save that decimal value into any unsigned integer. Is there any…
0
votes
1 answer

Cypress PSoC Creator / iOS App: Add BLE device address to advertisement data

I try to add the BLE device address to the advertisement data in Cypress PSoC Creator 4.2. I checked the associated box in the GAP Settings and build the project for my PSoC 4 device (CYBLE-212006-01). In my iOS App I use the following routine…
PascalS
  • 975
  • 1
  • 16
  • 40
-1
votes
1 answer

I am Using PSoC 5. I want to know about how to convert 8-Byte hexadecimal into decimal after reading from EEPROM

EEPROM Data: 0000: 88 77 66 55 44 33 22 11 00 00 00 00 00 00 00 00 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 I am saving the result after reading 0th row of EEPROM in array Ex - Uint8 EEPROM_res[8]; EEPROM_res = {88, 77, 66, 55, 44,…