Posts by RSchubert

    Hello,


    is there an example how to use the SPI interface? In the documentation I found:


    5.10 SPI
    On J10 (PicoMOD7-SKIT) you find MISO,MOSI,SPCK and PCS0 SPI lines. A simple demo application
    can be found in the download section of PicoMOD7.


    But there's no example in the download area. Maybe in PicoMOD6 downloads there's such an example but I cannot access this area.


    Thanks in advance.

    I have these lines in bootlog:

    Code
    1. ALSA device list:
    2. #0: pm7-tlv320 (tlv320aic23)


    but no /dev/snd directory.


    Here I send my #ls -lah output:


    Hi, how do I access the sound device? I have inlcuded the ALSAlib. In my FS there's a /proc/asound directory. Inside there's a card0 folder. The hardware is identified as pm7tlv320. The question is: what is the name of the device? With the ALSAlib there comes a test program named pcm that should generate a sinus wave to the sound output. Here I have to add the device name e.g. ./pcm -Dhw:0,0. All devices I tried did not work.


    (_snd_pcm_hw_open) Invalid value for card
    Playback open error: No such file or directory


    In my /dev folder there's no device that looks like sound.


    Thanks in advance.

    Good morning,


    how do I mount the SD card on Picomod7 starter board? I'm able to mount a USB stick with

    Code
    1. mount -t vfat /dev/sda1 /media/usb


    but I don't find a device for the SD card. When I insert the card the debugging console is showing me:

    Code
    1. mmc0: new high speed SD card at address b368
    2. mmcblk0: mmc0:b368 MS 1.88 GiB
    3. mmcblk0:<7>mmc0: starting CMD18 agr 00000000 flags 000000b5
    4. p1


    In my /dev folder there's no mmc or mmcblk device. sda1 seems to be the only existing device from all the sda and sdb devices (checked with #cat sdaX). Any idea?


    Thanks.

    Setting one of the default bitrates defined by Bxxxxx is working. My problem is that I need a custom baudrate (520000 baud) because of communication with a slow CPU where I cannot divide the clock to a fast default value.


    Any ideas? Thanks.

    In the manual (PicoMOD-Startinterface_eng.pdf) there's nothing about RTC or any Switch 1-4? Is there another document? Where should this switch be?


    Thanks

    Hi, I need to reboot the Picomod by software. It seems this peace of code is missing inside the kernel - so /sbin/reboot will fail. Here's the kernel file:



    Any idea how to fix this? Thanks in advance.

    Hi, me again. How do I control the brightness of LED backlight? We have a display (AUO) with inputs for:


    - 12V Backlight Power
    - GND
    - 5V for enable/disable backlight
    - PWM input for dimming.


    For now we have all pins hard wired to 12V,GND,5V or 3.3V.


    The question is how do I control the VCFL (J28 Pin1) and PWM (J28 Pin2) pins by software. By default both pins seem to be low (0V).


    Thanks for answering

    Hi, how do I get the RTC working while power off? We are using the Starterboard with Picomod7. We are using a CR2032 with 3.2V (meassured) power on the Starterboard. Everytime we reset the Picomod, the clock is set to zero. Is it a software issue? Do I have to read/write the RTC by own peace of code or should this be done by the kernel?


    Thanks for answering.

    Hi, what's needed (on the hardware side) to use the Picomod7 audio output. Is it possible to connect a little speaker or headphones directly to AUDIO OUT + - and GND of the StarterBoard?


    Thanks for answering.

    this already was in the code:


    Code
    1. tcgetattr(fd,&oldtio); /* save current port settings */
    2. newtio.c_cflag = B38400 | CS8 | CLOCAL | CREAD;
    3. newtio.c_iflag = IXANY;
    4. newtio.c_oflag = 0;
    5. newtio.c_lflag = 0;
    6. newtio.c_cc[VMIN]=1;
    7. newtio.c_cc[VTIME]=0;
    8. tcsetattr(fd,TCSANOW,&newtio);


    I also tried your piece of code. The result is the same. Baud_base and divisor are 0 and writing the values causes crashing the serial driver (I have to reboot to get the serial port working again). Maybe the problem ist, that there's no known serial driver (see setserial output)??