Drive led matrix with SPI or PWM from gpio and timer

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

Drive led matrix with SPI or PWM from gpio and timer

510 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Scorpio on Wed Dec 11 02:56:55 MST 2013
Hello, i am working with LPCxpresso 1769 board. I have two questions.

1) SSP0 or SSP1 can be used at SPI mode (continuous)? No idle time between bytes transfers?
2) Is it possible to create a PWM to use it as clock output with frequency over 1 MHZ?

Thank you.
Labels (1)
0 Kudos
4 Replies

488 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Scorpio on Thu Dec 12 14:32:47 MST 2013
Thank you for your reply!  I will check them!
0 Kudos

488 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rocketdawg on Thu Dec 12 09:41:35 MST 2013
I found an example in examples.lpc1700.zip
adc_buzzer/src/freq.c

lib code in
mcb1700.code.bundle.lpc1769.lpcepresso/PWM/src/pwm.c

I just searched all files for LPC_PWM1_BASE and found 27 references in one workspace.
0 Kudos

488 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Scorpio on Wed Dec 11 12:17:14 MST 2013
Rocketdawg,

Thank you for your reply. Especially for the SSP i have looked the user manual a lot of times and yes i can see at diagrams the "continuous" mode for the SSP but i cant find at which register is that option to set it. If you can propose me an reference or example, i would be grateful. I work with this microprocessor and the Lpcopen library 1.03 for two months only, so excuse me if my questions seem "silly" for the most expert users.
0 Kudos

488 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rocketdawg on Wed Dec 11 10:04:44 MST 2013
And if I said "sure", would you trust me?
The information you seek is in the data sheet and reference documents.
0 Kudos