You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by di...@gmail.com on 2020/01/04 13:48:46 UTC
NX Graphics
All,
I am trying to get a ILI9341 working and a tip from Dave gave me the option
to implement it as a generic SPI driver. Before I have tried to do this with
LTDC and FMC like on the STM32F429i.
But in both cases I get in pdccurses:
* Unable to create SP: in pdc_initscr.c its not really clear to me
what the cause could be..
In both casus in NX I get:
nsh> nxhello
nxmu_start: Starting server task
lcddrv_spiif_initialize: initialize lcddrv spi subdriver
board_lcd_getdev: SPI port 2 bound to LCD 0
spi_send: Sent: 0001 Return: 00ff Status: 02
spi_send: Sent: 0001 Return: 00ff Status: 02
stm32_spi2select: devid: 262144 CS: assert
nxbe_configure: WARNING: NX configured for 1 planes, controller only needs 0
nxmu_setup: ERROR: mq_open(nxs) failed: 28
nx_server: nx_run returned: -28
nx_connectinstance: ERROR: mq_open(nxc1) failed: 28
nxhello_initialize: nx_connect failed: 28
nxhello_main: NX handle=0
nxhello_main: Failed to get NX handle: 28
What am I doing wrong? My SPI signals seem to be correct.