Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

C51: Interrupt related crashes. (3 Replies)

$
0
0
Dear all, We are programming a 8051 core in C and we are experiencing crashes which are related to interrupts. The machine in question uses 2 DACs to control servo motors. These motors rotate 2 C-shaped hands which needs to be homed. This homing (moving to default position) is done by 4 interrupts, 2 for each hand. Each hand has a sensor to detect the opening. First we let the hands turn and we use a software counter to let them speed up, once at speed I enable 2 external i

Viewing all articles
Browse latest Browse all 3049

Trending Articles