Jump to content


  • Content Count

  • Joined

  • Last visited

About Davidwallis

  • Rank
    Noob Class

Profile Information

  • Location
  1. Is it possible to configure a weak Down up on an adc? I have tried this but it doesn't seem to work..(based on the single ended adc example, comments removed for clarity.. SysCtlPeripheralEnable(SYSCTL_PERIPH_ADC0); SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE); GPIOPinTypeADC(GPIO_PORTE_BASE, GPIO_PIN_3); //Configure Weak pull down GPIOPadConfigSet(GPIO_PORTE_BASE,GPIO_PIN_3,GPIO_STRENGTH_2MA,GPIO_PIN_TYPE_STD_WPD); ADCSequenceConfigure(ADC0_BASE, 3, ADC_TRIGGER_PROCESSOR, 0); ADCSequenceStepConfigure(ADC0_BASE, 3, 0, ADC_CTL_CH0 | ADC_CTL_IE | ADC_CTL_END); ADCSequen
  2. Thanks, I eventually got the code working with a peer review from a friend, who couldn't see anything wrong, he built it on his machine and then sent the bin which I flashed and it all worked ok.. Downgrading tivaware on my machine and rebuilding it - it then worked.. Need to have another play with this tonight.. Next problem was I was loosing messages - Don't know if I need to use more slots and fifo to cope with the volume of messages (@ 1Mbps) ?
  3. Hi, I got the example working to some extent, but ended up using code composer - so mods feel free to move this if needed. Few questions on the RX example.. How do I add interrupt vectors? Initally I have got it triggering on can messages by enabling: CANIntRegister(CAN0_BASE, CANIntHandler); // if using dynamic vectors I have set the msgID as: sCANMessage.ui32MsgID = 0x600; and have tried all sorts of masks.. from 0 to 0xffff etc - Just not sure how to set this? sCANMessage.ui32MsgIDMask = 0xfff; In this scenario I am running at 1Mbps and have configured th
  4. Does anyone have a can bus example for energia that works with the tm4c123g? Thanks David
  • Create New...