Jump to content

32614_1489253935

Members
  • Content Count

    54
  • Joined

  • Last visited

Everything posted by 32614_1489253935

  1. @@igor, Much appreciated! Like the way suggest to me, I have test Timer0A timer0B and WTIMER0, it is independence, You have make me clear ! Solved. Thanks everybody!
  2. Oh, sorry for my unclearly question, My trouble mean, is WTIMER0 and TIMER0A TIMER0B separate timers ?, is it not overlapping ?, can I use them simultaneously ? Thanks everyone!
  3. I have read, but I still not know, is WTIMER0 difference from TIME0A, TIMER0B ? Plz help me to clear! Thanks
  4. Thanks Kartman and Igor, I want to control three Motor, but I have use all another timer of TM4C123GH6PMI. The remaining is TIMER0 (timer 0A, 0B) I am going to use PB6 and PB7 for timer0A, 0B. PC4 for wtimer0. is it possible ?
  5. I everybody, I have a question is : can I use WTIMER0 and TIMER0 simultaneously (PWM mode) ?, is it conflicts ? I use tm4c123gH6PM Please give a solution! Thank you!
  6. I have two question need someone help me clear. 1) Someone say that SysCtrlClockGet of Tiva LaunchPad ( TM4C123GH6PM) is can not get clock rate of processor, is it right ? 2) Having many drive strength in GPIOPadConfigSet #define GPIO_STRENGTH_2MA 0x00000001 // 2mA drive strength #define GPIO_STRENGTH_4MA 0x00000002 // 4mA drive strength #define GPIO_STRENGTH_6MA 0x00000065 // 6mA drive strength #define GPIO_STRENGTH_8MA 0x00000066 // 8mA drive strength #define GPIO_STRENGTH_8MA_SC 0x0000006E // 8mA drive with slew rate control #define GPIO_STRENGTH_10MA 0x00000075 // 10mA drive strength #define GPIO_STRENGTH_12MA 0x00000077 // 12mA drive strength I do not know how to choose one/seven modes to use? Thanks!
  7. Thanks bluehash, could you give me more detail to config it, why we can be calculated it ? '0x21' and '0x01' ?
  8. Hi everybody, I have a part of dts file, I want to find offset of the index following: pinctrl-single,pins = < 0x150 0x21 /* spi0_sclk.uart2_rxd | * MODE1 | PULL_UP */ 0x154 0x01 /* spi0_d0.uart2_txd | MODE1 */ >; I have read many docs about am35xx, and others, but I can not find the way to get '0x21' and '0x01' for its mode. I hope someone can help me! Thanks
  9. The below post is full of my configuration, in ISR i use Dataget to read value to a buffer, I always doubt the follow lines (7 channels config), please help me for checking: SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE); SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOD); SysCtlPeripheralEnable(SYSCTL_PERIPH_ADC0);. GPIOPinTypeADC(GPIO_PORTE_BASE, GPIO_PIN_2 | GPIO_PIN_3 | GPIO_PIN_4 | GPIO_PIN_5); GPIOPinTypeADC(GPIO_PORTD_BASE, GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2);
  10. Thanks L.R.A for your answer, But I have put Dataget in interrupt service routine. The below lines just a configuration. My goal is configure to read 12 ADC channels. And I still have not solved.
  11. I wanna use these pins ( //E2-CH1,E3-CH0,E4-CH9,E0-CH8,D0-CH7,D1-CH6,D2-CH5) to read ADC inputs, have I fail ?, PLZ help me SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE); SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOD); SysCtlPeripheralEnable(SYSCTL_PERIPH_ADC0);. GPIOPinTypeADC(GPIO_PORTE_BASE, GPIO_PIN_2 | GPIO_PIN_3 | GPIO_PIN_4 | GPIO_PIN_5); GPIOPinTypeADC(GPIO_PORTD_BASE, GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2); ADCHardwareOversampleConfigure(ADC0_BASE, 32); ADCSequenceConfigure(ADC0_BASE, 2, ADC_TRIGGER_PROCESSOR, 0); ADCSequenceStepConfigure(ADC0_BASE, 2, 0, ADC_CTL_CH1); ADCSequenceStepConfigure(ADC0_BASE, 2, 1, ADC_CTL_CH0); ADCSequenceStepConfigure(ADC0_BASE, 2, 2, ADC_CTL_CH9); ADCSequenceStepConfigure(ADC0_BASE, 2, 3, ADC_CTL_CH8); ADCSequenceStepConfigure(ADC0_BASE, 2, 4, ADC_CTL_CH7); ADCSequenceStepConfigure(ADC0_BASE, 2, 5, ADC_CTL_END | ADC_CTL_CH6 | ADC_CTL_IE); ADCSequenceEnable(ADC0_BASE, 2);// ADCIntRegister(ADC0_BASE, 2, &MyISR); ADCIntEnable(ADC0_BASE, 2);
  12. Hi guys, I have a question about SYSCTL_PERIPH_ADC0,SYSCTL_PERIPH_ADC1 I knew that on Tiva board have 12 ADC channels, but I do not know what is the role of SYSCTL_PERIPH_ADC0/ADC1 ? what is the function of them? When do we use it ? I hope someone can make me understand my problems. Thanks!
  13. thanks, but ,have you use bonescript on ubuntu ? I have tried but no more effect
  14. Hi Si, I'm using Ubuntu 13.04 on BBB, I have found many way to install Cloud9 IDE but currently i can not use bonescript when i access to 192.168.7.2:8080 as many tutorial on Angstrom. http://forum.beaglefu.com/topic/211-cloud9-ide/ if you have done with my problem, plz give me solution. Much appreciated!
  15. sorry, but i still cannot solve my problem
  16. Hi guys, I use DS1307 connect SDA,SCL to pin I2C2 of BBB, provide power for DS1307, I access to /dev but i can't find 'rtc1', it only have 'rtc0' as a default. I have use command to append address then using 'i2cdetect....' but no more effect. Hope you can help me! Thanks!
  17. Hello everyone, I have a error, i hope you can give me a solution plz watch my attached photo. Thanks!
  18. Hi everyone, Can i see the list of webcam which actually active on ubuntu ?
  19. Here is my fault, plz give a solution, thanks Dear! Make... has modification time in the future
  20. Dear everyone, I'm a newbie so i need everyone help me to understand about the following command: HWREG(GPIO_PORTC_BASE + 0x0100) & 0x40 Thank Dear!
  21. Hi every one, I have tried to install Cloud9 IDE on BBB ( ubuntu 13.10) I have install successfully, But I still not access to cloud9 on my pc ( windows 7) Here is my result (image) Please give a solution, i have tried to find a long time but no more effective. Thanks Dear!
×
×
  • Create New...