Helpful ReplyHot!what would you do with a dual core dspic?

Page: < 12345.. > >> Showing page 5 of 19
Author
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/21 08:12:42 (permalink)
0
I use BSW all the time.
Example:
.include "LCD7920Lib.inc"
.global _lcd7920_chipselect
.section lcd7920code,code
;----------------------------------------------------
.equ arg_Enable,    w0
.equ cslatch,       w1
.equ cspin,         w2
;rtn error,         w0

_lcd7920_chipselect:    ;int lcd7920_chipselect(int Enable);
    ;check if open
    btss    LCD7920_GlobalFlag,#LCD7920GLOBALFLAG_OPEN
    retlw   #LCD7920ERROR_NOTOPEN,w0
    ;~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ;chip select enable or disable if CS available
    btss    LCD7920_GlobalFlag,#LCD7920GLOBALFLAG_CS
    bra     $+10
    mov     LCD7920_CSLAT,cslatch
    mov     LCD7920_CSPIN,cspin
    btst    arg_Enable,#0
    bsw        [cslatch],cspin
    retlw   #LCD7920ERROR_OK,w0
;----------------------------------------------------
.end

The bit field instructions are useful for graphics and masking.

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#81
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/21 08:20:34 (permalink)
0
The datasheet was posted in post #53
(Thanks to timijk)
post edited by Gort2015 - 2018/06/21 08:24:43

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#82
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/21 09:06:04 (permalink)
3 (1)
You Guys seem to be good at finding links. Any links for:
16-Bit MCU and DSC Programmer’s Reference Manual” (DS70000157).
 
If you search on google, the ones that appear are for the old fj/ep devices.

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#83
Antipodean
Super Member
  • Total Posts : 1700
  • Reward points : 0
  • Joined: 2008/12/09 10:19:08
  • Location: Didcot, United Kingdom
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/21 09:25:40 (permalink)
0
Isaac_Sewell
@JPortici: the Farnell order number is 2899559.  They don't appear on google, but if you search on the supplier they are there.  The uk price was £8.868, and I believe the European price is eur. 8.868.  In some ways, I feel ripped off.  In other ways, I have a new toy and anyway my company bought them.  I ordered 10.  Must try not to stroke them when I finally get hold of them!
The errata don't look too bad either.  Nothing wrong with the A/D which is a massive leap over the "GS" chips.


Interesting that Farnell is listing them, and they are 'Supplier Ship Direct', but go on the Microchip Direct site and they are not listed at all.
 
The errata appear to have a number of items I wouldn't expect to be there, considering many of these peripherals have been used for many years and should be well understood. Especially some of the UART items which I would have thought are pretty basic things. I can appreciate there are new features in there but I wouldn't have thought adding those to existing peripherals would create those errors.
 
Interesting chip nevertheless. I have a potential use for them.
 

Do not use my alias in your message body when replying, your message will disappear ...

