Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

Intel Galileo Gen2 IO

Posted by jordiblasi on October 25, 2016

Hi,

I have FreeRTOS running over an Intel Galileo Gen2 Board. I am quite new to FreeRTOS so maybe this is an basic question. I have successfully run different tasks, but now I want to work with Input and Output pins. Following the blinking demo code I have found a function called vGalileoSetGPIOBitLevel, that seems to write a bit to a determined output. I have this two questions: -I have not been able to understand, neither in the manuals nor in the code, is how to map the function entry parameter (GPIONumber) with the actual pins. Does it refer to 1 to 12 numbered Digital(PWM)? - How can I get a reading from an Input? Are the A0 to A5 Analog In the ones to use? Which function is supposed to give me the value?

I have not found any reading on this issue, so any reference would be very helpful.

Thanks.


Intel Galileo Gen2 IO

Posted by rtel on October 25, 2016

Accessing the IO on the Galileo is not always straight forward, and requires configuration that is more complex than expected for people who are used to working on small micros rather than larger processors. I would suggest looking on the Intel developer web site, where you may find the documentation you need, and will find further source code you can use as a reference.


Intel Galileo Gen2 IO

Posted by jordiblasi on October 28, 2016

I have been looking on the Intel Dev site and I have found they have the MRAA driver for IO management, but I have not been able to make it work. In the forum I was even told that it is not supposed to be working with Yocto, not FreeRTOS.

I have been trying to follow the code and modify the blinking demo so I could light a led connected to a pin (number 7 in the digital PWM group).

~~~ vGalileoInitializeGpioController(); vGalileoLegacyGPIOInitializationForLED(); vGalileoSetGPIOBitLevel(7, 1); ~~~

This did not work, but I am not sure if this methods are prepared for this or I am just htting the wrong path.

Thanks,


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists