<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bus dati  MQX in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Bus-dati-MQX/m-p/157507#M870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ﻿﻿Maurizio,&lt;/P&gt;&lt;P&gt;The MCF52259 (evb or tower) has examples of using the external MRAM that is on-board for the former and on the TWRMEM card for the later platform.&lt;/P&gt;&lt;P&gt;If you open the mqx/examples/hello project for the m52259evb the default target is Ext MRAM Debug.&lt;/P&gt;&lt;P&gt;You must build the bsp and psp prior to compiling the application in MQX3.7.&lt;/P&gt;&lt;P&gt;The bsp contains the code that setups and intializes the flexbus (external bus) to access the MRAM.&lt;/P&gt;&lt;P&gt;Open the bsp_init.c file and find the mcf5225_init() function.&lt;/P&gt;&lt;P&gt;Towards bottom of function the pins for the flexbus are setup and then a call to _bsp_flexbus_mram_setup() is called that will configure the flexbus module for accessing the mram on the m52259evb.&lt;/P&gt;&lt;P&gt;Lastly the application linker file (extmram.lcf) is used to define the memory map.&lt;/P&gt;&lt;P&gt;Note the m52259evb.cfg and m52259evb.mem files are used by the debugger to setup the system so the debugger can download the code to MRAM to allow you to run the example hello application.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2011 21:22:54 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2011-08-10T21:22:54Z</dc:date>
    <item>
      <title>Bus dati  MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Bus-dati-MQX/m-p/157506#M869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 16px; line-height: normal; background-color: #f5f5f5;"&gt;hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 16px; background-color: #f5f5f5;"&gt;&lt;SPAN style="line-height: normal;"&gt;is an example&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;of how to&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;manage the&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;data bus on Codewarrior&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="line-height: normal;"&gt;The same&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;databus&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;of&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;external RAM&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 16px; background-color: #f5f5f5;"&gt;&lt;SPAN style="line-height: normal;"&gt;&lt;SPAN&gt;I have&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;seen all&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;the examples&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;folder&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;MQX&lt;/SPAN&gt;&lt;SPAN&gt;, but&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;I have not found&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;anything&lt;/SPAN&gt;﻿.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 16px; background-color: #f5f5f5;"&gt;&lt;SPAN style="line-height: normal;"&gt;Maurizio&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 16px; background-color: #f5f5f5;"&gt;&lt;SPAN style="line-height: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 19:59:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Bus-dati-MQX/m-p/157506#M869</guid>
      <dc:creator>Microfelix</dc:creator>
      <dc:date>2011-08-09T19:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bus dati  MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Bus-dati-MQX/m-p/157507#M870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ﻿﻿Maurizio,&lt;/P&gt;&lt;P&gt;The MCF52259 (evb or tower) has examples of using the external MRAM that is on-board for the former and on the TWRMEM card for the later platform.&lt;/P&gt;&lt;P&gt;If you open the mqx/examples/hello project for the m52259evb the default target is Ext MRAM Debug.&lt;/P&gt;&lt;P&gt;You must build the bsp and psp prior to compiling the application in MQX3.7.&lt;/P&gt;&lt;P&gt;The bsp contains the code that setups and intializes the flexbus (external bus) to access the MRAM.&lt;/P&gt;&lt;P&gt;Open the bsp_init.c file and find the mcf5225_init() function.&lt;/P&gt;&lt;P&gt;Towards bottom of function the pins for the flexbus are setup and then a call to _bsp_flexbus_mram_setup() is called that will configure the flexbus module for accessing the mram on the m52259evb.&lt;/P&gt;&lt;P&gt;Lastly the application linker file (extmram.lcf) is used to define the memory map.&lt;/P&gt;&lt;P&gt;Note the m52259evb.cfg and m52259evb.mem files are used by the debugger to setup the system so the debugger can download the code to MRAM to allow you to run the example hello application.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 21:22:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Bus-dati-MQX/m-p/157507#M870</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2011-08-10T21:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Bus dati  MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Bus-dati-MQX/m-p/157508#M871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN style="line-height: 19px;"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN style="line-height: 19px;"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN style="line-height: 19px;"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN style="line-height: 19px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 16px; background-color: #f5f5f5;"&gt;&lt;FONT size="3"&gt;&lt;SPAN style="line-height: normal;"&gt;hello&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;SPAN style="line-height: normal;"&gt;I saw&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;the code&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;and I was able&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;to experiment&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;SPAN style="line-height: normal;"&gt;but&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;I'm trying to&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;use the&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;LCD&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;with a&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;flexbus&lt;/SPAN&gt;&lt;SPAN style="line-height: normal;"&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;with the example&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;hello in&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;MQX&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;I was able to&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;manage the&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;EBI_CS1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;but I can not&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;run the&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;RW&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;and OE&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;I tried&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;the configurations that&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;I&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;have&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;indicated&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;but does not work&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;﻿﻿&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define LCD_DISK_BASE &amp;nbsp; BSP_EXTERNAL_LCD_BASE﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Set Base address&amp;nbsp;&lt;/P&gt;&lt;P&gt;FB_CSAR1 = (uint_32) LCD_DISK_BASE;&lt;BR /&gt;&amp;nbsp; FB_CSCR1 &amp;nbsp;= &amp;nbsp; FB_CSCR_PS(1) &amp;nbsp; &amp;nbsp; &amp;nbsp;// 8-bit port&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;| FB_CSCR_AA_MASK &amp;nbsp; &amp;nbsp;// auto-acknowledge&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;| FB_CSCR_ASET(0x1) &amp;nbsp;// assert chip select on second clock edge after address is asserted&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FB_CSMR1 &amp;nbsp;= &amp;nbsp; FB_CSMR_BAM(0x7) &amp;nbsp;//Set base address mask for 512K address space&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;| FB_CSMR_V_MASK &amp;nbsp; &amp;nbsp;//Enable cs signal&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FB_CSPMCR = &amp;nbsp;FB_CSPMCR_GROUP1(1);&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; /* Configure the pins needed to FlexBus Function (Alt 5) */&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* this example uses low drive strength settings &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;BR /&gt;&amp;nbsp; //address&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTB_PCR11 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[18]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTB_PCR16 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[17]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTB_PCR17 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[16]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTB_PCR18 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[15]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR0 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[14]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR1 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[13]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR2 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[12]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR4 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[11]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR5 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[10]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR6 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[9]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR7 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[8]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR8 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[7]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR9 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[6]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR10 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[5]&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORTD_PCR2 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[4]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTD_PCR3 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[3]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTD_PCR4 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[2]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTD_PCR5 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[1]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTD_PCR6 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[0]&amp;nbsp;&amp;nbsp;&amp;nbsp; //data&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTB_PCR20 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[31] used as d[7]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTB_PCR21 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[30] used as d[6]&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTB_PCR22 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[29] used as d[5]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTB_PCR23 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[28] used as d[4]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR12 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[27] used as d[3]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR13 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[26] used as d[2]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR14 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[25] used as d[1]&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR15 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp;fb_ad[24] used as d[0]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;//control signals&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTB_PCR19 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// fb_oe_b&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTC_PCR11 = PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// fb_rw_b &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTD_PCR1 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// fb_cs0_b&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTD_PCR0 &amp;nbsp;= PORT_PCR_MUX(5); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// fb_ale﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 16px; background-color: #f5f5f5;"&gt;&lt;FONT size="3"&gt;&lt;SPAN style="line-height: normal;"&gt;Maurizio&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 05:35:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Bus-dati-MQX/m-p/157508#M871</guid>
      <dc:creator>Microfelix</dc:creator>
      <dc:date>2011-08-11T05:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bus dati  MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Bus-dati-MQX/m-p/157509#M872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Maurizio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TWR-LCD (modified, conected flexbus CS1 instead CS0)&lt;/P&gt;&lt;P&gt;TWR-MCF52259&lt;/P&gt;&lt;P&gt;MQX3.6&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use MQX3.6 and i have to modify the following code in bsp_init.c from bsp library in order to use CS1 to access LCD through flexbus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/*FUNCTION*-------------------------------------------------------------------** Function Name    : _bsp_flexbus_lcd_setup* Returned Value   : * Comments         :*    Setup flexbus for lcd operation**END*----------------------------------------------------------------------*/void _bsp_flexbus_lcd_setup (const uint_32 base_address){    VMCF5XXX_MINIFB_STRUCT_PTR fb_ptr = &amp;amp;((VMCF5225_STRUCT_PTR)BSP_IPSBAR)-&amp;gt;FB;        /* Enable external LCD mapped on CS1 */    fb_ptr-&amp;gt;CSAR1 = MCF5XXX_FBCS_CSAR_BA(base_address); /* CS0 base address */      fb_ptr-&amp;gt;CSCR1 = MCF5XXX_FBCS_CSCR_MUX | MCF5XXX_FBCS_CSCR_AA | MCF5XXX_FBCS_CSCR_PS_16;     fb_ptr-&amp;gt;CSMR1 = MCF5XXX_FBCS_CSMR_BAM_128K | MCF5XXX_FBCS_CSMR_V; /* The address range is set to 128K because the DC signal is connected on address wire */      }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Maybe this help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:02:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Bus-dati-MQX/m-p/157509#M872</guid>
      <dc:creator>madifazio</dc:creator>
      <dc:date>2020-10-29T09:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Bus dati  MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Bus-dati-MQX/m-p/157510#M873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks for&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;the example&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;I&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;understand&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;how it works and&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;get it to&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;work,&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;but I still have&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;a problem&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The signal&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;R&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;/&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;W&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;work,&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;but the signal&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;OE&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;is not working&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;I can not&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;read the&lt;/SPAN&gt;&lt;SPAN&gt;flexbus&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;I need it for&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;other&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;devices that&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;I would like to&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;implement.&lt;/SPAN&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maurizio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 22:05:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Bus-dati-MQX/m-p/157510#M873</guid>
      <dc:creator>Microfelix</dc:creator>
      <dc:date>2011-08-11T22:05:40Z</dc:date>
    </item>
  </channel>
</rss>

