LieBtrau / arduino-as3933

Arduino interface to the AS3933 3D LF wakeup receiver
GNU General Public License v3.0
14 stars 15 forks source link

SPI communications not working #10

Closed fercuestam closed 1 year ago

fercuestam commented 1 year ago

Hi! Thanks a lot for your work, I've alredy seen you dropped off this project for BLE, however I hope you can help.

I have DemoBoard AS3933.

SPI freq comunication is in correct range, wiring is ok - as well as 3V max inputs. I have oscilloscope to check but does not seem to occur anything strange.

Something I'll be missing? Do you think of any possible solution?

LieBtrau commented 1 year ago

Hi, It's not easy to figure out what could be wrong.

You should also check the timings of the SPI-bus (datasheet V1-08, p.32). Maybe you're clocking the data too fast?

You could also sniff what SPI commands the PIC-microcontroller sends when using the official software. I suggest you to use a logic analyzer for that (e.g. with the Saleae software).

Regards,

Christoph

fercuestam commented 1 year ago

Hello! Thanks for your help! Just for closing this issue - I was never been able to communicate with the demo board correctly, instead I went for getting an AS3933 standalone with the componentes and antennas as suggested in the datasheet. Pattern detection works like a charm. Now is the turn of reading data 😨

LieBtrau commented 1 year ago

I wish you good luck!