Go to advanced search

by Arjan
Mon Jun 06, 2016 5:00 pm
Forum: Other projects
Topic: DMX to WS2801/WS2812/WS2812B Converter
Replies: 2
Views: 2049

Re: DMX to WS2801/WS2812/WS2812B Converter

digitalledcolor wrote:I want to know if you converter can support WS2813 led ,which is ws2812b updated version
According to http://www.szledcolor.com/newsshow.asp?sid=1&id=203 ,
WS2813 LED can use same controller as WS2812B LED
Please let me know if it is not working for you.

Thanks, Arjan
by Arjan
Mon May 09, 2016 6:27 pm
Forum: Other projects
Topic: ArtNet to DMX node?
Replies: 11
Views: 19594

Re: ArtNet to DMX node?

If anyone can help me create an ArtNet to DMX node with the RaspberryPi that would be absolutely incredible considering the cheapest all-in-one ArtNet to DMX node is $200. I know the lighting community would love it! Here it is : http://www.raspberrypi-dmx.com/raspberry-pi-art-net-dmx-out Raspberry...
by Arjan
Mon May 09, 2016 6:22 pm
Forum: Other projects
Topic: DMX LED Controller
Replies: 1
Views: 711

Re: DMX LED Controller

Hi JoeIzzard, This http://www.raspberrypi-dmx.com/raspberry-pi-rdm-responder seems to me the solution you are looking for. It is native DMX to SPI [baremetal, plug & play]. And there is built-in support for many SPI devices (WS2801, WS2812, WS2812B, any many more). I have also Art-Net 3 to DMX. If i...
by Arjan
Mon May 09, 2016 6:16 pm
Forum: Other projects
Topic: Art-Net 3 -> DMX Out [Plug & Play]
Replies: 0
Views: 1382

Art-Net 3 -> DMX Out [Plug & Play]

After some good times debugging and testing the Art-Net 3 Node DMX Out, I am happy to announce the first release. Main features *. Raspberry Pi baremetal programming controls DMX512 timing (Circle : a C++ bare metal programming environment for the Raspberry Pi). *. Open source https://github.com/van...
by Arjan
Wed Apr 27, 2016 8:27 am
Forum: Bare metal, Assembly language
Topic: Using Broadcom SDHOST for the embedded SDCard
Replies: 0
Views: 592

Using Broadcom SDHOST for the embedded SDCard

Hi, I have collected the following information. Please correct me if I am wrong. SD0 : Broadcom SDHOST is supported by the Linux sdhost driver : bcm2835-sdhost.c SD1 : SDIO (Arasan eMMC/SD) is supported by the Linux mmc driver : bcm2835-mmc.c Previous, the SDIO (Arasan eMMC/SD) was on SD1 GPIO 48-53...
by Arjan
Thu Apr 14, 2016 10:15 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Change UART Speed
Replies: 18
Views: 9314

Re: Change UART Speed

Hi,

You need to set the UART clock to 4000000 (4MHz). This can be done in the config.txt -> http://elinux.org/RPiconfig#Boot
Then in Linux you need to use the proper divider setting for the DMX 250 kbit/s.

- Arjan
http://www.raspberrypi-dmx.com/
Open Source DMX/RDM/OSC{/Art-Net} solutions
by Arjan
Wed Apr 13, 2016 9:31 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Change UART Speed
Replies: 18
Views: 9314

Re: Change UART Speed

Could you share what you did so you can successfully set the UART to 250000 bps ? I'm using raspbian jessie. Hi, First of all, I working on baremetal. I am not sure if it is even doable to adhere to the DMX specifications using Linux. DMX out is doable, but DMX in is a different story. I have set t...
by Arjan
Mon Mar 28, 2016 3:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi 2 : SPI : Not reliable? (SOLVED)
Replies: 3
Views: 1037

RPi 2 : SPI : Not reliable? (SOLVED)