Alan
#84
du00000001
Just Some Member
  • Total Posts : 2546
  • Reward points : 0
  • Joined: 2016/05/03 13:52:42
  • Location: Germany
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/21 09:50:55 (permalink)
3 (1)
http://ww1.microchip.com/downloads/en/DeviceDoc/70157F.pdf
(Whether it's 70157 or 70000157 is somewhat difficult as these numbers are not given consistently. And the revision letter is your guess.)
 
But honestly - the following way is much easier: go to any dsPIC33/PIC24 product page, scroll down to the documentation | Programming Specifications section and open the link associated with the entry "16-bit MCU and DSC Programmer's Reference Manual". 

PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
#85
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/21 10:41:26 (permalink)
0
That is the old one plus I cannot find the dual core datasheet on the Microchip website.
I got the datasheet through the link that timijk posted.

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#86
NorvisLM
Super Member
  • Total Posts : 79
  • Reward points : 0
  • Joined: 2015/10/06 07:32:11
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/21 19:00:31 (permalink)
3 (1)
dspic33CH parts are listed on the Microchip Direct site, but only for the purpose of requesting a Lead Time Report E-mail.
 
Current delivery is shown as 13-20 December 2018, depending on the package selected.
 
#87
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 03:16:02 (permalink)
3 (1)
The 80pin (508)  In Stock (Processes Immediately): 1,570
 
3.80
 
5000 @ 2.76

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#88
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 04:42:37 (permalink)
3 (1)
Just ordered these:
https://www.ebay.com/itm/252818521461
Ideal for bread-boarding.

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#89
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 05:03:19 (permalink)
4 (1)
Ordered 2 x dspic33ch128mp508
+ pickit 4
 
When I got to the checkout 25% off was applied to dev. tools.  (pickit 4)
Works out a lot cheaper than Farnell, RS Online and Mouser etc.
 
Should be here in a couple of days.
I never knew that it was cheaper buying from Microchip.
 

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#90
du00000001
Just Some Member
  • Total Posts : 2546
  • Reward points : 0
  • Joined: 2016/05/03 13:52:42
  • Location: Germany
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 05:11:52 (permalink)
3 (1)
   I never knew that it was cheaper buying from Microchip.   

It somewhat depends on the number of devices you need: quantity scale may differ between microchipdirect and the distributors, so certain quantities might be cheaper via distribution. But in many cases microchipdirect is the cheapest (and reliable) source to buy from. Plus: dispatch is really fast and they have all their devices available (if available at all).

PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
#91
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 05:26:08 (permalink)
4 (1)
I have a feeling I won't be able to program it until mplab x has been updated.
 
Interesting that the 2nd core can be programmed for testing and debug.
This makes sence since the 2nd core program resides in volatile ram, that means it can be programmed unlimited times.
 
Reguarding the 25% off for University students, University is actually my street name so I think it must have picked that up by that street name.
 
A few things I would have liked, 256KB or 512KB program memory, true random number generator and possibly usb.
 
I suppose they will increase memory on later models.  Next step maybe quad core.

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#92
Isaac_Sewell
Senior Member
  • Total Posts : 160
  • Reward points : 0
  • Joined: 2003/11/25 06:26:50
  • Location: Sheffield, England
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 05:43:18 (permalink)
0
I still can’t find them on microchip direct. How did you find them@ Gort2015?
#93
Antipodean
Super Member
  • Total Posts : 1700
  • Reward points : 0
  • Joined: 2008/12/09 10:19:08
  • Location: Didcot, United Kingdom
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 05:46:20 (permalink)
4 (1)
Isaac_Sewell
I still can’t find them on microchip direct. How did you find them@ Gort2015?



It looks like they only appear if you are in the USA, the rest of us have to buy through Farnell ...
 
I can't find them either, even with a UK based .ac email address.
 
Still looking at the errata I think I would like to wait a revision or two of the silicon before leaping in.
 

Do not use my alias in your message body when replying, your message will disappear ...

Alan
#94
Antipodean
Super Member
  • Total Posts : 1700
  • Reward points : 0
  • Joined: 2008/12/09 10:19:08
  • Location: Didcot, United Kingdom
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 05:47:57 (permalink)
0
Has anyone looked to see if the curiosity board is available on Microchip direct? I see there is a users manual on the page for it.
 
 

Do not use my alias in your message body when replying, your message will disappear ...

Alan
#95
du00000001
Just Some Member
  • Total Posts : 2546
  • Reward points : 0
  • Joined: 2016/05/03 13:52:42
  • Location: Germany
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 05:48:53 (permalink)
0
I don't think we will see quad core on dsPIC any time soon - if ever.
This dual-core master/slave approach for motor controllers has been introduced by TI on their TMS320C2xxxx series some years ago, allowing to assign one core to the 20-50 kHz motor control loop exclusively - resulting in less control loop jitter. So the CH architecture doesn't come as a surprise.

PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
#96
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 05:55:35 (permalink)

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#97
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 05:57:41 (permalink)

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#98
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 05:59:17 (permalink)
0
Just got an email, looks like they are due for dispatch.
 

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#99
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: what would you do with a dual core dspic? 2018/06/22 06:00:21 (permalink)
3 (1)
Using Paypal and a credit card, I don't have to pay for another 7 weeks.
 

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
Page: < 12345.. > >> Showing page 5 of 19
Jump to:
© 2019 APG vNext Commercial Version 4.5