EvilGenius
Member
Hello Everyone:
I need ideas and possible help in PWM a shift register array. I will be using SPI data format and the data engine is produced by PIC16F628A. I am planning to use 3 pins of PORT A for my clock, data, and latch. (I have other near future plans for PORT B)
I have designed and built a 16 channel common anode RGB (48 bit) shift register array using TPIC6B595N. The system is buffered input and output with a pair of SN74HC245 (Buffers).
I am familiar with how to build a data engine in the micro, roll the data and communicate with the shift register array via SPI. I will be using a data table that can be modified and read during the program and passed on to the data engine.
The area I need help with is how to operate the data transfer in a PWM format for smooth transitions and color introduction. What is the best way to go about this? Are there short-cuts in using OE (Output enable) of the register to do the PWM across all the channels? Or does the PWM has to happen in bundles of data transfered?
Any help, guide, directions, pointing to previous posts/Treads, or pointing to a project that already utilizes PWM on registers will be very much appreciated. I have done several searches on the forum and could not find anything that would relate directly to what I am doing. Thank you in advance for your help, input, feedbacks, and suggestions
Regards,
Mike
I need ideas and possible help in PWM a shift register array. I will be using SPI data format and the data engine is produced by PIC16F628A. I am planning to use 3 pins of PORT A for my clock, data, and latch. (I have other near future plans for PORT B)
I have designed and built a 16 channel common anode RGB (48 bit) shift register array using TPIC6B595N. The system is buffered input and output with a pair of SN74HC245 (Buffers).
I am familiar with how to build a data engine in the micro, roll the data and communicate with the shift register array via SPI. I will be using a data table that can be modified and read during the program and passed on to the data engine.
The area I need help with is how to operate the data transfer in a PWM format for smooth transitions and color introduction. What is the best way to go about this? Are there short-cuts in using OE (Output enable) of the register to do the PWM across all the channels? Or does the PWM has to happen in bundles of data transfered?
Any help, guide, directions, pointing to previous posts/Treads, or pointing to a project that already utilizes PWM on registers will be very much appreciated. I have done several searches on the forum and could not find anything that would relate directly to what I am doing. Thank you in advance for your help, input, feedbacks, and suggestions
Regards,
Mike