Go to advanced search

by Arjan
Sat Dec 16, 2017 6:17 pm
Forum: Bare metal
Topic: [Solved] UARTs break
Replies: 10
Views: 633

Re: UARTs break

by Arjan
Sat Dec 16, 2017 3:37 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Open source Raspberry Pi C++ library for 16-Channel 12-bit PWM/Servo Driver PCA9685
Replies: 0
Views: 192

Open source Raspberry Pi C++ library for 16-Channel 12-bit PWM/Servo Driver PCA9685

https://github.com/vanvught/rpidmx512/tree/master/lib-pca9685 Examples for PWM led and Servo are included. Successfully tested with : Adafruit 16-Channel PWM / Servo HAT for Raspberry Pi - Mini Kit ( https://www.adafruit.com/product/2327 ) Adafruit 16-Channel 12-bit PWM/Servo Driver - I2C interface ...
by Arjan
Sat Dec 16, 2017 3:30 pm
Forum: Bare metal
Topic: lwIP - A Lightweight TCP/IP stack
Replies: 20
Views: 5381

Re: lwIP - A Lightweight TCP/IP stack

A full TCP/IP stack is a serious undertaking, and what is the definition of full at this point, jumbo frames? IPV6? (it is up to you to decide what that means not for the public in general) And then you put an apl layer on that so you can write applications for this stack. That is after you figure ...
by Arjan
Sun Dec 10, 2017 6:28 pm
Forum: Bare metal
Topic: lwIP - A Lightweight TCP/IP stack
Replies: 20
Views: 5381

Re: lwIP - A Lightweight TCP/IP stack

You lost me you already gave the linked to circle which I thought had a full USB implementation and a partial Ethernet, they at least show you how to open the special pipe endpoint as I remember? So do you want me to just connect the Ethernet on it for you to play with. You will see LAN9512 gets en...
by Arjan
Sun Dec 10, 2017 10:51 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Open source Raspberry Pi C++ library for STMicro L6470 stepper motor driver
Replies: 0
Views: 168

Open source Raspberry Pi C++ library for STMicro L6470 stepper motor driver

https://github.com/vanvught/rpidmx512/tree/master/lib-l6470 Supported devices : SlushEngine: Model X LT Stepper Motor Driver (https://roboteurs.com/products/slushengine) Compatible with the SlushEngine Python software library API SparkFun AutoDriver - Stepper Motor Driver (https://www.sparkfun.com/...
by Arjan
Sun Dec 10, 2017 10:30 am
Forum: Other projects
Topic: Raspberry Pi SMPTE Timecode LTC Reader / Converter
Replies: 0
Views: 223

Raspberry Pi SMPTE Timecode LTC Reader / Converter

http://www.raspberrypi-dmx.org/raspberry-pi-timecode-ltc-reader Supported display output: Console (external monitor) OLED display 128 x 64 SSD1306 I2C LCD 16x2 I2C (auto-detect) 8x 7-Segment display Supported output protocols: MIDI Full Timecode Message Art-Net 3 Supported input protocols: SMPTE LTC...
by Arjan
Sun Dec 10, 2017 10:26 am
Forum: Other projects
Topic: Raspberry Pi Art-Net DMX Stepper Controller
Replies: 0
Views: 144

Raspberry Pi Art-Net DMX Stepper Controller

http://www.raspberrypi-dmx.org/raspberry-pi-artnet-dmx-stepper-controller The Raspberry Pi ArtNet DMX Stepper Controller is designed for controlling stepper motors via DMX. Main features Open source https://github.com/vanvught/rpidmx512/tree/master/linux_rpi_artnet_l6470 Open source C++ library for ...
by Arjan
Tue Sep 26, 2017 6:34 pm
Forum: Bare metal
Topic: lwIP - A Lightweight TCP/IP stack
Replies: 20
Views: 5381

Re: lwIP - A Lightweight TCP/IP stack

LdB wrote:
Tue Sep 26, 2017 6:26 pm
You actually can't use the Ethernet without first bringing up the USB on the Pi :-)
See also my previous append with
The Ethernet controller used on the Raspberry Pi is connected to the SoC via USB. So I really need to wait for full USB implementation
by Arjan
Tue Sep 26, 2017 6:32 pm
Forum: Bare metal
Topic: lwIP - A Lightweight TCP/IP stack
Replies: 20
Views: 5381

Re: lwIP - A Lightweight TCP/IP stack

LdB wrote:
Tue Sep 26, 2017 6:26 pm
Yes I know I have about 10 implementations of various things on Baremetal on the USB/Ethernet.
Links to source code?
by Arjan
Tue Sep 26, 2017 6:21 pm
Forum: Bare metal
Topic: lwIP - A Lightweight TCP/IP stack
Replies: 20
Views: 5381

Re: lwIP - A Lightweight TCP/IP stack

We have been thru all this before the IO speeds are fixed by the GPIO clock speeds Raspberry Pi 1 of 22.7Mhz, Raspberry Pi 2 of 41.7Mhz and the Raspberry Pi 3 at 65.8Mhz Subtract away your per packet bits and you would get the maximum possible speeds. For example if you ran a software UART format 1...
by Arjan
Mon Jul 31, 2017 7:59 pm
Forum: Other projects
Topic: DMX512 Console Control
Replies: 1
Views: 790

Re: DMX512 Console Control

Better to invest in an additional Zero Open source Raspberry Pi RDM Controller with USB, DMX512 isolated board and compatible with software that supports Enttec USB Pro. http://www.raspberrypi-dmx.org/raspberry-pi-rdm-controller Or Raspberry Pi Art-Net 3 Wifi ->DMX Out / RDM Controller / Pixel contr...
by Arjan
Mon Jul 31, 2017 7:55 pm
Forum: Other languages
Topic: DMX Controller
Replies: 4
Views: 1852

Re: DMX Controller

I have no issue with controlling them that way but I'd like to know if I could control them via terminal or something, I'm training in crestron programming and would like my crestron controller to send commands to the Pi which controls the lights Raspberry Pi Art-Net 3 (Wifi) ->DMX Out / RDM Contro...
by Arjan
Mon Jul 31, 2017 7:44 pm
Forum: General discussion
Topic: Making a make file / installing OLA
Replies: 2
Views: 573

Re: Making a make file / installing OLA

Building OLA 0.10.3 / Raspbian Jessie / Raspberry Pi 3 -> enabled plug-ins : usbpro e131 artnet uartdmx {rdm-tester}

https://groups.google.com/forum/m/#!top ... URIBDSX_6c
by Arjan
Mon Jul 31, 2017 7:42 pm
Forum: Other projects
Topic: DMX INPUT, RGBW output via GPIO and web control?
Replies: 3
Views: 509

Re: DMX INPUT, RGBW output via GPIO and web control?

I have an RGBW wall mount controller that outputs DMX. I'd like to be able to bring the DMX into the pi and have it output a couple channels of PWM into an off the shelf RGBW amplifier to handle the power. I also need to be able to send commands to the pi to change the intensities of each channel. ...
by Arjan
Mon Jul 31, 2017 4:56 pm
Forum: Bare metal
Topic: RPI3 IMPOSSIBLE ACTIVATE OK LED
Replies: 6
Views: 1585

Re: RPI3 IMPOSSIBLE ACTIVATE OK LED

It's now done via the mailbox and given your temperature routine very easy to add to that. The hardware_led_set((int) state) is set here -> https://github.com/vanvught/rpidmx512/blob/master/lib-hal/src/hardware.c#L99 struct _hardware_led { void (*init)(void); ///< Pointer to function for LED ACCT i...
by Arjan
Mon Jul 31, 2017 4:49 pm
Forum: Bare metal
Topic: Reading and writing files to SD card or USB drive.
Replies: 6
Views: 1608

Re: Reading and writing files to SD card or USB drive.

The SD code is based on John Cronin's work and there is a couple of serious bugs we have discussed a number of times. The clock setting is all wrong, it trashes the pre-tune register on high speed cards and if anything calls the 1.8V dropdown it will crash because the Pi only supports 3.3v. John's ...
by Arjan
Sun Jul 30, 2017 8:29 pm
Forum: Bare metal
Topic: GPU Mailbox protocol
Replies: 4
Views: 750

Re: GPU Mailbox protocol

Herewith my code for getting the SoC temperature -> https://github.com/vanvught/rpidmx512/b ... _vc.c#L239
by Arjan
Sun Jul 30, 2017 8:25 pm
Forum: Bare metal
Topic: RPI3 IMPOSSIBLE ACTIVATE OK LED
Replies: 6
Views: 1585

Re: RPI3 IMPOSSIBLE ACTIVATE OK LED

This https://github.com/vanvught/rpidmx512/tree/master/test-kernels generates a kernel.img and a kernel7.img with a blinker example. static void led_handler(const uint32_t clo) { const unsigned state = led_state++ & (unsigned) 0x01; console_set_cursor(1, 26); (void) console_putc((int) '0' + state); ...
by Arjan
Sun Jul 30, 2017 8:08 pm
Forum: Bare metal
Topic: Autodetect IO Base Address code
Replies: 3
Views: 870

Re: Autodetect IO Base Address code

At runtime you can also check the board type and set the hardware configuration -> https://github.com/vanvught/rpidmx512/b ... re_board.c
by Arjan
Sun Jul 30, 2017 7:53 pm
Forum: Bare metal
Topic: Memory allocation in arm on the Pi
Replies: 4
Views: 865

Re: Memory allocation in arm on the Pi

For baremetal and _sbrk (malloc), please check -> https://balau82.wordpress.com/2010/12/1 ... -programs/
by Arjan
Sun Jul 30, 2017 7:47 pm
Forum: Bare metal
Topic: Bare metal: overlay PL011 UART
Replies: 1
Views: 542

Re: Bare metal: overlay PL011 UART

In baremetal it is just setting the correct ALT function. For example -> https://github.com/vanvught/rpidmx512/b ... l011.c#L39
by Arjan
Sun Jul 30, 2017 7:43 pm
Forum: Bare metal
Topic: How to findo information about the current address space?
Replies: 1
Views: 450

Re: How to findo information about the current address space?

Hi Makogan,

You can get the details from the linker.
See my malloc -> https://github.com/vanvught/rpidmx512/b ... c/malloc.c

Also you can use the mailbox to get the memory size -> https://github.com/vanvught/rpidmx512/b ... _vc.c#L461

Go to advanced search