View Single Post
  #12   Spotlight this post!  
Unread 23-06-2015, 01:10
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,224
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: Talons without libraries?

Quote:
Originally Posted by AustinSchuh View Post
Really? That's a pretty fancy chip.

On the Cortex-M3, it takes 3 cycles to access the AHB bus on the fast GPIO, and on older generation chips, slow GPIO would take north of 10 cycles (if I remember right).

Peripheral accesses tend to be pretty slow, even on embedded chips. CAN receiving code that I have used on a i7 over PCI takes a very long time. The CPU busy waits while that is happening. The result is that it takes about 1 core to read CAN messages (!).
It's not a Cortex chip, interestingly enough, and it has a fast pin read/write speed compared to an ARM. I'm not sure what architecture it uses, if not its own proprietary architecture.
The chips are super cheap, around $5 for the cheaper ones and $15 for the super fancy ones. The Startkit is $15, but has everything on an Arduino-size board and headers for pins, plus an (inconvenient but usable) USB interface.
__________________
<Now accepting CAD requests and commissions>