The issue: With 5MHz SPI clock the communication RPI<->mcp3912 is established smooth. After increasing the speed to 10MHz, data is very random/incorrect.
The SPI devices supports SPI clock to 20MHz.
Verification scenario is very short...
I have a ready-to-use U-boot, and now I want to replicate the Linux steps of cooking kernel and rootfs images for aarch64 FreeBSD. My goal is to flash them to a 16-Mbyte SPI Flash chip.
1) Firstly, would a generic aarch64 FreeBSD release be capable of booting from SPI?
2) Kernel image...
I have a system running FreeBSD (currently at 12.3, 13.1 upgrade under development) that has a SPI bus, which is working with the FreeBSD spibus driver, to which is connected an ns8250-compatible DUART. There are, in fact, 6 DUARTs on the bus, with chip selects operated by gpio pins. We have...
I have a MacBook Pro (15-inch, 2017) and I want to run FreeBSD on it natively. But the built-in keyboard, trackpad and Touch Bar do not work. External keyboards and mice attached via USB work.
So I want to write a driver for the keyboard first; I will write the drivers for the rest afterwards...
I write a driver of LCD, witch use SPI and GPIO and works on kernelspace. Source code is available on my github:
I'll try to test spi but I find strength things. When I load module into kernel:
I see that init...