Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 22 matches
www.mcselec.com Forum Index
Author Message
  Topic: CANOpen
JSEDDY

Replies: 1
Views: 554

PostForum: BASCOM-AVR   Posted: Fri Sep 11, 2020 12:38 pm   Subject: CANOpen
I seem to be in a similar place with a string of downhole boards, one of which I have to upgrade.

The bus master is a little dsPic with a Canopen stack in it. The docs I have are in C.

I can ou ...
  Topic: CanOpen
JSEDDY

Replies: 4
Views: 781

PostForum: BASCOM-AVR   Posted: Fri Sep 11, 2020 12:29 pm   Subject: Canopen
I inherited a system to update and have to add a sensor board to a series of down-hole boards. The fly in the ointment is a little bus master board with a built in Canopen stack in it. The documenta ...
  Topic: XMEGA Xplained board - Getting Started
JSEDDY

Replies: 6
Views: 498

PostForum: BASCOM-AVR   Posted: Sun Jan 17, 2016 6:10 am   Subject: XMEGA Xplained board - Getting Started
Thanks JC but I can conform that studio 4 works fine and the connections are correct as per the schematics.
  Topic: XMEGA Xplained board - Getting Started
JSEDDY

Replies: 6
Views: 498

PostForum: BASCOM-AVR   Posted: Mon Jan 11, 2016 11:24 pm   Subject: XMEGA Xplained board - Getting Started
Trying to get going on a fun new project with a new chip but I was thwarted! The XMEGA uses a PDI interface, which IS supported by ISP mkII and AVR studio 4 and up...

I tried that other AVR site a ...
  Topic: ATTINY 84 PWM thing.... I don't get it
JSEDDY

Replies: 1
Views: 264

PostForum: BASCOM-AVR   Posted: Thu Dec 17, 2015 5:52 pm   Subject: ATTINY 84 PWM thing.... I don't get it
So,

I configure my Timer....

Config Timer0 = Pwm , Prescale = 8 , Compare A Pwm = Clear Up , Compare B Pwm = Clear Down

And I output some stuff

Pwm0a = 32

Pwm0b = 32

I get a narro ...
  Topic: M164def .dat ??
JSEDDY

Replies: 3
Views: 179

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 03, 2013 6:44 pm   Subject: M164def .dat ??
Embarassed

Sorry, That's ATMEGA 164A
  Topic: M164def .dat ??
JSEDDY

Replies: 3
Views: 179

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 03, 2013 1:36 am   Subject: M164def .dat ??
Embarassed

So I have this project with an ATMEGA644. Due to financial pressure, I opted to change the micro to ATMEGA164 chips.

So then I sit down to change my code and can only find a M164P def fil ...
  Topic: PCINT and Powerdown not working on ATTINY45
JSEDDY

Replies: 14
Views: 536

PostForum: BASCOM-AVR Archive   Posted: Wed Oct 30, 2013 4:43 pm   Subject: PCINT and Powerdown not working on ATTINY45
Sleep_it_off:

Portb.1 = 0 'lights off
Portb.2 = 0 'charger off

Stop adc
disable adc
Reset Watch ...
  Topic: PCINT and Powerdown not working on ATTINY45
JSEDDY

Replies: 14
Views: 536

PostForum: BASCOM-AVR Archive   Posted: Wed Oct 30, 2013 12:21 am   Subject: PCINT and Powerdown not working on ATTINY45
I should also mention, I NEVER just hang a switch on the pin of a micro. I ALWAYS use an optocoupler.

The resistor thing seems to have made a difference. Now I can chop out some of my redundant co ...
  Topic: PCINT and Powerdown not working on ATTINY45
JSEDDY

Replies: 14
Views: 536

PostForum: BASCOM-AVR Archive   Posted: Wed Oct 30, 2013 12:01 am   Subject: PCINT and Powerdown not working on ATTINY45
I was thinking the same thing! Like a 1000 ohm pullup, noise proofing the pin.

I can confirm that the voltage is nice and high, within 10mv of the supply voltage. And I can confirm that the micro ...
  Topic: PCINT and Powerdown not working on ATTINY45
JSEDDY

Replies: 14
Views: 536

PostForum: BASCOM-AVR Archive   Posted: Tue Oct 29, 2013 12:02 am   Subject: PCINT and Powerdown not working on ATTINY45
And as it turns out.... The damn micro still wakes up for no apparent reason! So, what could be causing this? Is it not powering down properly? It comes back on after about an hour. I need it to s ...
  Topic: PCINT and Powerdown not working on ATTINY45
JSEDDY

Replies: 14
Views: 536

PostForum: BASCOM-AVR Archive   Posted: Mon Oct 28, 2013 6:28 pm   Subject: PCINT and Powerdown not working on ATTINY45
OK, I tried GIFR = Bits(PCIF)

I tried to REM out all use of the D/A convertor to see if it's operation was the cause.

And I added NO save to my ISR call.

Yet, it seems something is causing a ...
  Topic: PCINT and Powerdown not working on ATTINY45
JSEDDY

Replies: 14
Views: 536

PostForum: BASCOM-AVR Archive   Posted: Sun Oct 27, 2013 8:42 pm   Subject: PCINT and Powerdown not working on ATTINY45
With the WD fuse bit on, it behaves exactly the same except that there is no difference whether bit zero is a 1 or a zero. So, my little ATTiny 45 is behaving as though the WD is on.... here's the ki ...
  Topic: PCINT and Powerdown not working on ATTINY45
JSEDDY

Replies: 14
Views: 536

PostForum: BASCOM-AVR Archive   Posted: Sat Oct 26, 2013 1:58 am   Subject: PCINT and Powerdown not working on ATTINY45
Hi All!! I'm a little stumped. I have an Attiny 45 that doesn't stay in powerdown mode if the last bit of the PCMASk is enabled.

In a nutshell:

$regfile = "attiny45.dat"
$crystal = 8000000

...
  Topic: M88 and a simple way to destroy a chip
JSEDDY

Replies: 3
Views: 568

PostForum: BASCOM-AVR Archive   Posted: Wed Sep 16, 2009 10:15 pm   Subject: M88 and a simple way to destroy a chip
Oh, It just had to be that! Embarassed

You are quite correct Mattcro, I forgot about erasing the chip, it was off because we had programmed a hundred or so other chips on another project.

Thanks a ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT + 1 Hour
Jump to: