Re: About OMAP 4460 and Cortex-M3 core

瀏覽次數:311 次
跳到第一則未讀訊息

Michael

未讀,
2012年8月3日 凌晨1:56:452012/8/3
收件者:panda...@googlegroups.com
He-Jie,

You may use a syslink framework to communicate them. You can find information about it here: http://omappedia.org/wiki/Syslink_Project. Also maybe following informal description will be useful for you as well: http://blogs.igalia.com/vjaquez/tag/syslink/.

Regards,
Michael
 
Thursday, 2 August 2012, 7:47:02 UTC+4, He-Jie Shih wrote:
OMAP 4460 has 2 cortex-a9 and 2 cortex-m3.
How to enable the 2 cortex-m3 core in Ubuntu?

Furthermore, how to exchange data between a9 and m3?


We want to put some non-os I/O scan task to these cortex-m3 core.

Thanks a lot!

He-Jie

henr...@gmail.com

未讀,
2014年3月17日 上午11:49:462014/3/17
收件者:panda...@googlegroups.com
Hi,

I am developing IO on the Cortex-M3 within an OMAP4 and I am having trouble developing an SPI driver. I was wondering if you have done this before and could help me. I have followed the OMAP4 TRM but have been unable to even get a clock signal out of GPIO_134 on the pandaboard.

Any help would be very appreciated!

-Henry

Bhupendra Pawar

未讀,
2014年4月2日 凌晨12:55:262014/4/2
收件者:panda...@googlegroups.com
Hi,

You need to do modification in board-omap4panda.c file, I was able to
communicate on SPI, below is the example for you.

+static struct spi_board_info panda_mcspi_board_info[] = {
+
+ {
+ .modalias = "myspi",
+ .max_speed_hz = 1500000,
+ .bus_num = 1,
+ .chip_select = 0,
+ .mode = SPI_MODE_1,
+ .platform_data = NULL,
+ },
+};

+static void __init omap4_panda_config_mcspi1_mux(void)
+{
+ // NOTE: Clock pins need to be in input mode
+ printk(KERN_INFO "omap4_panda_config_mcspi1_mux - Enter\n");
+ omap_mux_init_signal("mcspi1_clk.mcspi1_clk", OMAP_PIN_INPUT);
+ omap_mux_init_signal("mcspi1_cs0.mcspi1_cs0", OMAP_PIN_OUTPUT);
+ omap_mux_init_signal("mcspi1_simo.mcspi1_simo", OMAP_PIN_OUTPUT);
+ omap_mux_init_signal("mcspi1_somi.mcspi1_somi", OMAP_PIN_INPUT_PULLUP);

+ printk(KERN_INFO "omap4_panda_config_mcspi1_mux - Exit\n");
+}
+

omap4_ehci_init();
usb_musb_init(&musb_board_data);
+ /* SPI1 start */
+ printk(KERN_INFO "Registering SPI1 multeplexing\n");
+ omap4_panda_config_mcspi1_mux();
+ spi_register_board_info(panda_mcspi_board_info,ARRAY_SIZE(panda_mcspi_board_info));

+ printk(KERN_INFO " End Registering SPI1 multeplexing\n");
+ /* SPI1 end */

Br,
Bhupendra Pawar
> --
> You received this message because you are subscribed to the Google Groups
> "pandaboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandaboard+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
回覆所有人
回覆作者
轉寄
0 則新訊息