Rasberry Pi and dwm1001 UART communication

Hi everyone, I tried to attach dwm1001 to Raspberry Pi and using minicom to communicate with dwm1001. I got into minicom and press ‘Enter’ twice, the screen shows like that every time.


I feel there’s something wrong with it, it kept type the same thing over and over again while I only press “Enter” twice. When I try to press “Enter” again, it just goes all crazy.
Can anyone help me out?
Thanks
Cindy

Hi Cindy,

are you using the Raspberry image from PANS? If you runs default PANS image, it will try to configure the module to Bridge mode. If you want to take control over the DWM1001-DEV, then you need to stop DWM Proxy, DWM Daemon and then DWM Kernel:

sudo /etc/init.d/dwm1001 stop
sudo /etc/init.d/dwm1001-proxy stop
sudo rmmod dwm

Then you can do what is needed via the /dev/serial0. E.g.
minicom -D /dev/serial0 -b 115200

Cheers,
TDK

Hi
Thanks for your reply, I’m using Raspberry image from Rasberry their website.
When I’m using “sudo /etc/init.d/dwm1001 stop”, it’s “command not found.”
So should I use the default PANS image?
Thanks,
Cindy

Hi Cindy,

I am not sure if the Device Tree of the vanilla Rasbperry image contains pin configuration for the DWM1001. I would recommend to use PANS image and follow the steps above.

Cheers,
TDK

Hi TDK
Is the PANS Rasberry image this one "DRTLS_raspbian_R2.0.img”?
Thanks,
Cindy