- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using a PSoC5 LP on a CY8CKIT-059 and an IMU from ST/Adafruit LSM9DS1.
I am having trouble setting up SPI communication. I have determined it is not the IMU because I am not getting the correct output out of the PSoC with the IMU disconnected.
Here are my issues:
1. SPI SCLK only oscillates correctly at low frequencies (<100kHz)
2. At the low frequency, I am seeing correct outputs on MOSI, MISO, SCLK, and SS. However am not polling the correct WHO AM I value from the IMU.
3. At higher frequencies, SCLK not oscillating at all, MOSI is working correctly, SS is working correctly, but MISO not working because SCLK not working.
Attached is my project. I am using UART for debugging.
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
According to the CY8CKIT-059 Kit Guide Table 4-2
P0.2 is GPIO/BYPASS CAP.
How about trying to use other pins with the description "GPIO" only?
A 1.0uF capacitor is connected to P0_2
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
According to the CY8CKIT-059 Kit Guide Table 4-2
P0.2 is GPIO/BYPASS CAP.
How about trying to use other pins with the description "GPIO" only?
A 1.0uF capacitor is connected to P0_2
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay, I will try this next, thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, that worked finallly!!!