redpitaya

RedPitaya: No data in UART - can't read buffer

百般思念 提交于 2020-06-27 06:05:37
问题 I am trying to read out a Sensor on a RedPitaya (running Ubuntu). The sensor (RM08 rotary encoder by RLS) works with the SSI protocol. I connected the Clock wire to a Digital Output Pin and the Data wire to my Uart RX-PIN. What I want my program to do now is: After transmitting the clock-signal by my function "clock_signal()" I expect the sensor sending 8 bits of data to my UART via the RX-Pin. But when reading the RX Buffer with the following Code I only get the message "Again!" which means

Modify kernel parameters (mmap operation not permitted, EPERM)

旧时模样 提交于 2020-01-03 05:44:25
问题 I am trying to run this code on a server (RedPitaya) as well as a client (ubuntu virtual machine). The program returns the following error messages when it is run on the client with root privileges: root@VirtualBox:/.../rp_remote_acquire# ./rp_remote_acquire -m 1 -a 192.169.1.100 -p 5000 -k 0 -c 0 -d 64 mmap scope io failed (non-fatal), 1 mmap scope ddr a failed (non-fatal), 1 Segmentation fault (core dumped) I am not sure if the segmentation fault is related to the first two errors because I

NTP client for redpitaya

强颜欢笑 提交于 2019-12-08 11:20:06
问题 The clock is set at 1 January 1970 0:00:42 PM UTC on each redpitaya reboot, and I can change it with the command example: date-s 2014.03.09-08:30 Is it possible to set up a NTP client on redpitaya? 回答1: In release 0.90, the root filesystem of Red Pitaya Linux OS is staged - a modified ramdisk from Xilinx Linux 14.6 release. As part of the latest Red Pitaya developments on GitHub, this filesystem/ramdisk is built from sources using buildroot which is configurable via Red Pitaya buildroot