Which NXP mikrocontroller?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Which NXP mikrocontroller?

1,366 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by inspire on Sat Sep 13 12:58:31 MST 2014
Hi,

the NXP website offers much information about NXP's mikrocontroller families. Although I am a little insecure about the selection of the right mikrocontroller. The tasks for the processor are:

-500 or 1000 kbps CAN
-CAN data logging to SD card
-CAN data transmission with a wifi module (SPI/USB)
-I2C bus for acceleration sensor
-UART for XBEE module
-1 or two more digital sensors

All these actions will be performed simultaneously. How demanding are these actions? Is a LPC1769 able to do the job or should I better chose something bigger like the LPC4300 family?

Thanks in advance,
inspire
0 Kudos
Reply
7 Replies

1,351 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Mon Sep 29 03:40:39 MST 2014
I recently discovered the 15xx series (thanks to LabRat), what a great chip, I think I'm in love :)


Quote:
Below link shows a cookbook which contains SCTimer/PWM examples for LPC1500.


Any more cookbook-style documents for the chip. So far most searches I do return stuff for the 800 series.
0 Kudos
Reply

1,351 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by inspire on Sun Sep 28 06:36:18 MST 2014
Alright, thanks for the hints!!
0 Kudos
Reply

1,351 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rocketdawg on Fri Sep 19 09:24:16 MST 2014

Quote: inspire
Hi,
-500 or 1000 kbps CAN
-CAN data logging to SD card
-CAN data transmission with a wifi module (SPI/USB)
-I2C bus for acceleration sensor
-UART for XBEE module
-1 or two more digital sensors
inspire



I would say something larger like the 1800 or 4300.
the concern is the number of SPI peripherals. )one or more digital sensors can share an SPI, I assume)
the requirement is "all working simultaneous"
you probably want the faster 4 wire SD peripheral for SD card I/O.
you also get USB High Speed, which might be necessary if your CAN throughput is significant.
you may have to run most of these peripheral with DMA to keep their pipes from overflowing.


0 Kudos
Reply

1,351 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Tue Sep 16 16:29:07 MST 2014
Hi Inspire,
Below link shows a cookbook which contains SCTimer/PWM examples for LPC1500.

http://www.lpcware.com/system/files/LPC1500%20SCTimer%20Cookbook%20V01.zip


I hope it will be helpful to better understand SCTimer/PWM block.
0 Kudos
Reply

1,351 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Tue Sep 16 14:57:29 MST 2014
SCT is more flexible than good old timers in LPC17xx, unfortunately it is more complicated also  :~

Example: SCT0

Chapter '9.6.1 SCT0 Input mux registers 0 to 6' is describing which inputs can trigger SCT0.

PIO0_2. (external pin)
PIO0_3. (external pin)
PIO0_17. (external pin)
PIO0_30. (external pin)
PIO1_6. (external pin)
PIO1_7. (external pin)
PIO1_12. (external pin)
PIO1_13. (external pin)

That's what a LPC17xx user would call capture inputs  :)
0 Kudos
Reply

1,351 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by inspire on Tue Sep 16 14:36:58 MST 2014
Alright, thanks! Although, I have one more question: The LPC1769 has pins which can be selected as timer X capture input. The LPC1549 only has pins that can have a function like "SCT3_OUT4 - SCTimer3/PWM output 4" with the type "output". Can I use this pin like I use the capture input from the LPC1769? I want to generate an interrupt with a rising/falling edge and read the timer value. You don't have to tell me how it works (if it does) - all I want to know is if it works. The software later is not my business ;) Thanks again!
0 Kudos
Reply

1,351 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Sat Sep 13 13:44:03 MST 2014

Quote: inspire
Is a LPC1769 able to do the job or should I better chose something bigger like the LPC4300 family?



That's not too difficult, a simple M3 (LPC1549 or LPC1769) should do the job...
0 Kudos
Reply