Dedicated ICs for PWM

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi.  This question is possibly off topic for this AVRFreaks section.

 

I am getting exposure to a L9300 IC.  This is from www.st.com.

A small extract from the datasheet is;

--------

Description; The device is an integrated circuit designed for automotive environment and implemented in BCD8s_auto technology.

The device configurability involves both the supplies block and the valve drivers stage and particularly address transmission applications.

---------

 

The part in the chip I am most interested in is the capacity for it to drive 6 PWMs while it is connected to either SPI or CAN.  This communication provides the commands.  So a request comes to the IC (via SPI or CAN) and the correct PWM current is delivered (to a valve/whatever).

 

The IC itself has too many pins (with all the other functions it provides).  And is difficult to obtain.

I am trusting that this forum has the people who most likely can suggest an alternative.

So, firstly can any one suggest alternative units that are suitable for connection to Arduino type microcomputers ?

(Does the hobby market have any suggestions ?)

or

Possibly a design using an Arduino itself ?

 

Regards JC......

 

Last Edited: Mon. Jul 27, 2020 - 02:47 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What do you want the PWM for ?

 

A quick google for "pwm driver" gives oodles of hits - giving it some more relevant keywords should help you ...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The common device in the Arduino world is the PCA9685. It was designed for controlling LED stage lighting but it's generally used for servos. It's 16 channel, I2C bus with 6 bits of addressing, so you can have 64 on the bus for max 1024 channels. PWM resolution is 12 bits. Clearly it would need external drivers for anything above 5V at a few mA. 

 

https://www.nxp.com/products/pow...

 

I believe there is also an 8-channel version.

 

Last Edited: Mon. Jul 27, 2020 - 03:26 PM