Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

DRA80M: WKUP_GPIO_10 on TP43 / AB3 on TI AM65x IDK

$
0
0

Part Number:DRA80M

Hi,

 Could you please let me know how is it possible to produce and measure the WKUP_GPIO signal using MMRs on 10th GPIO pin, so it could be detected on test point TP43 on TI AM65x IDK? Unfortunately the described steps in 12.1.2.4.2 GPIO Function does not lead to the expected results, the values does not change (measured using the oscilloscope).

 

Providing the details below:

  1. According to AM65x TI IDK schematic (page 33) there is a WKUP_GPIO_10 on AB3 with on the test point TP43
  2. According to the datasheet for DRA80M page 52, AB3 is mapped to WKUP_GPIO0_10 in mode 7:

3. According to public TRM AM65x (12.1.2.3, 12.1.2.5) the required integration / programming guide for WKUP_GPIO contains LPSC5

4. According to TRM and CTT the LPSC5 is clocked by either MCU_SYSCLK0 or one of the two internal clock sources.

5. Based on the above I make a conclusion that on AM65x TI IDK the WKUP_GPIO is up, since

    1. WKUP_OSC is connected to crystal 25 Mhz (page 11 of IDK User Guide, Figure 6)
    2. MCU_PLL0 is on after POR with the following configuration (N = 9, M = 480, Mfrac = 0, M2 = 3) which leads to 400 Mhz of MCU_PPL0_CLKOUT
    3. WKUP_PLLCTRL0 is configured anyway to output HFOSC0 / 4 as MCU_SYSCLKOUT0 (e.g. not PLL mode)
    4. At the moment of the measurement the appropriate MUX pin is configured to 7, so WKUP_GPIO_10 is on AB3
    5. At the same time the execution of the following steps according to GPIO programming guide does not lead to logical high on TP43

• Write 400h to the GPIO_SET_DATA01 register. (400 corresponds 10th pin in 0’th bank of WKUP_GPIO)

• Write 0h to the GPIO_DIR01 register to configure as output pin.

• Read in GPIO_OUT_DATA01 register, change bit 10 to 0x1, and write the new value back to GPIO_OUT_DATA01.

 

Could you please let me know if the above sequence of conclusions is correct and if WKUP_GPIO is up after POR? If yes what would be the reason why the signal is not observed on the TP from you prospective? Is the GPIO programming understood correctly or its was misused?

 

Thank you in advance. Looking forward to hearing back from you. Please let me know if I have to provide more details.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>