PSoC4 Can't communicate with LoRa module over SPI

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
MKocaman
Level 2
Level 2
10 sign-ins First solution authored First like received

Herkese merhaba,
PSoC'de yeniyim ve öğrenmeye çalışıyorum. PSoC4 CY8CKIT-041 kitine sahibim. SPI ile iletişim kurarak LoRa modülünü çalıştırmakta zorlanıyorum. LoRa modülü iyi bildiğim ve STM32, Renesas gibi işlemciler üzerinde çalıştırdığım bir modül. Ama PSoC ile sorun yaşıyorum, özellikle SPI'da takıldım. SPI TX ve RX fonksiyonlarının resimlerini ekledim ve projeyi ayrı ayrı ekledim. Kontrol edebilirsin. SPI'da komut gönderme ve alma konusunda bana yardımcı olabilir misiniz? Benim için doğru komut fonksiyonlarını oluşturabilir misin? Şimdiden teşekkürler.

1.PNG2.PNG3.PNG4.PNG5.PNG

0 Likes
2 Replies
MKocaman
Level 2
Level 2
10 sign-ins First solution authored First like received

CORRECTION!!!##

In the photos and project I sent, I accidentally added the behavior of controlling the RESET pin instead of controlling the NSS pin in the SPI commands.

Even if I fix them, my problem persists.

0 Likes
Rakesh_Patrudu
Moderator
Moderator
Moderator
25 solutions authored 5 likes given 50 replies posted

Hi @MKocaman ,

I believe that this issue is already being discussed in this thread. We will continue our discussion in the original thread and I will go ahead and lock this thread.

Best Regards,
Rakesh

 

0 Likes