With many thanks to rst (https://github.com/rsta2/circle) I have found the issue. The CPU cores 1-3 are continuously reading a local mailbox register to get a start address. They are competing for bus time with core 0 what slows it down. And it breaks the SPI output. At startup I am putting the unus...
by Arjan
Mon Mar 28, 2016 11:15 am
Forum: Other projects
Topic: Open source USB DMX-512 with RDM (Enttec USB Pro protocol)
Replies: 12
Views: 8215

Re: Open source USB DMX-512 with RDM (Enttec USB Pro protoco

For reference (using defaults) : pi@openlighting-3 ~/.ola $ olad -l 3 olad/Olad.cpp:94: OLA Daemon version 0.9.8 olad/OlaDaemon.cpp:121: Using configs in /home/pi/.ola common/thread/Thread.cpp:192: Thread pref-saver, policy SCHED_OTHER, priority 0 olad/OlaServer.cpp:194: Server UID is 7a70:8402a8c0 ...
by Arjan
Mon Mar 28, 2016 11:10 am
Forum: Other projects
Topic: Open source USB DMX-512 with RDM (Enttec USB Pro protocol)
Replies: 12
Views: 8215

Re: Open source USB DMX-512 with RDM (Enttec USB Pro protoco

Hi ianmxyz, What is Raspberry Pi model you are running the widget on? When you have an external monitor available, then what is it showing? Is the ACT led flashing with 1 Hz? What is the OLA server version? The ola-usbserial.conf should look like this : device_dir = /dev device_prefix = ttyUSB enabl...
by Arjan
Thu Mar 24, 2016 3:07 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 30m LED strip with WS2801
Replies: 3
Views: 1917

Re: 30m LED strip with WS2801

I read that it is possible to control a LED strip with WS2801 ICs, but i couldn't find any informations on how long the strip can be. There are several options (not a complete list): *. Raspian -> https://github.com/tom-2015/rpi-ws2812-server *. Baremetal -> The DMX to WS2801/WS2812/WS2812B convert...
by Arjan
Thu Mar 24, 2016 12:01 pm
Forum: Device Tree
Topic: Overlay to remap Pi 3 UART
Replies: 126
Views: 108842

Re: Overlay to remap Pi 3 UART

There are two common special cases MIDI (31250) and DMX (250000). With respect to DMX512, I am setting the UART clock using the mailbox -> https://github.com/vanvught/rpidmx512/blob/master/rpi_rdm_responder/common/lib/dmx.c#L720 Maybe you can do similar from Linux space. Arjan http://www.raspberryp...
by Arjan
Tue Mar 15, 2016 7:23 pm
Forum: Other projects
Topic: ArtNet to DMX node?
Replies: 11
Views: 19594

ArtNet to DMX node?

I just found this old thread, but still it might be worthwhile to append. There are Raspberry Pi's DMX/RDM interfaces available from BitWizard. Raspberry Pi hardware DMX512 RDM solutions: *. Raspberry PI DM512/RDM isolated board *. Raspberry PI DM512/RDM isolated board with USB (FT245RL) Raspberry P...
by Arjan
Tue Mar 15, 2016 7:13 pm
Forum: Device Tree
Topic: Overlay to remap Pi 3 UART
Replies: 126
Views: 108842

Re: Overlay to remap Pi 3 UART

The dtb can do things not normally possible because it creates device nodes that get turned into platform devices. But the overlay mechanism gives this power to users. This is for Linux-space. Correct? When doing baremetal programming, we are already a superuser. And we can do the same things that ...
by Arjan
Tue Mar 15, 2016 4:45 pm
Forum: Bare metal, Assembly language
Topic: RPI3 baremetal
Replies: 13
Views: 6028

Re: RPI3 baremetal

are you saying that we cannot get to the i2c expander from gpio pins? only thruogh the gpu? I am saying that I have a working example controlling the ACT Led using the mailbox. I have no idea if we can address the I/O expander directly. I assume not, otherwise we should not have this mailbox proper...
by Arjan
Sun Mar 13, 2016 3:06 pm
Forum: Bare metal, Assembly language
Topic: RPI3 baremetal
Replies: 13
Views: 6028

Re: RPI3 baremetal

On the Pi3B the red & green LEDs are no longer connected to bcm GPIOs; instead they are driven from an i2c GPIO expander: U20 located near the DSI connector.. Example of driving the Act LED can found here https://github.com/vanvught/rpidmx512/blob/master/bcm2835-baremetal/src/bcm2837_gpio_virt.c Ch...
by Arjan
Sun Mar 13, 2016 2:29 pm
Forum: Device Tree
Topic: Overlay to remap Pi 3 UART
Replies: 126
Views: 108842

Re: Overlay to remap Pi 3 UART

At some point you may have to get into a more precise definition of "baremetal",. My definition of baremetal : Not using Linux, using your own OS (https://github.com/vanvught/rpidmx512/blob/master/firmware-template/vectors.s), low-level programming, directly on the hardware, no restrictions. What o...
by Arjan
Sun Mar 13, 2016 12:56 pm
Forum: Device Tree
Topic: Overlay to remap Pi 3 UART
Replies: 126
Views: 108842

Re: Overlay to remap Pi 3 UART

I've pushed the new overlay (pi3-disable-bt) to the rpi-4.1.y source tree. You can download a pre-built version here . Hi PhilE, When using this https://github.com/vanvught/rpidmx512/blob/master/bcm2835-baremetal/src/bcm2835_pl011.c then it is working on the RPi 3, but it seems that BT is still act...
by Arjan
Sun Mar 13, 2016 12:46 pm
Forum: Advanced users
Topic: Raspberry Pi 3 - Bluetooth PL011 UART (9bit on mini-UART)?
Replies: 22
Views: 15860

Re: Raspberry Pi 3 - Bluetooth PL011 UART (9bit on mini-UART

clivem wrote:dtoverlay=pi3-miniuart-bt
Thanks. But this is for Linux. Are there any detailed instructions for a baremetal environment?

- Arjan
by Arjan
Sat Mar 12, 2016 4:22 pm
Forum: Advanced users
Topic: Raspberry Pi 3 - Bluetooth PL011 UART (9bit on mini-UART)?
Replies: 22
Views: 15860

Re: Raspberry Pi 3 - Bluetooth PL011 UART (9bit on mini-UART

- Is there any way that the mini-UART could be used for the Bluetooth and the PL011 is exposed on the GPIO header? Did we get an answer for above? I am using the PL011 for several applications. It would be a shame if the RPi 3 does not support the PL011 on the GPIO header. Thanks, Arjan http://www....
by Arjan
Fri Mar 11, 2016 10:09 pm
Forum: Bare metal, Assembly language
Topic: RPi 3 : Act LED (working example)
Replies: 1
Views: 2753

RPi 3 : Act LED (working example)

Herewith a working example for controlling the Act LED from ARM side. https://github.com/vanvught/rpidmx512/blob/master/bcm2835-baremetal/src/bcm2837_gpio_virt.c bcm2837_gpio_virt_init(); for(;;) { bcm2837_gpio_virt_led_set(0); udelay(500000); bcm2837_gpio_virt_led_set(1); udelay(500000); } Arjan ht...
by Arjan
Tue Mar 08, 2016 9:23 pm
Forum: Bare metal, Assembly language
Topic: DMA and SPI
Replies: 2
Views: 1000

Re: DMA and SPI

joan wrote:I believe the current Linux driver spi_bcm2853 can use DMA to fill the hardware FIFOs.

If you actually want to use DMA to construct the SPI waveform then have a look at rawWaveAddSPI.
This is the bare metal forum. I am looking for a bare metal example.
by Arjan
Tue Mar 08, 2016 8:38 pm
Forum: Bare metal, Assembly language
Topic: DMA and SPI
Replies: 2
Views: 1000

DMA and SPI

Hi,

Is there sample code available for DMA and SPI?

I am mostly interested in SPI output.

Thanks, Arjan

https://github.com/vanvught/rpidmx512/t ... _responder
by Arjan
Mon Mar 07, 2016 3:28 pm
Forum: Bare metal, Assembly language
Topic: multiple timers on RPi2?
Replies: 5
Views: 3010

Re: multiple timers on RPi2?

The best option for precise timing is using IRQ's. The example below let the ACT blink at 1Hz. And other code is executed at 40 Hz. The definitions for BCM2835_ST can be found here https://github.com/vanvught/rpidmx512/blob/master/bcm2835-baremetal/include/bcm2835.h Hope this helps. Arjan http://www...
by Arjan
Sat Mar 05, 2016 12:00 pm
Forum: Bare metal, Assembly language
Topic: Vector table init at rpi2
Replies: 25
Views: 3969

Re: Vector table init at rpi2

xboot wrote:

Code: Select all

.arch_extension sec
.arch_extension virt
Thank you!

Go to advanced search