PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
I know that the PSoc5 is a USB device which is why I'm looking to use the MAX3421E as the USB host via a SPI interface.
My question is whether anyone else has done this and can point me to some of the necessary driver code to control the MAX3421.
Ideally I want to use HID and Isochronous transfers (it is to drive headphones that may or may not have volume control buttons etc.) but I'd rather not start from scratch.
I have seen code for Arduinos and soem linux implementaitons that cna be used with the MAX3421 but I was wondering if anyin e had ported these or other code the the PSoc5 and could give me a few pointers or a head start?
Thanks
Susan
Show LessI was able to get a 12 bit dac working with the PSOC. Painful, but here is how it worked:
I connected up to a 12 bit dac from the PSoC using the SPI Master unit.
The 12 bit dac requires the Load signal to go low and then high when the data should be loaded. You can only send 12 bits at a time to the DAC, 16 bits does not work.
I was able to accomplish this by connecting tx_interrupt through a NOT gate to a pin. I then set the "Interrupt on Byte/Word transfer Complete" checkbox.
I then set the bits to send to 12 bits.
With this, you do a write to the transmit registe to get things primed.
uint16 *sp=sineBuffer;
SPI_Master_WriteTxData(sp[index++]);
Then, in a forever loop, using a sine wave buffer for a test, (the buffer is placed in pointer sp):
for(;;)
{
/* Place your application code here. */
if (SPI_Master_ReadTxStatus() & SPI_Master_STS_SPI_DONE) {
SPI_Master_WriteTxData(sp[index++]);
if (index >7 ) {
index=0;
sp=sineBuffer;
}
}
}
Now the interesting part. DMA does not appear to work with a 12 bit SPI, unless I'm missing something. I suppose you could write two 8 bit bytes at incrementing addresses, but the DMA unit does not appear to want to do this unless it is always incrementing, and we only want to write to the transmit register.
Show LessHi,
I want to change the duty cycle of manchester encoded data(8 bits using SPIM). I am giving this data to clock the PWM component. But not getting the correct output.
Please share some ideas to acheive this.
Thanks
Show Lessif i search that on google "Configurable Mixed-Signal Array with On-board Controller CY8C25122, CY8C26233, CY8C26443, CY8C26643 Device Data Sheet for Silicon Revision " google providing pdf exact i want ..
in same manner i need pdf discription of CY8C28243 Device data sheet which i am not able to find out ..
Show LessHi all,
I am looking to sample 8 inputs, filter and ADC to the PSoC5 LP. I am interested to have access to them internally not output any values to the DAC ( as the project example shows). My filter needs to ve a very low frequency low pass ( something in the region of 10Hz or lower)
I have not managed to read the data internally ( ideally and display to LCD) yet so any help is greatly appreciated.
Thanks!
Show LessHi i have to make band pass filter, zero cross detector and other analog circuits on a single psoc chip for Medium Attachment Unit. Please let me know the number of operational amplifiers available on a single psoc chip whether it is a psoc-1,3 or 5
Thank you.
Show LessI want to know a scale range of EMG signal & how about a gain that i'll programm into the instrumentation amplifier
regards, thanks for your answer
Show Less hi all,
i am relatively new to Psoc development pardon my ignorance.
i am currently working on integrating accelerometer with the development kit.
i found an article on
http://www.cypress.com/?docID=19786
after consulting an expert, he noted to me that the application note i had referred is for connecting an Accelerometer to PSoC1 devices which have SAR and ADCINC incremental ADCs. PSoC3 does not have a SAR8 user module. Instead i can use the ideas proposed in the application note but substitute the ADC with the Deltasigma ADC from PSoC.
my doubts was the figure 3 of the block diagram of accelerometer with PSoC. the control software block does it co response to PSoC3's control register? same goes to the I2C block can it be replace by the component using the PSoC creator IDE?
as there is not a direct info on how i can edit the value of the blocks, i hope to get some kind expertise's advice on how about i can cont to work on this article.
any help will be greatly appreciated.