- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I try to many times for test communication with SPI between STM32 (master) and PSoC 4 BLE (slave mode macro). With my configured on SPI of PSoC device by external clock 6 MHz so bit rate equal 3 Mbps (up to 5 Mbps) and on STM32 configured 3 Mbps same 8 bit data size and CPHA CPOL mode, it's not work
***worked on SPI SCB component***
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you make sure that the supply voltage level is matching between the Master and Slave?
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for reply Hima
both device base on 3.3v
Thanks,
Chatchai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you probe the MISO line and check what data is being given by PSoC, is this junk data, or no data or the expected data being shifted?
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just a thought: connecting the grounds used by both modules to ensure the voltage references between the boards are the same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi e.pratt and hima
all connection and voltage is good
i test with "SCB" component it can work can receive data, but not on "Macro" component.
and i test with probe data and clock is good from master device but PSOC can't receive
Thanks,
Chatchai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is there any specific reason in using the macro component instead of the SCB.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
My prototype device designed on macro component for communication.
however, i have uart scb for this. if i need spi for next design i will choose SCB component
Thanks,
Chatchai