53 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
87
views
„Why does my ICM-42688-P always read the same AX/AY/AZ values on PSoC (LED never changes)?"
I am using a PSoC 5LP together with the 6DOF IMU 14 Click (ICM-42688-P) from MikroE.
The IMU is connected via I2C, address 0x68, and the WHO_AM_I register correctly returns 0x47, so the sensor is ...
0
votes
1
answer
147
views
Why is atoi() working as expected here, but when I use atol(), it returns 0 and modifies the input string to be empty ("")?
Edit: I am realizing that staging ground comment history is no longer visible when a post goes public: so I'll clarify a few points here. This function works fine when called directly from main(), but ...
0
votes
0
answers
29
views
Cypress PSoC1 assembly OR
I'm trying to write ad educational emulator of PSoC1 microcontroller.
Right now I'm testing the result of my preliminary coding and cross-checking it with microcontroller manual(s) to check if the ...
0
votes
0
answers
89
views
Cypress PSoC5 UART Half Duplex mode - Trouble transmitting data after UART_LoadTxConfig()
I'm currently trying to transmit data using the built-in UART component of the CY8C5888LTI-LP097. UART is configured in Half-Duplex mode at 9600 Bd, 8 Data bits and even parity. My code looks like ...
0
votes
0
answers
94
views
Communication between ESP8266 and CY8CKIT-059 via SPI
Project description:
1.CY8CKIT-059 is master and ESP8266 mini d1 is slave.
2.Master communicate with slave via SPI per 2 seconds and each time the value increases 1.
Question:
I don't know why my ...
1
vote
0
answers
84
views
Force variable to have a particular memory .noinit location on PSOC5
Is there a way to make sure that a variable in a NOLOAD memory section is given a specific location in memory?
Do I need to edit the linker script, or is there a linker command to do this?
0
votes
1
answer
422
views
PSoC 5, Counter UpCnt & DwnCnt mode as an Encoder
I am new in the Stack Overflow community, I hope that you can help me with this issue. I am trying to read an encoder without using interrupts. The solution that came to my mind is to use a counter ...
3
votes
1
answer
162
views
How to initialize random without time
I am programming a microcontroller (PSoC5), which doesn't have a system time.
What is the best way to generate a seed to initialize srand?
TIA
0
votes
1
answer
5k
views
How to set up Raspberry Pi 4B as a I2C slave
I'm trying to set up a RPi 4B to work as an I2C slave with PSoC (4.4) - CY8C5888LTI-LP097.
Below is my code to set up the slave address on the Pi.
import pigpio
pi = None
slave_addr = 0x13
def ...
0
votes
2
answers
538
views
GPS neo-6m do I need to request data?
I've worked with this GPS on Arduino and it was pretty easy. But currently, I am trying to connect it to PSOC. And I'm interested if someone knows, do I need to ask GPS for data or it will try to find ...
2
votes
1
answer
351
views
non-zero float is generated as 0円 in sprintf
I'm working with PSoC Creator, and I'm trying to print a float between -1 and 1 to an I2C OLED.
To get this working I'm using the function sprintf. I added the following flag to my linker -u ...
0
votes
1
answer
446
views
Simulating PSoC 5LP
I am working on extracting strain gauge values mounted on my ATV (front suspension) with the help of a 20 bit ADC of PSoC 5LP. Before that, I would like to simulate it. So could you please suggest an ...
0
votes
0
answers
374
views
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 ...
0
votes
1
answer
378
views
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 ...
-1
votes
1
answer
581
views
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 ...