PSoC™ 5, 3 & 1 Forum Discussions
I modified the ADC Filter VDAC example to have an additional DMA for transferring data from filter to VDAC. The project is attached. I compiled it and downloaded to PSoC3 030 board. The DMA for ADC to Filter input is operating, but DMA for Filter to VDAC.
Show LessI'm searching RF Chip/MCU for RF remote controller with below requirements.
1. Application: car audio with max 10keys + keyless entry as option
2. Requirements:
a. Operating voltage : 3.0V typ (use CR2025 battery)
b. Must withstand high temperature (90deg C for storage and 80deg C for operation).
c. Transmission distance minimum 10 meters, use 2.4GHz frequency band.
d. Because of small PCB space, need small footprint, less surround components,
prefer one chip/system-on-chip. (separated RF chip and MCU will required extra space.
e. Low cost... (very strict pricing)
Any recommendations?
It will be very helpful if you can provide reference circuit etc...
Thanks, Show Less
hi to all,
i have installed both psoc creator 1.0 and creator 2.0 in my pc which is working with windows 7. But, when i tried to program my code with creator 1.0, it is programming successfully...but the same when i trying with creator 2.o i couldnt program my code to first touch starter (CY8cKIT-003) kit....
basically, when i tried to make my LED connected to P2[0] of first touch kit to glow....i am unable to use creator 1, because of not having pins in its component list....but by using creator 2.0 i am able to write the program to glow led connected to p2[0] of first touch kit due to presence of pins in the component list of creator 2.0, but eventhough it builds successfully, when i tried to program it, it is asking to select the target device...when i select the target device and click "ok" then it is showing "ready" message at the down left corner of window.....which is confusing whether it programmed or not....if i convinced myself it as programmed....my LED is not blinking as per my code.......any way iam not getting that "program successfuly completed" message.
Show Lesswe can control a fan using a microcontroller so why we use a psoc to control the fan.because microcontroller is very cheap than psoc kit. why we waste the money when we can control using a simple and cheap microcontroller.
Show LessDMA is used in direct memory access to input -output peripherals.but i want to know that, where it can use in real life applications and what is its importance? if we do not use it what will happen
Show LessDMA is used in direct memory access to input -output peripherals.but i want to know that, where it can use in real life applications and what is its importance? if we do not use it what will happen.
Show LessWhen there are multiple DMAs and multiple TDs asigned for each channel it is better to have the DMA configurations as BYTES_PER_BURST as 1 and Request per Burst 0. The reason why this configuration is good is - I came across a case where in DMA configuration was Bytes_PER_BURST was set as total bytes to be transferred and Request_Per_Burst as 1.
The above configuration should work perfectly but due to some unknown reasons the DMAs are getting halted. I think SriHari started conversation on DMAs getting halted.
So when you are using multiple DMAs with many no. of TDs for each channel please try configuring as mentioned in 2nd line and AUTO_EXECUTE_NEXT_TD to the TDs which make up the complete data transfer.
Show LessI wanted to measure the time taken for 32 bit addition and multiplication.....I chose the method of Pin toggling in for loop......
Something interesting happened ...
When I measured the time interval between the setting of pin and resetting the pin and multiply with the BUS clock the no. of cycles taken was coming up only to be 3. I was baffled irrespective of adition or multiplication the no. of CPU cycles was 3.
Then I went to main.lst file and looked at what was the issue. The assembly instructions after the operation in c code was somewhere missing, and seemed like the pin was reset before even the operation was done.
The compiler is crazy!!!!! Isnt it.........The reason why it happened was the optimisation level was set to speed and compiler did all it can.....
So while measuring with toggling of pins please keep the compiler optimisation for "none".
And one more interesting thing while trying to calculate the time taken for multiplication, please do not run the same operands in the for loop....compiler is intelligent...Try incrementing the operands before doing this..
SMART COMPILER
Show LessWhat is the best method to measure time for an operation......I tried using a pin and toggling it within a for loop continuosly......But even time is taken for setting the pin and resetting it.....Any other ideas......
Show LessI got a doubt in DMA configuration, when the Burst Count is set to 1 and request per burst set to 0 what will the DMA do......
I think DMA works as per the TD configuration, if 2 TDs are present one transferring 4 and other also 4 then DMA will transfer all 8 bytes per 1 request....But the request per burst is set 0!!!!......Is DMA wrong ...or is the configuration invalid
Show Less